Unable to use direct_paths
with library, shim and Jellyfin on the same PC
#316
Labels
bug
Something isn't working
Describe the bug
When enabling
direct_paths
(andremote_direct_paths
as it seems to be needed), the shim won't start mpv with the path of a local file that is otherwise accessible.I do not know if this causes breakage in other situations like actually playing a file remotely over a share, but wrapping the
Path
following line with astr()
solved this for me:jellyfin-mpv-shim/jellyfin_mpv_shim/media.py
Line 192 in a82ebe9
To Reproduce
Steps to reproduce the behavior:
direct_paths
andremote_direct_paths
totrue
Expected behavior
mpv starts playing the file directly
Desktop (please complete the following information):
Since I am running the mpv shim from source (in a clean venv) so I could modify files as needed, information on that:
Pillow-9.4.0 certifi-2022.12.7 charset-normalizer-3.0.1 idna-3.4 jellyfin-apiclient-python-1.9.2 jellyfin-mpv-shim-2.4.2 pystray-0.19.4 python-mpv-1.0.1 python-mpv-jsonipc-1.1.14 requests-2.28.2 six-1.16.0 urllib3-1.26.14 websocket-client-1.5.1
Error Messages
An excerpt follows (my apologies in advance if you need the full thing):
The text was updated successfully, but these errors were encountered: