1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

update translations

This commit is contained in:
Luke Pulverenti 2015-05-26 11:31:50 -04:00
parent 4e86a39f8c
commit 28f378f8db
19 changed files with 284 additions and 64 deletions

View file

@ -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
}]
});