X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Flib%2Fvideo-paths.ts;h=1708c479a98d58b654a937098456abb857be3640;hb=4bc45da342597fb49593fc14c40f8dc5a97bb64e;hp=0385e89cce650b3ef2ee4d10ccc3ef28c7ea918a;hpb=90a8bd305de4153ec21137a73ff482dcc2e3e19b;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/lib/video-paths.ts b/server/lib/video-paths.ts index 0385e89cc..1708c479a 100644 --- a/server/lib/video-paths.ts +++ b/server/lib/video-paths.ts @@ -9,7 +9,7 @@ import { isStreamingPlaylist, MStreamingPlaylist, MStreamingPlaylistVideo, MVide function generateVideoFilename (videoOrPlaylist: MVideo | MStreamingPlaylistVideo, isHls: boolean, resolution: number, extname: string) { const video = extractVideo(videoOrPlaylist) - // FIXME: use a generated uuid instead, that will break compatibility with PeerTube < 3.2 + // FIXME: use a generated uuid instead, that will break compatibility with PeerTube < 3.1 // const uuid = uuidv4() const uuid = video.uuid @@ -69,7 +69,7 @@ function generateTorrentFileName (videoOrPlaylist: MVideo | MStreamingPlaylistVi const video = extractVideo(videoOrPlaylist) const extension = '.torrent' - // FIXME: use a generated uuid instead, that will break compatibility with PeerTube < 3.2 + // FIXME: use a generated uuid instead, that will break compatibility with PeerTube < 3.1 // const uuid = uuidv4() const uuid = video.uuid