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

Merge pull request #2212 from thornbill/use-package-version

Use package version
This commit is contained in:
Bill Thornton 2020-12-14 14:54:22 -05:00 committed by GitHub
commit d02702f7fb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 4 deletions

View file

@ -1,4 +1,4 @@
import { version as appVersion } from '../../package.json';
import appSettings from '../scripts/settings/appSettings';
import browser from '../scripts/browser';
import { Events } from 'jellyfin-apiclient';
@ -8,7 +8,6 @@ import globalize from '../scripts/globalize';
import profileBuilder from '../scripts/browserDeviceProfile';
const appName = 'Jellyfin Web';
const appVersion = '10.7.0';
function getBaseProfileOptions(item) {
const disableHlsVideoAudioCodecs = [];
@ -29,7 +28,7 @@ function getBaseProfileOptions(item) {
};
}
function getDeviceProfile(item, options = {}) {
function getDeviceProfile(item) {
return new Promise(function (resolve) {
let profile;