diff options
Diffstat (limited to 'server/models/redundancy/video-redundancy.ts')
-rw-r--r-- | server/models/redundancy/video-redundancy.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/models/redundancy/video-redundancy.ts b/server/models/redundancy/video-redundancy.ts index 77f83d8aa..8c9a7eabf 100644 --- a/server/models/redundancy/video-redundancy.ts +++ b/server/models/redundancy/video-redundancy.ts | |||
@@ -160,7 +160,7 @@ export class VideoRedundancyModel extends Model<VideoRedundancyModel> { | |||
160 | const videoUUID = videoStreamingPlaylist.Video.uuid | 160 | const videoUUID = videoStreamingPlaylist.Video.uuid |
161 | logger.info('Removing duplicated video streaming playlist %s.', videoUUID) | 161 | logger.info('Removing duplicated video streaming playlist %s.', videoUUID) |
162 | 162 | ||
163 | videoStreamingPlaylist.Video.removeStreamingPlaylist(true) | 163 | videoStreamingPlaylist.Video.removeStreamingPlaylistFiles(videoStreamingPlaylist, true) |
164 | .catch(err => logger.error('Cannot delete video streaming playlist files of %s.', videoUUID, { err })) | 164 | .catch(err => logger.error('Cannot delete video streaming playlist files of %s.', videoUUID, { err })) |
165 | } | 165 | } |
166 | 166 | ||