mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Merge pull request #4843 from nielsvanvelzen/nvv-cc-from-user-config
Use cast receiver application from user configuration
This commit is contained in:
commit
d7ccd24094
4 changed files with 42 additions and 40 deletions
|
@ -338,19 +338,6 @@ export class UserSettings {
|
|||
return this.get('datetimelocale', false);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get or set Chromecast version.
|
||||
* @param {string|undefined} val - Chromecast version.
|
||||
* @return {string} Chromecast version.
|
||||
*/
|
||||
chromecastVersion(val) {
|
||||
if (val !== undefined) {
|
||||
return this.set('chromecastVersion', val.toString());
|
||||
}
|
||||
|
||||
return this.get('chromecastVersion') || 'stable';
|
||||
}
|
||||
|
||||
/**
|
||||
* Get or set amount of rewind.
|
||||
* @param {number|undefined} val - Amount of rewind.
|
||||
|
@ -663,7 +650,6 @@ export const detailsBanner = currentSettings.detailsBanner.bind(currentSettings)
|
|||
export const useEpisodeImagesInNextUpAndResume = currentSettings.useEpisodeImagesInNextUpAndResume.bind(currentSettings);
|
||||
export const language = currentSettings.language.bind(currentSettings);
|
||||
export const dateTimeLocale = currentSettings.dateTimeLocale.bind(currentSettings);
|
||||
export const chromecastVersion = currentSettings.chromecastVersion.bind(currentSettings);
|
||||
export const skipBackLength = currentSettings.skipBackLength.bind(currentSettings);
|
||||
export const skipForwardLength = currentSettings.skipForwardLength.bind(currentSettings);
|
||||
export const dashboardTheme = currentSettings.dashboardTheme.bind(currentSettings);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue