mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update sync settings
This commit is contained in:
parent
8ba393c549
commit
0a7858143c
16 changed files with 98 additions and 131 deletions
|
@ -37,7 +37,16 @@ define(['appStorage', 'events'], function (appStorage, events) {
|
|||
self.set('preferredVideoBitrate', val);
|
||||
}
|
||||
|
||||
return parseInt(self.get('preferredVideoBitrate') || '') || 1500000;
|
||||
return parseInt(self.get('preferredVideoBitrate') || '0') || 1500000;
|
||||
};
|
||||
|
||||
self.maxStaticMusicBitrate = function (val) {
|
||||
|
||||
if (val !== undefined) {
|
||||
self.set('maxStaticMusicBitrate', val);
|
||||
}
|
||||
|
||||
return parseInt(self.get('maxStaticMusicBitrate') || '0') || null;
|
||||
};
|
||||
|
||||
self.maxChromecastBitrate = function (val) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue