jellyfin / jellyfin-mpv-shim

MPV Cast Client for Jellyfin
Other
1.59k stars 93 forks source link

'alang' and 'slang' options set in mpv.conf is ignored in mpv launched with jellyfin-mpv-shim #391

Open soredake opened 4 months ago

soredake commented 4 months ago

Describe the bug 'alang' and 'slang' options set in mpv.conf is ignored in mpv launched with jellyfin-mpv-shim

To Reproduce Steps to reproduce the behavior:

  1. Configure mpv+jellyfin+jellyfin-mpv-shim
  2. Set alang or/and slang in mpv.conf
  3. Launch some media file to test it
  4. alang and slang option are ignored (no subtitles is enabled by default)

Expected behavior These options should work like they do when I launch movie with mpv not thought shim.

Screenshots Screenshots not really needed here.

Desktop (please complete the following information):

Error Messages Nothing interesting in logs.

Dev-Egor commented 1 month ago

Did you find any solution?

soredake commented 1 month ago

Did you find any solution?

Yes, here is my script https://github.com/soredake/dotfiles_windows/blob/master/dotfiles/scoop/apps/mpv-git/current/portable_config/scripts/alang-slang-plex-jellyfin-mpv-shim-workaround.lua

Just don't forget to change ipc socket path here https://github.com/soredake/dotfiles_windows/blob/master/dotfiles/scoop/apps/mpv-git/current/portable_config/scripts/alang-slang-plex-jellyfin-mpv-shim-workaround.lua#L85

Dev-Egor commented 1 month ago

Cheers :)