jellyfin / jellyfin-mpv-shim

MPV Cast Client for Jellyfin
Other
1.5k stars 88 forks source link

Flatpak Version fatal error on playback launch #360

Open Spirarementum opened 5 months ago

Spirarementum commented 5 months ago

Describe the bug After installation, Jellyfin-mpv-shim launches just fine BUT exits with a critical error upon launching a movie from Jellyfin.

To Reproduce Steps to reproduce the behavior:

  1. Install Flatpak from https://flathub.org/apps/com.github.iwalton3.jellyfin-mpv-shim
  2. Run
  3. Set server and connect
  4. Select Jellyfin-mpv-shim from the Cast Device
  5. Launch a movie

Expected behavior Movie start playing.

Screenshots None

Desktop (please complete the following information):

Kernel : Linux 6.1.25 (aarch64) Version : #123 SMP Thu Nov 16 11:25:37 CST 2023 C Library : GNU C Library / (Ubuntu GLIBC 2.35-0ubuntu3.5) 2.35 Distribution : Ubuntu 22.04.3 LTS

Error Messages FROM THE CONSOL: sergio@NanoPC-T6:~$ flatpak run com.github.iwalton3.jellyfin-mpv-shim 2024-01-05 06:05:32,343 [ INFO] conf: Loaded settings from json: /home/sergio/.var/app/com.github.iwalton3.jellyfin-mpv-shim/config/jellyfin-mpv-shim/conf.json 2024-01-05 06:05:32,427 [ INFO] player: Using libmpv1 playback backend. 2024-01-05 06:05:32,475 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.client: JellyfinClient initializing... 2024-01-05 06:05:32,475 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.configuration: Configuration initializing... 2024-01-05 06:05:32,475 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.configuration: Begin http constructor. 2024-01-05 06:05:32,475 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.ws_client: WSClient initializing... 2024-01-05 06:05:32,476 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.connection_manager: ConnectionManager initializing... 2024-01-05 06:05:32,476 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.credentials: Credentials initializing... 2024-01-05 06:05:32,476 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.configuration: Begin app constructor. 2024-01-05 06:05:32,476 [ INFO] JELLYFIN.jellyfin_apiclient_python.connection_manager: Begin connect 2024-01-05 06:05:32,476 [ INFO] JELLYFIN.jellyfin_apiclient_python.connection_manager: Begin getAvailableServers 2024-01-05 06:05:32,476 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.credentials: credentialsupdated 2024-01-05 06:05:32,476 [ INFO] JELLYFIN.jellyfin_apiclient_python.connection_manager: connect has 1 servers 2024-01-05 06:05:32,476 [ INFO] JELLYFIN.jellyfin_apiclient_python.connection_manager: begin connect_to_server 2024-01-05 06:05:32,476 [ INFO] JELLYFIN.jellyfin_apiclient_python.api: Sending get request to system/info/public 2024-01-05 06:05:32,477 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.api: 5 2024-01-05 06:05:32,477 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.api: {'Accept': 'application/json', 'Content-type': 'application/x-www-form-urlencoded; charset=UTF-8', 'X-Application': 'Jellyfin MPV Shim/2.6.0', 'Accept-Charset': 'UTF-8,', 'Accept-encoding': 'gzip', 'User-Agent': 'Jellyfin-MPV-Shim/2.6.0', 'x-emby-authorization': 'MediaBrowser Client=Jellyfin MPV Shim, Device=NanoPC-T6, DeviceId=dd9d6384-4a26-4eed-9c0b-d83d0db9529e, Version=2.6.0'} 2024-01-05 06:05:32,479 [ DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): 192.168.8.60:8096 2024-01-05 06:05:32,491 [ DEBUG] urllib3.connectionpool: http://192.168.8.60:8096 "GET /system/info/public HTTP/1.1" 200 None 2024-01-05 06:05:32,495 [ INFO] JELLYFIN.jellyfin_apiclient_python.connection_manager: calling onSuccessfulConnection with server 0e98a9f408f2 2024-01-05 06:05:32,495 [ INFO] JELLYFIN.jellyfin_apiclient_python.api: Sending get request to system/info 2024-01-05 06:05:32,496 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.api: 5 2024-01-05 06:05:32,496 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.api: {'Accept': 'application/json', 'Content-type': 'application/x-www-form-urlencoded; charset=UTF-8', 'X-Application': 'Jellyfin MPV Shim/2.6.0', 'Accept-Charset': 'UTF-8,', 'Accept-encoding': 'gzip', 'User-Agent': 'Jellyfin-MPV-Shim/2.6.0', 'x-emby-authorization': 'MediaBrowser Client=Jellyfin MPV Shim, Device=NanoPC-T6, DeviceId=dd9d6384-4a26-4eed-9c0b-d83d0db9529e, Version=2.6.0', 'X-MediaBrowser-Token': 'REDACTED'} 2024-01-05 06:05:32,498 [ DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): 192.168.8.60:8096 2024-01-05 06:05:32,534 [ DEBUG] urllib3.connectionpool: http://192.168.8.60:8096 "GET /system/info HTTP/1.1" 200 None 2024-01-05 06:05:32,544 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.credentials: credentialsupdated 2024-01-05 06:05:32,545 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.connection_manager: resolving connect with result: {'Servers': "[{'address': 'http://192.168.8.60:8096', 'Name': '0e98a9f408f2', 'Id': 'e79c0d8142574974862cb7ee8719776d', 'DateLastAccessed': '2024-01-05T06:05:32Z', 'UserId': '3f7a17d393ed49edbf6bdd77076ddfd6', 'AccessToken': 'REDACTED', 'Users': [{'Id': '3f7a17d393ed49edbf6bdd77076ddfd6', 'IsSignedInOffline': True}], 'uuid': '1d052c49-b139-4a4a-8288-7cacc9b465be', 'username': 'Serge', 'connected': True}]", 'State': 3} 2024-01-05 06:05:32,545 [ INFO] JELLYFIN.jellyfin_apiclient_python.client: User is authenticated. 2024-01-05 06:05:32,546 [ DEBUG] urllib3.util.retry: Converted retries value: 3 -> 'Retry(total=3, connect=None, read=None, redirect=None, status=None)' 2024-01-05 06:05:32,546 [ DEBUG] urllib3.util.retry: Converted retries value: 3 -> 'Retry(total=3, connect=None, read=None, redirect=None, status=None)' 2024-01-05 06:05:32,548 [ INFO] JELLYFIN.jellyfin_apiclient_python.ws_client: Websocket url: ws://192.168.8.60:8096/socket?api_key=REDACTED&device_id=dd9d6384-4a26-4eed-9c0b-d83d0db9529e 2024-01-05 06:05:32,552 [ DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): 192.168.8.60:8096 2024-01-05 06:05:32,574 [ INFO] websocket: Websocket connected 2024-01-05 06:05:32,576 [ INFO] JELLYFIN.jellyfin_apiclient_python.ws_client: --->[ websocket ] 2024-01-05 06:05:32,576 [ DEBUG] event_handler: Unhandled Event WebSocketConnect: None 2024-01-05 06:05:32,597 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.ws_client: ForceKeepAlive received from server. 2024-01-05 06:05:32,599 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.ws_client: KeepAlive received from server. 2024-01-05 06:05:32,644 [ DEBUG] urllib3.connectionpool: http://192.168.8.60:8096 "POST /Sessions/Capabilities/Full HTTP/1.1" 204 0 2024-01-05 06:05:32,670 [ DEBUG] urllib3.connectionpool: http://192.168.8.60:8096 "GET /Sessions?ControllableByUserId=3f7a17d393ed49edbf6bdd77076ddfd6 HTTP/1.1" 200 None 2024-01-05 06:05:32,766 [ DEBUG] PIL.PngImagePlugin: STREAM "b'IHDR'" 16 13 2024-01-05 06:05:32,766 [ DEBUG] PIL.PngImagePlugin: STREAM "b'pHYs'" 41 9 2024-01-05 06:05:32,766 [ DEBUG] PIL.PngImagePlugin: STREAM "b'IDAT'" 62 709

(jellyfin-mpv-shim:18): Gdk-CRITICAL **: 06:05:33.029: gdk_window_thaw_toplevel_updates: assertion 'window->update_and_descendants_freeze_count > 0' failed 2024-01-05 06:05:52,577 [ DEBUG] websocket: Sending ping 2024-01-05 06:06:02,580 [ DEBUG] websocket: Sending ping 2024-01-05 06:06:02,601 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.ws_client: KeepAlive received from server. 2024-01-05 06:06:12,583 [ DEBUG] websocket: Sending ping 2024-01-05 06:06:22,585 [ DEBUG] websocket: Sending ping 2024-01-05 06:06:32,587 [ DEBUG] websocket: Sending ping 2024-01-05 06:06:32,601 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.ws_client: KeepAlive received from server. 2024-01-05 06:06:38,482 [ DEBUG] event_handler: Unhandled Event UserDataChanged: {'UserId': '3f7a17d393ed49edbf6bdd77076ddfd6', 'UserDataList': [{'PlaybackPositionTicks': 0, 'PlayCount': 3, 'IsFavorite': False, 'LastPlayedDate': '2024-01-05T06:06:37.9164796Z', 'Played': False, 'Key': '333072003001', 'ItemId': 'cfa2614c7e8bac0a683de42e3b3793a4'}, {'UnplayedItemCount': 7, 'PlaybackPositionTicks': 0, 'PlayCount': 0, 'IsFavorite': False, 'Played': False, 'Key': '333072003', 'ItemId': '27e20154f3774796257a805b2a79f2dd'}], 'ServerId': 'e79c0d8142574974862cb7ee8719776d'} 2024-01-05 06:06:42,590 [ DEBUG] websocket: Sending ping 2024-01-05 06:06:51,128 [ DEBUG] event_handler: Unhandled Event UserDataChanged: {'UserId': '3f7a17d393ed49edbf6bdd77076ddfd6', 'UserDataList': [{'PlaybackPositionTicks': 0, 'PlayCount': 3, 'IsFavorite': False, 'LastPlayedDate': '2024-01-05T06:06:37.9164796Z', 'Played': False, 'Key': '333072003001', 'ItemId': 'cfa2614c7e8bac0a683de42e3b3793a4'}, {'UnplayedItemCount': 7, 'PlaybackPositionTicks': 0, 'PlayCount': 0, 'IsFavorite': False, 'Played': False, 'Key': '333072003', 'ItemId': '27e20154f3774796257a805b2a79f2dd'}], 'ServerId': 'e79c0d8142574974862cb7ee8719776d'} 2024-01-05 06:06:52,593 [ DEBUG] websocket: Sending ping 2024-01-05 06:06:58,190 [ DEBUG] event_handler: Handled Event Play: {'ItemIds': ['cfa2614c7e8bac0a683de42e3b3793a4', '77d1da8f1272fecbca08d8bcbe3b3e46', 'cfed55f4627e5e6d810dc312e173369b', '6609fee5f6263c213259aa1f05a6062a', 'c92d1c6151eb607a49fbcf08d300f734', '5dbde85e707b5e30ef21ce8b1cbcc6c9', '4d53f4e6650df91b37bd6b568c361704'], 'PlayCommand': 'PlayNow', 'ControllingUserId': '3f7a17d393ed49edbf6bdd77076ddfd6', 'ServerId': 'e79c0d8142574974862cb7ee8719776d'} 2024-01-05 06:06:58,279 [ DEBUG] urllib3.connectionpool: http://192.168.8.60:8096 "GET /Users/3f7a17d393ed49edbf6bdd77076ddfd6/Items/cfa2614c7e8bac0a683de42e3b3793a4 HTTP/1.1" 200 None 2024-01-05 06:06:58,290 [ DEBUG] event_handler: EventHandler::playMedia <jellyfin_mpv_shim.media.Media object at 0x7f7139a4a0> 2024-01-05 06:06:58,291 [ DEBUG] media: Bandwidth: local=True, bitrate=None, force=False 2024-01-05 06:06:58,324 [ DEBUG] urllib3.connectionpool: http://192.168.8.60:8096 "POST /Items/cfa2614c7e8bac0a683de42e3b3793a4/PlaybackInfo HTTP/1.1" 200 None 2024-01-05 06:06:58,329 [ DEBUG] media: Using direct url. 2024-01-05 06:06:58,333 [ INFO] mpv: thumbfast: Clearing trickplay.

2024-01-05 06:06:58,357 [ INFO] mpv: cplayer: (+) Video --vid=1 (*) (h264 1280x720 23.976fps)

2024-01-05 06:06:58,357 [ INFO] mpv: cplayer: (+) Audio --aid=1 --alang=eng (*) 'Surround 5.1' (ac3 6ch 48000Hz)

2024-01-05 06:06:58,358 [ INFO] mpv: cplayer: (+) Subs --sid=1 --slang=eng (*) (subrip)

2024-01-05 06:06:58,358 [ INFO] mpv: cplayer: Subs --sid=2 --slang=eng 'SDH' (subrip)

2024-01-05 06:06:58,358 [ INFO] mpv: cplayer: Subs --sid=3 --slang=spa (subrip)

2024-01-05 06:06:58,359 [ INFO] mpv: cplayer: Subs --sid=4 --slang=spa 'SDH' (subrip)

libEGL warning: egl: failed to create dri2 screen libEGL warning: failed to get driver name for fd -1

libEGL warning: MESA-LOADER: failed to retrieve device information

libEGL warning: failed to get driver name for fd -1

libEGL warning: egl: failed to create dri2 screen MESA: error: ZINK: failed to choose pdev libEGL warning: egl: failed to create dri2 screen 2024-01-05 06:06:58,501 [ WARNING] mpv: vo/gpu/opengl: Suspected software renderer or indirect context.

2024-01-05 06:06:58,504 [ ERROR] mpv: vo/gpu: VT_GETMODE failed: Inappropriate ioctl for device

2024-01-05 06:06:58,505 [ WARNING] mpv: vo/gpu/opengl: Failed to set up VT switcher. Terminal switching will be unavailable.

2024-01-05 06:06:58,505 [ WARNING] mpv: vo/gpu/opengl/kms: Could not find any preferred mode. Picking the first mode.

2024-01-05 06:06:58,520 [ ERROR] mpv: vo/gpu: Failed to create GBM surface.

2024-01-05 06:06:58,521 [ ERROR] mpv: vo/gpu: Failed to setup GBM.

2024-01-05 06:06:58,593 [ ERROR] mpv: vo/gpu/libplacebo: Found no suitable device, giving up.

2024-01-05 06:06:58,594 [ ERROR] mpv: vo/gpu/libplacebo: Failed initializing vulkan device

libEGL warning: egl: failed to create dri2 screen libEGL warning: failed to get driver name for fd -1

libEGL warning: MESA-LOADER: failed to retrieve device information

libEGL warning: failed to get driver name for fd -1

libEGL warning: egl: failed to create dri2 screen MESA: error: ZINK: failed to choose pdev libEGL warning: egl: failed to create dri2 screen XIO: fatal IO error 9 (Bad file descriptor) on X server ":0.0" after 47 requests (29 known processed) with 0 events remaining. sergio@NanoPC-T6:~$

Spirarementum commented 5 months ago

The pip3 install also exit on a fatal error. FROM THE CONSOL: sergio@NanoPC-T6:~$ jellyfin-mpv-shim 2024-01-05 08:02:40,994 [ INFO] conf: Loaded settings from json: /home/sergio/.config/jellyfin-mpv-shim/conf.json 2024-01-05 08:02:41,096 [ INFO] player: Using libmpv1 playback backend. 2024-01-05 08:02:41,118 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.client: JellyfinClient initializing... 2024-01-05 08:02:41,118 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.configuration: Configuration initializing... 2024-01-05 08:02:41,118 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.configuration: Begin http constructor. 2024-01-05 08:02:41,118 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.ws_client: WSClient initializing... 2024-01-05 08:02:41,118 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.connection_manager: ConnectionManager initializing... 2024-01-05 08:02:41,118 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.credentials: Credentials initializing... 2024-01-05 08:02:41,118 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.configuration: Begin app constructor. 2024-01-05 08:02:41,118 [ INFO] JELLYFIN.jellyfin_apiclient_python.connection_manager: Begin connect 2024-01-05 08:02:41,118 [ INFO] JELLYFIN.jellyfin_apiclient_python.connection_manager: Begin getAvailableServers 2024-01-05 08:02:41,118 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.credentials: credentialsupdated 2024-01-05 08:02:41,118 [ INFO] JELLYFIN.jellyfin_apiclient_python.connection_manager: connect has 1 servers 2024-01-05 08:02:41,119 [ INFO] JELLYFIN.jellyfin_apiclient_python.connection_manager: begin connect_to_server 2024-01-05 08:02:41,119 [ INFO] JELLYFIN.jellyfin_apiclient_python.api: Sending get request to system/info/public 2024-01-05 08:02:41,119 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.api: 5 2024-01-05 08:02:41,119 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.api: {'Accept': 'application/json', 'Content-type': 'application/x-www-form-urlencoded; charset=UTF-8', 'X-Application': 'Jellyfin MPV Shim/2.6.0', 'Accept-Charset': 'UTF-8,', 'Accept-encoding': 'gzip', 'User-Agent': 'Jellyfin-MPV-Shim/2.6.0', 'x-emby-authorization': 'MediaBrowser Client=Jellyfin MPV Shim, Device=NanoPC-T6, DeviceId=c452e77a-9dfd-413a-aca8-ca2e0d48a206, Version=2.6.0'} 2024-01-05 08:02:41,120 [ DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): 192.168.8.60:8096 2024-01-05 08:02:41,126 [ DEBUG] urllib3.connectionpool: http://192.168.8.60:8096 "GET /system/info/public HTTP/1.1" 200 None 2024-01-05 08:02:41,127 [ INFO] JELLYFIN.jellyfin_apiclient_python.connection_manager: calling onSuccessfulConnection with server 0e98a9f408f2 2024-01-05 08:02:41,127 [ INFO] JELLYFIN.jellyfin_apiclient_python.api: Sending get request to system/info 2024-01-05 08:02:41,127 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.api: 5 2024-01-05 08:02:41,127 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.api: {'Accept': 'application/json', 'Content-type': 'application/x-www-form-urlencoded; charset=UTF-8', 'X-Application': 'Jellyfin MPV Shim/2.6.0', 'Accept-Charset': 'UTF-8,', 'Accept-encoding': 'gzip', 'User-Agent': 'Jellyfin-MPV-Shim/2.6.0', 'x-emby-authorization': 'MediaBrowser Client=Jellyfin MPV Shim, Device=NanoPC-T6, DeviceId=c452e77a-9dfd-413a-aca8-ca2e0d48a206, Version=2.6.0', 'X-MediaBrowser-Token': 'REDACTED'} 2024-01-05 08:02:41,130 [ DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): 192.168.8.60:8096 2024-01-05 08:02:41,158 [ DEBUG] urllib3.connectionpool: http://192.168.8.60:8096 "GET /system/info HTTP/1.1" 200 None 2024-01-05 08:02:41,167 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.credentials: credentialsupdated 2024-01-05 08:02:41,168 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.connection_manager: resolving connect with result: {'Servers': "[{'address': 'http://192.168.8.60:8096', 'Name': '0e98a9f408f2', 'Id': 'e79c0d8142574974862cb7ee8719776d', 'DateLastAccessed': '2024-01-05T08:02:41Z', 'UserId': '3f7a17d393ed49edbf6bdd77076ddfd6', 'AccessToken': 'REDACTED', 'Users': [{'Id': '3f7a17d393ed49edbf6bdd77076ddfd6', 'IsSignedInOffline': True}], 'uuid': 'b7cff27f-5efb-466c-9d23-0fc16cefd15e', 'username': 'Serge', 'connected': True}]", 'State': 3} 2024-01-05 08:02:41,168 [ INFO] JELLYFIN.jellyfin_apiclient_python.client: User is authenticated. 2024-01-05 08:02:41,168 [ DEBUG] urllib3.util.retry: Converted retries value: 3 -> 'Retry(total=3, connect=None, read=None, redirect=None, status=None)' 2024-01-05 08:02:41,169 [ DEBUG] urllib3.util.retry: Converted retries value: 3 -> 'Retry(total=3, connect=None, read=None, redirect=None, status=None)' 2024-01-05 08:02:41,169 [ INFO] JELLYFIN.jellyfin_apiclient_python.ws_client: Websocket url: ws://192.168.8.60:8096/socket?api_key=REDACTED&device_id=c452e77a-9dfd-413a-aca8-ca2e0d48a206 2024-01-05 08:02:41,172 [ DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): 192.168.8.60:8096 2024-01-05 08:02:41,191 [ DEBUG] urllib3.connectionpool: http://192.168.8.60:8096 "POST /Sessions/Capabilities/Full HTTP/1.1" 204 0 2024-01-05 08:02:41,197 [ INFO] websocket: Websocket connected 2024-01-05 08:02:41,198 [ INFO] JELLYFIN.jellyfin_apiclient_python.ws_client: --->[ websocket ] 2024-01-05 08:02:41,198 [ DEBUG] event_handler: Unhandled Event WebSocketConnect: None 2024-01-05 08:02:41,201 [ DEBUG] urllib3.connectionpool: http://192.168.8.60:8096 "GET /Sessions?ControllableByUserId=3f7a17d393ed49edbf6bdd77076ddfd6 HTTP/1.1" 200 None 2024-01-05 08:02:41,203 [ WARNING] clients: Client is not actually connected. (It does not show in the client list.) 2024-01-05 08:02:41,212 [ INFO] JELLYFIN.jellyfin_apiclient_python.ws_client: ---<[ websocket ] --<[ session/548218174240 ] 2024-01-05 08:02:41,227 [ INFO] Jellyfin.jellyfin_apiclient_python.http: --<[ session/548218174240 ] 2024-01-05 08:02:41,228 [ WARNING] clients: Partially connected. Retrying 1/3. 2024-01-05 08:02:41,294 [ DEBUG] PIL.PngImagePlugin: STREAM "b'IHDR'" 16 13 2024-01-05 08:02:41,294 [ DEBUG] PIL.PngImagePlugin: STREAM "b'pHYs'" 41 9 2024-01-05 08:02:41,294 [ DEBUG] PIL.PngImagePlugin: STREAM "b'IDAT'" 62 709 2024-01-05 08:02:42,230 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.client: JellyfinClient initializing... 2024-01-05 08:02:42,230 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.configuration: Configuration initializing... 2024-01-05 08:02:42,230 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.configuration: Begin http constructor. 2024-01-05 08:02:42,231 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.ws_client: WSClient initializing... 2024-01-05 08:02:42,231 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.connection_manager: ConnectionManager initializing... 2024-01-05 08:02:42,231 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.credentials: Credentials initializing... 2024-01-05 08:02:42,231 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.configuration: Begin app constructor. 2024-01-05 08:02:42,231 [ INFO] JELLYFIN.jellyfin_apiclient_python.connection_manager: Begin connect 2024-01-05 08:02:42,232 [ INFO] JELLYFIN.jellyfin_apiclient_python.connection_manager: Begin getAvailableServers 2024-01-05 08:02:42,232 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.credentials: credentialsupdated 2024-01-05 08:02:42,232 [ INFO] JELLYFIN.jellyfin_apiclient_python.connection_manager: connect has 1 servers 2024-01-05 08:02:42,232 [ INFO] JELLYFIN.jellyfin_apiclient_python.connection_manager: begin connect_to_server 2024-01-05 08:02:42,232 [ INFO] JELLYFIN.jellyfin_apiclient_python.api: Sending get request to system/info/public 2024-01-05 08:02:42,232 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.api: 5 2024-01-05 08:02:42,233 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.api: {'Accept': 'application/json', 'Content-type': 'application/x-www-form-urlencoded; charset=UTF-8', 'X-Application': 'Jellyfin MPV Shim/2.6.0', 'Accept-Charset': 'UTF-8,', 'Accept-encoding': 'gzip', 'User-Agent': 'Jellyfin-MPV-Shim/2.6.0', 'x-emby-authorization': 'MediaBrowser Client=Jellyfin MPV Shim, Device=NanoPC-T6, DeviceId=c452e77a-9dfd-413a-aca8-ca2e0d48a206, Version=2.6.0'} 2024-01-05 08:02:42,236 [ DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): 192.168.8.60:8096 2024-01-05 08:02:42,241 [ DEBUG] urllib3.connectionpool: http://192.168.8.60:8096 "GET /system/info/public HTTP/1.1" 200 None 2024-01-05 08:02:42,242 [ INFO] JELLYFIN.jellyfin_apiclient_python.connection_manager: calling onSuccessfulConnection with server 0e98a9f408f2 2024-01-05 08:02:42,243 [ INFO] JELLYFIN.jellyfin_apiclient_python.api: Sending get request to system/info 2024-01-05 08:02:42,243 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.api: 5 2024-01-05 08:02:42,243 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.api: {'Accept': 'application/json', 'Content-type': 'application/x-www-form-urlencoded; charset=UTF-8', 'X-Application': 'Jellyfin MPV Shim/2.6.0', 'Accept-Charset': 'UTF-8,', 'Accept-encoding': 'gzip', 'User-Agent': 'Jellyfin-MPV-Shim/2.6.0', 'x-emby-authorization': 'MediaBrowser Client=Jellyfin MPV Shim, Device=NanoPC-T6, DeviceId=c452e77a-9dfd-413a-aca8-ca2e0d48a206, Version=2.6.0', 'X-MediaBrowser-Token': 'REDACTED'} 2024-01-05 08:02:42,244 [ DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): 192.168.8.60:8096 2024-01-05 08:02:42,254 [ DEBUG] urllib3.connectionpool: http://192.168.8.60:8096 "GET /system/info HTTP/1.1" 200 None 2024-01-05 08:02:42,255 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.credentials: credentialsupdated 2024-01-05 08:02:42,255 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.connection_manager: resolving connect with result: {'Servers': "[{'address': 'http://192.168.8.60:8096', 'Name': '0e98a9f408f2', 'Id': 'e79c0d8142574974862cb7ee8719776d', 'DateLastAccessed': '2024-01-05T08:02:42Z', 'UserId': '3f7a17d393ed49edbf6bdd77076ddfd6', 'AccessToken': 'REDACTED', 'Users': [{'Id': '3f7a17d393ed49edbf6bdd77076ddfd6', 'IsSignedInOffline': True}], 'uuid': 'b7cff27f-5efb-466c-9d23-0fc16cefd15e', 'username': 'Serge', 'connected': True}]", 'State': 3} 2024-01-05 08:02:42,255 [ INFO] JELLYFIN.jellyfin_apiclient_python.client: User is authenticated. 2024-01-05 08:02:42,256 [ DEBUG] urllib3.util.retry: Converted retries value: 3 -> 'Retry(total=3, connect=None, read=None, redirect=None, status=None)' 2024-01-05 08:02:42,256 [ DEBUG] urllib3.util.retry: Converted retries value: 3 -> 'Retry(total=3, connect=None, read=None, redirect=None, status=None)' 2024-01-05 08:02:42,257 [ INFO] JELLYFIN.jellyfin_apiclient_python.ws_client: Websocket url: ws://192.168.8.60:8096/socket?api_key=REDACTED&device_id=c452e77a-9dfd-413a-aca8-ca2e0d48a206 2024-01-05 08:02:42,261 [ DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): 192.168.8.60:8096 2024-01-05 08:02:42,286 [ INFO] websocket: Websocket connected 2024-01-05 08:02:42,289 [ INFO] JELLYFIN.jellyfin_apiclient_python.ws_client: --->[ websocket ] 2024-01-05 08:02:42,289 [ DEBUG] event_handler: Unhandled Event WebSocketConnect: None 2024-01-05 08:02:42,301 [ DEBUG] urllib3.connectionpool: http://192.168.8.60:8096 "POST /Sessions/Capabilities/Full HTTP/1.1" 204 0 2024-01-05 08:02:42,308 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.ws_client: ForceKeepAlive received from server. 2024-01-05 08:02:42,309 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.ws_client: KeepAlive received from server. 2024-01-05 08:02:42,315 [ DEBUG] urllib3.connectionpool: http://192.168.8.60:8096 "GET /Sessions?ControllableByUserId=3f7a17d393ed49edbf6bdd77076ddfd6 HTTP/1.1" 200 None 2024-01-05 08:03:02,290 [ DEBUG] websocket: Sending ping 2024-01-05 08:03:12,293 [ DEBUG] websocket: Sending ping 2024-01-05 08:03:12,311 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.ws_client: KeepAlive received from server. 2024-01-05 08:03:21,663 [ WARNING] clients: Adding http:// because it was not provided. 2024-01-05 08:03:21,663 [ WARNING] clients: Adding port 8096 for insecure local http connection. 2024-01-05 08:03:21,664 [ WARNING] clients: If you want to connect to standard http port 80, use :80 in the url. 2024-01-05 08:03:21,664 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.client: JellyfinClient initializing... 2024-01-05 08:03:21,664 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.configuration: Configuration initializing... 2024-01-05 08:03:21,665 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.configuration: Begin http constructor. 2024-01-05 08:03:21,665 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.ws_client: WSClient initializing... 2024-01-05 08:03:21,665 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.connection_manager: ConnectionManager initializing... 2024-01-05 08:03:21,666 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.credentials: Credentials initializing... 2024-01-05 08:03:21,666 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.configuration: Begin app constructor. 2024-01-05 08:03:21,667 [ INFO] JELLYFIN.jellyfin_apiclient_python.api: Sending get request to system/info/public 2024-01-05 08:03:21,667 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.api: 5 2024-01-05 08:03:21,667 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.api: {'Accept': 'application/json', 'Content-type': 'application/x-www-form-urlencoded; charset=UTF-8', 'X-Application': 'Jellyfin MPV Shim/2.6.0', 'Accept-Charset': 'UTF-8,', 'Accept-encoding': 'gzip', 'User-Agent': 'Jellyfin-MPV-Shim/2.6.0', 'x-emby-authorization': 'MediaBrowser Client=Jellyfin MPV Shim, Device=NanoPC-T6, DeviceId=c452e77a-9dfd-413a-aca8-ca2e0d48a206, Version=2.6.0'} 2024-01-05 08:03:21,673 [ DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): 192.168.8.60:8096 2024-01-05 08:03:21,681 [ DEBUG] urllib3.connectionpool: http://192.168.8.60:8096 "GET /system/info/public HTTP/1.1" 200 None 2024-01-05 08:03:21,682 [ INFO] JELLYFIN.jellyfin_apiclient_python.connection_manager: connect_to_address http://192.168.8.60:8096 succeeded 2024-01-05 08:03:21,682 [ INFO] JELLYFIN.jellyfin_apiclient_python.connection_manager: begin connect_to_server 2024-01-05 08:03:21,682 [ INFO] JELLYFIN.jellyfin_apiclient_python.api: Sending get request to system/info/public 2024-01-05 08:03:21,682 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.api: 5 2024-01-05 08:03:21,682 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.api: {'Accept': 'application/json', 'Content-type': 'application/x-www-form-urlencoded; charset=UTF-8', 'X-Application': 'Jellyfin MPV Shim/2.6.0', 'Accept-Charset': 'UTF-8,', 'Accept-encoding': 'gzip', 'User-Agent': 'Jellyfin-MPV-Shim/2.6.0', 'x-emby-authorization': 'MediaBrowser Client=Jellyfin MPV Shim, Device=NanoPC-T6, DeviceId=c452e77a-9dfd-413a-aca8-ca2e0d48a206, Version=2.6.0'} 2024-01-05 08:03:21,683 [ DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): 192.168.8.60:8096 2024-01-05 08:03:21,688 [ DEBUG] urllib3.connectionpool: http://192.168.8.60:8096 "GET /system/info/public HTTP/1.1" 200 None 2024-01-05 08:03:21,689 [ INFO] JELLYFIN.jellyfin_apiclient_python.connection_manager: calling onSuccessfulConnection with server None 2024-01-05 08:03:21,689 [ INFO] JELLYFIN.jellyfin_apiclient_python.credentials: {} 2024-01-05 08:03:21,689 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.credentials: credentials initialized with: {} 2024-01-05 08:03:21,689 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.credentials: credentialsupdated 2024-01-05 08:03:21,689 [ INFO] JELLYFIN.jellyfin_apiclient_python.api: Trying to login to http://192.168.8.60:8096/Users/AuthenticateByName as Serge 2024-01-05 08:03:21,689 [ INFO] JELLYFIN.jellyfin_apiclient_python.api: Sending post request to Users/AuthenticateByName 2024-01-05 08:03:21,689 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.api: (5, 30) 2024-01-05 08:03:21,689 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.api: {'Accept': 'application/json', 'Content-type': 'application/json', 'X-Application': 'Jellyfin MPV Shim/2.6.0', 'Accept-Charset': 'UTF-8,', 'Accept-encoding': 'gzip', 'User-Agent': 'Jellyfin-MPV-Shim/2.6.0', 'x-emby-authorization': 'MediaBrowser Client=Jellyfin MPV Shim, Device=NanoPC-T6, DeviceId=c452e77a-9dfd-413a-aca8-ca2e0d48a206, Version=2.6.0'} 2024-01-05 08:03:21,691 [ DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): 192.168.8.60:8096 2024-01-05 08:03:22,095 [ DEBUG] urllib3.connectionpool: http://192.168.8.60:8096 "POST /Users/AuthenticateByName HTTP/1.1" 200 None 2024-01-05 08:03:22,098 [ INFO] JELLYFIN.jellyfin_apiclient_python.connection_manager: Succesfully logged in as Serge 2024-01-05 08:03:22,099 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.client: JellyfinClient initializing... 2024-01-05 08:03:22,100 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.configuration: Configuration initializing... 2024-01-05 08:03:22,100 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.configuration: Begin http constructor. 2024-01-05 08:03:22,100 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.ws_client: WSClient initializing... 2024-01-05 08:03:22,100 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.connection_manager: ConnectionManager initializing... 2024-01-05 08:03:22,101 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.credentials: Credentials initializing... 2024-01-05 08:03:22,101 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.configuration: Begin app constructor. 2024-01-05 08:03:22,101 [ INFO] JELLYFIN.jellyfin_apiclient_python.connection_manager: Begin connect 2024-01-05 08:03:22,101 [ INFO] JELLYFIN.jellyfin_apiclient_python.connection_manager: Begin getAvailableServers 2024-01-05 08:03:22,102 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.credentials: credentialsupdated 2024-01-05 08:03:22,102 [ INFO] JELLYFIN.jellyfin_apiclient_python.connection_manager: connect has 1 servers 2024-01-05 08:03:22,102 [ INFO] JELLYFIN.jellyfin_apiclient_python.connection_manager: begin connect_to_server 2024-01-05 08:03:22,102 [ INFO] JELLYFIN.jellyfin_apiclient_python.api: Sending get request to system/info/public 2024-01-05 08:03:22,103 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.api: 5 2024-01-05 08:03:22,103 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.api: {'Accept': 'application/json', 'Content-type': 'application/x-www-form-urlencoded; charset=UTF-8', 'X-Application': 'Jellyfin MPV Shim/2.6.0', 'Accept-Charset': 'UTF-8,', 'Accept-encoding': 'gzip', 'User-Agent': 'Jellyfin-MPV-Shim/2.6.0', 'x-emby-authorization': 'MediaBrowser Client=Jellyfin MPV Shim, Device=NanoPC-T6, DeviceId=c452e77a-9dfd-413a-aca8-ca2e0d48a206, Version=2.6.0'} 2024-01-05 08:03:22,107 [ DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): 192.168.8.60:8096 2024-01-05 08:03:22,115 [ DEBUG] urllib3.connectionpool: http://192.168.8.60:8096 "GET /system/info/public HTTP/1.1" 200 None 2024-01-05 08:03:22,117 [ INFO] JELLYFIN.jellyfin_apiclient_python.connection_manager: calling onSuccessfulConnection with server 0e98a9f408f2 2024-01-05 08:03:22,117 [ INFO] JELLYFIN.jellyfin_apiclient_python.api: Sending get request to system/info 2024-01-05 08:03:22,117 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.api: 5 2024-01-05 08:03:22,118 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.api: {'Accept': 'application/json', 'Content-type': 'application/x-www-form-urlencoded; charset=UTF-8', 'X-Application': 'Jellyfin MPV Shim/2.6.0', 'Accept-Charset': 'UTF-8,*', 'Accept-encoding': 'gzip', 'User-Agent': 'Jellyfin-MPV-Shim/2.6.0', 'x-emby-authorization': 'MediaBrowser Client=Jellyfin MPV Shim, Device=NanoPC-T6, DeviceId=c452e77a-9dfd-413a-aca8-ca2e0d48a206, Version=2.6.0', 'X-MediaBrowser-Token': 'REDACTED'} 2024-01-05 08:03:22,120 [ DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): 192.168.8.60:8096 2024-01-05 08:03:22,137 [ DEBUG] urllib3.connectionpool: http://192.168.8.60:8096 "GET /system/info HTTP/1.1" 200 None 2024-01-05 08:03:22,145 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.credentials: credentialsupdated 2024-01-05 08:03:22,145 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.connection_manager: resolving connect with result: {'Servers': "[{'address': 'http://192.168.8.60:8096', 'Name': '0e98a9f408f2', 'Id': 'e79c0d8142574974862cb7ee8719776d', 'DateLastAccessed': '2024-01-05T08:03:22Z', 'UserId': '3f7a17d393ed49edbf6bdd77076ddfd6', 'AccessToken': 'REDACTED', 'Users': [{'Id': '3f7a17d393ed49edbf6bdd77076ddfd6', 'IsSignedInOffline': True}], 'uuid': '593faa5c-44e1-4bd4-a188-2da9b1f1792c', 'username': 'Serge'}]", 'State': 3} 2024-01-05 08:03:22,146 [ INFO] JELLYFIN.jellyfin_apiclient_python.client: User is authenticated. 2024-01-05 08:03:22,146 [ DEBUG] urllib3.util.retry: Converted retries value: 3 -> 'Retry(total=3, connect=None, read=None, redirect=None, status=None)' 2024-01-05 08:03:22,147 [ DEBUG] urllib3.util.retry: Converted retries value: 3 -> 'Retry(total=3, connect=None, read=None, redirect=None, status=None)' 2024-01-05 08:03:22,148 [ INFO] JELLYFIN.jellyfin_apiclient_python.ws_client: Websocket url: ws://192.168.8.60:8096/socket?api_key=REDACTED&device_id=c452e77a-9dfd-413a-aca8-ca2e0d48a206 2024-01-05 08:03:22,151 [ DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): 192.168.8.60:8096 2024-01-05 08:03:22,162 [ DEBUG] urllib3.connectionpool: http://192.168.8.60:8096 "POST /Sessions/Capabilities/Full HTTP/1.1" 204 0 2024-01-05 08:03:22,173 [ DEBUG] urllib3.connectionpool: http://192.168.8.60:8096 "GET /Sessions?ControllableByUserId=3f7a17d393ed49edbf6bdd77076ddfd6 HTTP/1.1" 200 None 2024-01-05 08:03:22,177 [ INFO] websocket: Websocket connected 2024-01-05 08:03:22,178 [ INFO] JELLYFIN.jellyfin_apiclient_python.ws_client: --->[ websocket ] 2024-01-05 08:03:22,178 [ DEBUG] event_handler: Unhandled Event WebSocketConnect: None 2024-01-05 08:03:22,192 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.ws_client: ForceKeepAlive received from server. 2024-01-05 08:03:22,193 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.ws_client: KeepAlive received from server. 2024-01-05 08:03:22,295 [ DEBUG] websocket: Sending ping 2024-01-05 08:03:32,061 [ DEBUG] event_handler: Handled Event GeneralCommand: {'Name': 'DisplayContent', 'ControllingUserId': '3f7a17d393ed49edbf6bdd77076ddfd6', 'Arguments': {'ItemId': '06544ba665e64755d3f2b34194111152', 'ItemType': 'Episode'}, 'ServerId': 'e79c0d8142574974862cb7ee8719776d'} 2024-01-05 08:03:32,297 [ DEBUG] websocket: Sending ping 2024-01-05 08:03:36,973 [ DEBUG] event_handler: Handled Event Play: {'ItemIds': ['06544ba665e64755d3f2b34194111152'], 'PlayCommand': 'PlayNow', 'ControllingUserId': '3f7a17d393ed49edbf6bdd77076ddfd6', 'ServerId': 'e79c0d8142574974862cb7ee8719776d'} 2024-01-05 08:03:36,996 [ DEBUG] urllib3.connectionpool: http://192.168.8.60:8096 "GET /Users/3f7a17d393ed49edbf6bdd77076ddfd6/Items/06544ba665e64755d3f2b34194111152 HTTP/1.1" 200 None 2024-01-05 08:03:36,999 [ DEBUG] event_handler: EventHandler::playMedia <jellyfin_mpv_shim.media.Media object at 0x7fa454eb30> 2024-01-05 08:03:36,999 [ DEBUG] media: Bandwidth: local=True, bitrate=None, force=False 2024-01-05 08:03:37,013 [ DEBUG] urllib3.connectionpool: http://192.168.8.60:8096 "POST /Items/06544ba665e64755d3f2b34194111152/PlaybackInfo HTTP/1.1" 200 None 2024-01-05 08:03:37,017 [ DEBUG] media: Using direct url. 2024-01-05 08:03:37,019 [ INFO] mpv: thumbfast: Clearing trickplay.

2024-01-05 08:03:37,032 [ INFO] mpv: cplayer: (+) Video --vid=1 (*) (hevc 1920x1080 23.976fps)

2024-01-05 08:03:37,032 [ INFO] mpv: cplayer: (+) Audio --aid=1 --alang=eng (*) (ac3 6ch 48000Hz)

2024-01-05 08:03:37,032 [ INFO] mpv: cplayer: Subs --sid=1 --slang=eng (subrip)

2024-01-05 08:03:37,033 [ INFO] mpv: display-tags: File tags:

2024-01-05 08:03:37,033 [ INFO] mpv: display-tags: Comment: ZMNT-Wed-22-Jun-2022,15:16:03,1080p,21,medium,1,1,1,32,2408696,2408696,3110597,0,5,-1,1.778,1,1920,1080,1.778,1.778

2024-01-05 08:03:37,033 [ INFO] mpv: display-tags: Title: The.Umbrella.Academy.S03E10

2024-01-05 08:03:37,171 [ ERROR] mpv: vo/gpu/opengl: Cannot retrieve DRM resources: Operation not supported

2024-01-05 08:03:37,171 [ ERROR] mpv: vo/gpu/opengl: Failed to create KMS.

2024-01-05 08:03:37,172 [ ERROR] mpv: vo/gpu: VT_GETMODE failed: Inappropriate ioctl for device

2024-01-05 08:03:37,172 [ WARNING] mpv: vo/gpu/opengl: Failed to set up VT switcher. Terminal switching will be unavailable.

2024-01-05 08:03:37,172 [ ERROR] mpv: vo/gpu/opengl: Cannot retrieve DRM resources: Operation not supported

2024-01-05 08:03:37,173 [ ERROR] mpv: vo/gpu/opengl: Failed to create KMS.

python3: ../video/out/x11_common.c:552: vo_x11_init: Assertion `!vo->x11' failed.