diff options
Diffstat (limited to 'server/lib/schedulers')
-rw-r--r-- | server/lib/schedulers/videos-redundancy-scheduler.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/server/lib/schedulers/videos-redundancy-scheduler.ts b/server/lib/schedulers/videos-redundancy-scheduler.ts index de8fc075b..d9018e606 100644 --- a/server/lib/schedulers/videos-redundancy-scheduler.ts +++ b/server/lib/schedulers/videos-redundancy-scheduler.ts | |||
@@ -32,7 +32,9 @@ type CandidateToDuplicate = { | |||
32 | streamingPlaylists: MStreamingPlaylist[] | 32 | streamingPlaylists: MStreamingPlaylist[] |
33 | } | 33 | } |
34 | 34 | ||
35 | function isMVideoRedundancyFileVideo (o: MVideoRedundancyVideo): o is MVideoRedundancyFileVideo { | 35 | function isMVideoRedundancyFileVideo ( |
36 | o: MVideoRedundancyFileVideo | MVideoRedundancyStreamingPlaylistVideo | ||
37 | ): o is MVideoRedundancyFileVideo { | ||
36 | return !!(o as MVideoRedundancyFileVideo).VideoFile | 38 | return !!(o as MVideoRedundancyFileVideo).VideoFile |
37 | } | 39 | } |
38 | 40 | ||