diff --git a/package.json b/package.json index dbc5d2cd1a..02c5c25ee6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "jellyfin-web", - "version": "0.0.0", + "version": "10.8.0", "description": "Web interface for Jellyfin", "repository": "https://github.com/jellyfin/jellyfin-web", "license": "GPL-2.0-or-later", diff --git a/src/components/apphost.js b/src/components/apphost.js index aefdee7340..36feb896f3 100644 --- a/src/components/apphost.js +++ b/src/components/apphost.js @@ -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;