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

Client Connects, Unable to Play Media

Open miIktoast opened this issue 2 years ago • 3 comments

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

  1. fresh shim config/install
  2. launch shim & enter credentials
  3. shim gui will prompt "OK" next to server config
  4. connect to shim from cast button on web
  5. attempt to play media
  6. no media plays

Desktop (please complete the following information):

  • OS: agnostic
  • Version: 2.2.0-1

Error Messages terminaloutput.txt

miIktoast avatar Aug 29 '22 21:08 miIktoast

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.

ViejoRS avatar Sep 03 '22 18:09 ViejoRS

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'

gudvinr avatar Sep 14 '22 09:09 gudvinr

Please upgrade to the newest version of jellyfin-apiclient-python using a command like sudo pip3 install --upgrade jellyfin-apiclient-python.

iwalton3 avatar Sep 26 '22 21:09 iwalton3