]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/lib/video-paths.ts
Refactor auth flow
[github/Chocobozzz/PeerTube.git] / server / lib / video-paths.ts
index 0385e89cce650b3ef2ee4d10ccc3ef28c7ea918a..1708c479a98d58b654a937098456abb857be3640 100644 (file)
@@ -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