diff options
author | Chocobozzz <me@florianbigard.com> | 2021-08-17 10:33:36 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-08-17 10:33:36 +0200 |
commit | 66a7fc947321b923fa1e7182202e03d0e21ffb3e (patch) | |
tree | 5cb913531d3b84d0f2d4bbcc0d34f0a9a6435bc5 /server/lib/object-storage/keys.ts | |
parent | 0305db28c98fd6cf43a3c50ba92c76215e99d512 (diff) | |
download | PeerTube-66a7fc947321b923fa1e7182202e03d0e21ffb3e.tar.gz PeerTube-66a7fc947321b923fa1e7182202e03d0e21ffb3e.tar.zst PeerTube-66a7fc947321b923fa1e7182202e03d0e21ffb3e.zip |
Remove optimize old videos script
It is not compatible with HLS and I don't have time to maintain it
Diffstat (limited to 'server/lib/object-storage/keys.ts')
-rw-r--r-- | server/lib/object-storage/keys.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/object-storage/keys.ts b/server/lib/object-storage/keys.ts index 519474775..12acb3aec 100644 --- a/server/lib/object-storage/keys.ts +++ b/server/lib/object-storage/keys.ts | |||
@@ -6,7 +6,7 @@ function generateHLSObjectStorageKey (playlist: MStreamingPlaylist, video: MVide | |||
6 | } | 6 | } |
7 | 7 | ||
8 | function generateHLSObjectBaseStorageKey (playlist: MStreamingPlaylist, video: MVideoUUID) { | 8 | function generateHLSObjectBaseStorageKey (playlist: MStreamingPlaylist, video: MVideoUUID) { |
9 | return playlist.getStringType() + '_' + video.uuid | 9 | return join(playlist.getStringType(), video.uuid) |
10 | } | 10 | } |
11 | 11 | ||
12 | function generateWebTorrentObjectStorageKey (filename: string) { | 12 | function generateWebTorrentObjectStorageKey (filename: string) { |