From d988e9a2f83dd2f85d1afa0b98614b29a66dddf4 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 29 Oct 2020 15:03:31 +0100 Subject: Fix live infohash block --- server/controllers/tracker.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/controllers/tracker.ts') diff --git a/server/controllers/tracker.ts b/server/controllers/tracker.ts index c962fada5..d09b19cae 100644 --- a/server/controllers/tracker.ts +++ b/server/controllers/tracker.ts @@ -51,7 +51,7 @@ const trackerServer = new TrackerServer({ const videoFileExists = await VideoFileModel.doesInfohashExistCached(infoHash) if (videoFileExists === true) return cb() - const playlistExists = await VideoStreamingPlaylistModel.doesInfohashExist(infoHash) + const playlistExists = await VideoStreamingPlaylistModel.doesInfohashExistCached(infoHash) if (playlistExists === true) return cb() cb(new Error(`Unknown infoHash ${infoHash} requested by ip ${ip}`)) -- cgit v1.2.3