1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-04 02:09:37 +02:00

Rename "videos" config to "web-videos"

This commit is contained in:
Chocobozzz 2023-07-11 11:23:51 +02:00
parent 76824f522a
commit d732ec7b46
No known key found for this signature in database
GPG key ID: 583A612D890159BE
32 changed files with 69 additions and 68 deletions

View file

@ -42,7 +42,7 @@ export class ObjectStorageCommand {
bucket_name: this.getMockStreamingPlaylistsBucketName()
},
videos: {
web_videos: {
bucket_name: this.getMockWebVideosBucketName()
}
}
@ -136,9 +136,9 @@ export class ObjectStorageCommand {
prefix: `test:server-${serverNumber}-streaming-playlists:`
},
videos: {
web_videos: {
bucket_name: this.DEFAULT_SCALEWAY_BUCKET,
prefix: `test:server-${serverNumber}-videos:`
prefix: `test:server-${serverNumber}-web-videos:`
}
}
}

View file

@ -370,7 +370,7 @@ export class PeerTubeServer {
tmp_persistent: this.getDirectoryPath('tmp-persistent') + '/',
bin: this.getDirectoryPath('bin') + '/',
avatars: this.getDirectoryPath('avatars') + '/',
videos: this.getDirectoryPath('videos') + '/',
web_videos: this.getDirectoryPath('web-videos') + '/',
streaming_playlists: this.getDirectoryPath('streaming-playlists') + '/',
redundancy: this.getDirectoryPath('redundancy') + '/',
logs: this.getDirectoryPath('logs') + '/',

View file

@ -78,7 +78,7 @@ export class ServersCommand extends AbstractCommand {
}
buildWebVideoFilePath (fileUrl: string) {
return this.buildDirectory(join('videos', basename(fileUrl)))
return this.buildDirectory(join('web-videos', basename(fileUrl)))
}
buildFragmentedFilePath (videoUUID: string, fileUrl: string) {