![]() |
Save or Permanently Set Playback Settings - Printable Version +- Jellyfin Forum (https://forum.jellyfin.org) +-- Forum: Support (https://forum.jellyfin.org/f-support) +--- Forum: General Questions (https://forum.jellyfin.org/f-general-questions) +--- Thread: Save or Permanently Set Playback Settings (/t-save-or-permanently-set-playback-settings) |
Save or Permanently Set Playback Settings - pcm - 2024-06-21 For the web-client, is there any way I can configure my videoplayer playback settings ? For example can I permanently set "Repeat mode" to "Repeat All" or "Aspect Ratio" to "Cover" ? ![]() Currently, if I exit the Video, these reset to default values of "Repeat mode" : "None" and "Aspect Ratio" : "Auto". Wish there was a to set my preferred values for these in advanced or atleast for Jellyfin make remember my last used playback configuration. RE: Save or Permanently Set Playback Settings - TheDreadPirate - 2024-06-21 AFAIK, those particular settings cannot be permanently changed. RE: Save or Permanently Set Playback Settings - pcm - 2024-06-21 Yeah, after digging into this, I can confirm that these settings are hardcoded. ![]() I was however able to figure out where to go to make permanent changes to these hardcoded values. If anyone is interested ... 1. The aspect-ratio options is buried here You'd want to change that value from Code: return this._currentAspectRatio || 'auto'; to Code: return this._currentAspectRatio || 'cover'; or Code: return this._currentAspectRatio || 'fill'; 2. The RepeatMode is located here and here You'd want to change *both occurrences* of Code: this._repeatMode = 'RepeatNone'; Code: this._repeatMode = 'RepeatAll'; Code: this._repeatMode = 'RepeatOne'; Ofcourse it's not as simple as finding these files in your installation and replacing these values, because when the jellyfin-web project is packaged for deployment, it gets bundled and minified. But, thank God for grep!! I was able to figure out where these are found in jellyfin web installation. * You'd want to head over to your web directory. In Linux it's at /usr/share/jellyfin/web/ * AspectRatio is found in htmlVideoPlayer-plugin.{your-build-id-string}.chunk.js file and* RepeatMode is found in main.jellyfin.bundle.js file in your web installation.Ofcourse one HUGE CAVEAT is that these things may be subject to change at anytime in a future update. This is only a cheap hack and is fragile. So, I am not super happy about this. But, it's the best I can do to get jellyfin-web to do what I want it to do. Ideally, it would be cool if this was a setting I could configure (in display setting or something) |