jellyfin / jellyfin-mpv-shim

MPV Cast Client for Jellyfin
Other
1.5k stars 88 forks source link

Subtitle settings through the MPV config file. #304

Open mkrsticch opened 1 year ago

mkrsticch commented 1 year ago

Describe the bug I want to disable default subtitle settings and configure custom-styled subtitle settings through the MPV config file. Subtitle settings works but somehow other things (save-position-on-quit = yes; fullscreen = yes) are broken.

I am using an External MPV

To Reproduce Steps to reproduce the behavior:

  1. Go to 'conf.json' and edit subtitle settings section like this.

    • "subtitle_color": null,
    • "subtitle_position": null,
    • "subtitle_size": null,
  2. Go to 'mpv.conf' and edit subtitle settings section like this.

    • sub-pos = 95
    • sub-auto = all
    • sub-shadow-color='#000000' #shadow color
    • sub-font = 'Segoe UI Semibold'
    • sub-font-size=50
    • sub-scale = 0.8