diff options
author | Chocobozzz <me@florianbigard.com> | 2019-03-05 12:00:31 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2019-03-18 11:17:59 +0100 |
commit | 9c6ca37fc1512a99d420ea90707cebcd06cdc970 (patch) | |
tree | 2ef8e4c9bc30e911923a5b5c83f18e983553929d /server/models/video/video.ts | |
parent | 09979f8959425390b879bce22101a9bc061ae9a0 (diff) | |
download | PeerTube-9c6ca37fc1512a99d420ea90707cebcd06cdc970.tar.gz PeerTube-9c6ca37fc1512a99d420ea90707cebcd06cdc970.tar.zst PeerTube-9c6ca37fc1512a99d420ea90707cebcd06cdc970.zip |
Rename streaming playlists routes/directories
Diffstat (limited to 'server/models/video/video.ts')
-rw-r--r-- | server/models/video/video.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/models/video/video.ts b/server/models/video/video.ts index a563f78ef..06c63e87c 100644 --- a/server/models/video/video.ts +++ b/server/models/video/video.ts | |||
@@ -53,7 +53,7 @@ import { | |||
53 | API_VERSION, | 53 | API_VERSION, |
54 | CONFIG, | 54 | CONFIG, |
55 | CONSTRAINTS_FIELDS, | 55 | CONSTRAINTS_FIELDS, |
56 | HLS_PLAYLIST_DIRECTORY, | 56 | HLS_STREAMING_PLAYLIST_DIRECTORY, |
57 | HLS_REDUNDANCY_DIRECTORY, | 57 | HLS_REDUNDANCY_DIRECTORY, |
58 | PREVIEWS_SIZE, | 58 | PREVIEWS_SIZE, |
59 | REMOTE_SCHEME, | 59 | REMOTE_SCHEME, |
@@ -1751,7 +1751,7 @@ export class VideoModel extends Model<VideoModel> { | |||
1751 | } | 1751 | } |
1752 | 1752 | ||
1753 | removeStreamingPlaylist (isRedundancy = false) { | 1753 | removeStreamingPlaylist (isRedundancy = false) { |
1754 | const baseDir = isRedundancy ? HLS_REDUNDANCY_DIRECTORY : HLS_PLAYLIST_DIRECTORY | 1754 | const baseDir = isRedundancy ? HLS_REDUNDANCY_DIRECTORY : HLS_STREAMING_PLAYLIST_DIRECTORY |
1755 | 1755 | ||
1756 | const filePath = join(baseDir, this.uuid) | 1756 | const filePath = join(baseDir, this.uuid) |
1757 | return remove(filePath) | 1757 | return remove(filePath) |