mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
convert series providers to new system
This commit is contained in:
parent
78cb9d70da
commit
8453694d7c
2 changed files with 6 additions and 4 deletions
|
@ -634,8 +634,12 @@
|
||||||
options.push({ name: '720p - 5Mbps', maxWidth: 1280, bitrate: 5000000 });
|
options.push({ name: '720p - 5Mbps', maxWidth: 1280, bitrate: 5000000 });
|
||||||
}
|
}
|
||||||
else if (maxAllowedWidth >= 470) {
|
else if (maxAllowedWidth >= 470) {
|
||||||
|
options.push({ name: '480p - 4Mbps', maxWidth: 720, bitrate: 4000000 });
|
||||||
|
options.push({ name: '480p - 3.5Mbps', maxWidth: 720, bitrate: 3500000 });
|
||||||
|
options.push({ name: '480p - 3Mbps', maxWidth: 720, bitrate: 3000000 });
|
||||||
|
options.push({ name: '480p - 2.5Mbps', maxWidth: 720, bitrate: 2500000 });
|
||||||
|
options.push({ name: '480p - 2Mbps', maxWidth: 720, bitrate: 2000000 });
|
||||||
options.push({ name: '480p - 1.5Mbps', maxWidth: 720, bitrate: 1500000 });
|
options.push({ name: '480p - 1.5Mbps', maxWidth: 720, bitrate: 1500000 });
|
||||||
options.push({ name: '480p - 1.0Mbps', maxWidth: 720, bitrate: 1000000 });
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (maxAllowedWidth >= 1270) {
|
if (maxAllowedWidth >= 1270) {
|
||||||
|
@ -645,6 +649,7 @@
|
||||||
options.push({ name: '720p - 1.5Mbps', maxWidth: 1280, bitrate: 1500000 });
|
options.push({ name: '720p - 1.5Mbps', maxWidth: 1280, bitrate: 1500000 });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
options.push({ name: '480p - 1.0Mbps', maxWidth: 720, bitrate: 1000000 });
|
||||||
options.push({ name: '480p - 720 kbps', maxWidth: 720, bitrate: 700000 });
|
options.push({ name: '480p - 720 kbps', maxWidth: 720, bitrate: 700000 });
|
||||||
options.push({ name: '480p - 420 kbps', maxWidth: 720, bitrate: 420000 });
|
options.push({ name: '480p - 420 kbps', maxWidth: 720, bitrate: 420000 });
|
||||||
options.push({ name: '360p', maxWidth: 640, bitrate: 400000 });
|
options.push({ name: '360p', maxWidth: 640, bitrate: 400000 });
|
||||||
|
|
|
@ -6,9 +6,6 @@
|
||||||
|
|
||||||
config.IsStartupWizardCompleted = true;
|
config.IsStartupWizardCompleted = true;
|
||||||
|
|
||||||
// Try migrate everyone over to this. Eventually remove the config setting.
|
|
||||||
config.EnablePeoplePrefixSubFolders = true;
|
|
||||||
|
|
||||||
ApiClient.updateServerConfiguration(config).done(function () {
|
ApiClient.updateServerConfiguration(config).done(function () {
|
||||||
|
|
||||||
ApiClient.getUsers().done(function (users) {
|
ApiClient.getUsers().done(function (users) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue