1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 10:49:28 +02:00

Remove optimize old videos script

It is not compatible with HLS and I don't have time to maintain it
This commit is contained in:
Chocobozzz 2021-08-17 10:33:36 +02:00
parent 0305db28c9
commit 66a7fc9473
No known key found for this signature in database
GPG key ID: 583A612D890159BE
7 changed files with 1 additions and 210 deletions

View file

@ -6,7 +6,7 @@ function generateHLSObjectStorageKey (playlist: MStreamingPlaylist, video: MVide
}
function generateHLSObjectBaseStorageKey (playlist: MStreamingPlaylist, video: MVideoUUID) {
return playlist.getStringType() + '_' + video.uuid
return join(playlist.getStringType(), video.uuid)
}
function generateWebTorrentObjectStorageKey (filename: string) {