mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update translations
This commit is contained in:
parent
4e86a39f8c
commit
28f378f8db
19 changed files with 284 additions and 64 deletions
|
@ -108,11 +108,13 @@
|
|||
return options;
|
||||
};
|
||||
|
||||
self.getDeviceProfile = function () {
|
||||
self.getDeviceProfile = function (maxWidth) {
|
||||
|
||||
var qualityOption = self.getVideoQualityOptions().filter(function (q) {
|
||||
return q.selected;
|
||||
})[0];
|
||||
if (!maxWidth) {
|
||||
maxWidth = self.getVideoQualityOptions().filter(function (q) {
|
||||
return q.selected;
|
||||
})[0].maxWidth;
|
||||
}
|
||||
|
||||
var bitrateSetting = AppSettings.maxStreamingBitrate();
|
||||
|
||||
|
@ -316,7 +318,7 @@
|
|||
{
|
||||
Condition: 'LessThanEqual',
|
||||
Property: 'Width',
|
||||
Value: qualityOption.maxWidth
|
||||
Value: maxWidth
|
||||
}]
|
||||
});
|
||||
|
||||
|
@ -333,7 +335,7 @@
|
|||
{
|
||||
Condition: 'LessThanEqual',
|
||||
Property: 'Width',
|
||||
Value: qualityOption.maxWidth
|
||||
Value: maxWidth
|
||||
}]
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue