jellyfin-mpv-shim
jellyfin-mpv-shim copied to clipboard
Client Connects, Unable to Play Media
Describe the bug Shim connects but will not play media.
ps. possibly an error on my end but i did not change any settings before the issue appeared
To Reproduce
- fresh shim config/install
- launch shim & enter credentials
- shim gui will prompt "OK" next to server config
- connect to shim from cast button on web
- attempt to play media
- no media plays
Desktop (please complete the following information):
- OS: agnostic
- Version: 2.2.0-1
Error Messages terminaloutput.txt
I can confirm this is a bug, I suspect on newer MPV releases - I have the same behavior on both my Arch machines, but not on my Mint laptop. App on the computer shows as connected, app from phone is able to connect as a "cast" device, but actually attempting playback does nothing. No error messages when launching from terminal, just nothing. I believe it may have something to do with MPV versions. Both my Arch and Mint machines are using the latest Shim version 2.2.0, with the Jellyfin app on my phone fully up to date as well, but playback only works on the Mint computer, which has Celluloid 0.21 installed instead of just native MPV 0.34.1 which is what both of the Arch units have.
Most likely it has nothing to do with MPV because both in terminaloutput.txt
and on my machine there is this:
2022-08-29 15:40:05,222 [ WARNING] clients: Client is not actually connected. (It does not show in the client list.)
I also have this:
2022-09-14 12:52:00,576 [ INFO] JELLYFIN.jellyfin_apiclient_python.ws_client: --->[ websocket ]
2022-09-14 12:52:00,576 [ DEBUG] event_handler: Unhandled Event WebSocketConnect: None
2022-09-14 12:52:00,576 [ WARNING] websocket: websocket connected
2022-09-14 12:52:00,576 [ ERROR] websocket: 'socket' object has no attribute 'pending' - goodbye
2022-09-14 12:52:00,576 [ ERROR] JELLYFIN.jellyfin_apiclient_python.ws_client: 'socket' object has no attribute 'pending'
2022-09-14 12:52:00,577 [ DEBUG] event_handler: Unhandled Event WebSocketError: 'socket' object has no attribute 'pending'
Please upgrade to the newest version of jellyfin-apiclient-python
using a command like sudo pip3 install --upgrade jellyfin-apiclient-python
.