1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-06 03:50:26 +02:00

Rename webtorrent config to web_videos

This commit is contained in:
Chocobozzz 2023-07-11 09:52:14 +02:00
parent 784e2ad5c3
commit c57ad141a9
No known key found for this signature in database
GPG key ID: 583A612D890159BE
36 changed files with 108 additions and 81 deletions

View file

@ -37,7 +37,7 @@ describe('Test audio only video transcoding', function () {
hls: {
enabled: true
},
webtorrent: {
web_videos: {
enabled: true
}
}

View file

@ -165,7 +165,7 @@ function runTests (enableObjectStorage: boolean) {
enabled: true,
resolutions: ConfigCommand.getCustomConfigResolutions(false),
webtorrent: {
webVideos: {
enabled: true
},
hls: {
@ -201,7 +201,7 @@ function runTests (enableObjectStorage: boolean) {
enabled: true,
resolutions: ConfigCommand.getCustomConfigResolutions(true),
webtorrent: {
webVideos: {
enabled: true
},
hls: {

View file

@ -136,7 +136,7 @@ describe('Test HLS videos', function () {
hls: {
enabled: true
},
webtorrent: {
webVideos: {
enabled: false
}
}

View file

@ -31,7 +31,7 @@ function updateConfigForTranscoding (server: PeerTubeServer) {
allowAdditionalExtensions: true,
allowAudioFiles: true,
hls: { enabled: true },
webtorrent: { enabled: true },
webVideos: { enabled: true },
resolutions: {
'0p': false,
'144p': true,
@ -333,7 +333,7 @@ describe('Test video transcoding', function () {
newConfig: {
transcoding: {
hls: { enabled: true },
webtorrent: { enabled: true },
webVideos: { enabled: true },
resolutions: {
'0p': false,
'144p': false,
@ -405,7 +405,7 @@ describe('Test video transcoding', function () {
newConfig: {
transcoding: {
hls: { enabled: true },
webtorrent: { enabled: true },
webVideos: { enabled: true },
resolutions: {
'0p': true,
'144p': false,
@ -586,7 +586,7 @@ describe('Test video transcoding', function () {
'1440p': true,
'2160p': true
},
webtorrent: { enabled: true },
web_videos: { enabled: true },
hls: { enabled: true }
}
}
@ -728,7 +728,7 @@ describe('Test video transcoding', function () {
transcoding: {
enabled: true,
hls: { enabled: true },
webtorrent: { enabled: true },
webVideos: { enabled: true },
resolutions: {
'0p': false,
'144p': false,

View file

@ -121,7 +121,7 @@ describe('Test update video privacy while transcoding', function () {
hls: {
enabled: true
},
webtorrent: {
webVideos: {
enabled: false
}
}

View file

@ -277,7 +277,7 @@ describe('Test video studio', function () {
await servers[0].config.updateExistingSubConfig({
newConfig: {
transcoding: {
webtorrent: {
webVideos: {
enabled: false
}
}