mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Enable eslint sonar prefer-object-literal
This commit is contained in:
parent
9d8f9c806c
commit
e0013915fd
6 changed files with 26 additions and 31 deletions
|
@ -349,13 +349,12 @@ import browser from './browser';
|
|||
|
||||
const canPlayMkv = testCanPlayMkv(videoTestElement);
|
||||
|
||||
const profile = {};
|
||||
|
||||
profile.MaxStreamingBitrate = bitrateSetting;
|
||||
profile.MaxStaticBitrate = 100000000;
|
||||
profile.MusicStreamingTranscodingBitrate = Math.min(bitrateSetting, 384000);
|
||||
|
||||
profile.DirectPlayProfiles = [];
|
||||
const profile = {
|
||||
MaxStreamingBitrate: bitrateSetting,
|
||||
MaxStaticBitrate: 100000000,
|
||||
MusicStreamingTranscodingBitrate: Math.min(bitrateSetting, 384000),
|
||||
DirectPlayProfiles: []
|
||||
};
|
||||
|
||||
let videoAudioCodecs = [];
|
||||
let hlsInTsVideoAudioCodecs = [];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue