jellyfin-mpv-shim icon indicating copy to clipboard operation
jellyfin-mpv-shim copied to clipboard

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

Open soredake opened this issue 1 year ago • 3 comments

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):

  • OS: Windows 11 Pro
  • Version 2.7.0

Error Messages Nothing interesting in logs.

soredake avatar May 19 '24 11:05 soredake

Did you find any solution?

Dev-Egor avatar Aug 05 '24 02:08 Dev-Egor

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

soredake avatar Aug 05 '24 06:08 soredake

Cheers :)

Dev-Egor avatar Aug 05 '24 22:08 Dev-Egor