aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/object-storage/keys.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-08-17 10:33:36 +0200
committerChocobozzz <me@florianbigard.com>2021-08-17 10:33:36 +0200
commit66a7fc947321b923fa1e7182202e03d0e21ffb3e (patch)
tree5cb913531d3b84d0f2d4bbcc0d34f0a9a6435bc5 /server/lib/object-storage/keys.ts
parent0305db28c98fd6cf43a3c50ba92c76215e99d512 (diff)
downloadPeerTube-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.ts2
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
8function generateHLSObjectBaseStorageKey (playlist: MStreamingPlaylist, video: MVideoUUID) { 8function generateHLSObjectBaseStorageKey (playlist: MStreamingPlaylist, video: MVideoUUID) {
9 return playlist.getStringType() + '_' + video.uuid 9 return join(playlist.getStringType(), video.uuid)
10} 10}
11 11
12function generateWebTorrentObjectStorageKey (filename: string) { 12function generateWebTorrentObjectStorageKey (filename: string) {