mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update bitrate detection
This commit is contained in:
parent
0e6672699e
commit
8c248c229a
10 changed files with 77 additions and 44 deletions
|
@ -8,6 +8,22 @@
|
|||
|
||||
window.AppSettings = {
|
||||
|
||||
enableAutomaticBitrateDetection: function (val) {
|
||||
|
||||
if (val != null) {
|
||||
update('enableAutomaticBitrateDetection', val.toString());
|
||||
}
|
||||
|
||||
var savedVal = appStorage.getItem('enableAutomaticBitrateDetection');
|
||||
|
||||
if (!savedVal) {
|
||||
if (AppInfo.isNativeApp) {
|
||||
//return false;
|
||||
}
|
||||
}
|
||||
|
||||
return appStorage.getItem('enableAutomaticBitrateDetection') != 'false';
|
||||
},
|
||||
maxStreamingBitrate: function (val) {
|
||||
|
||||
if (val != null) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue