Package Details: plex-mpv-shim 1.11.0-1

Git Clone URL: https://aur.archlinux.org/plex-mpv-shim.git (read-only, click to copy)
Package Base: plex-mpv-shim
Description: Cast media from Plex Mobile and Web apps to MPV
Upstream URL: https://github.com/iwalton3/plex-mpv-shim
Licenses: MIT
Submitter: polyzen
Maintainer: None
Last Packager: polyzen
Votes: 5
Popularity: 0.000087
First Submitted: 2021-12-10 20:23 (UTC)
Last Updated: 2023-02-15 17:28 (UTC)

Dependencies (8)

Required by (0)

Sources (1)

Latest Comments

1 2 Next › Last »

bkazmierczak commented on 2024-12-30 09:52 (UTC) (edited on 2024-12-30 09:53 (UTC) by bkazmierczak)

The package is broken after last system update. Trying to actually play anything results in the following error:

Exception occurred during processing of request from ('127.0.0.1', 42716)
Traceback (most recent call last):
  File "/usr/lib/python3.13/socketserver.py", line 692, in process_request_thread
    self.finish_request(request, client_address)
    ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/socketserver.py", line 362, in finish_request
    self.RequestHandlerClass(request, client_address, self)
    ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/http/server.py", line 672, in __init__
    super().__init__(*args, **kwargs)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/socketserver.py", line 761, in __init__
    self.handle()
    ~~~~~~~~~~~^^
  File "/usr/lib/python3.13/http/server.py", line 436, in handle
    self.handle_one_request()
    ~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3.13/http/server.py", line 424, in handle_one_request
    method()
    ~~~~~~^^
  File "/usr/lib/python3.13/site-packages/plex_mpv_shim/client.py", line 199, in do_GET
    self.handle_request("GET")
    ~~~~~~~~~~~~~~~~~~~^^^^^^^
  File "/usr/lib/python3.13/site-packages/plex_mpv_shim/client.py", line 177, in handle_request
    getattr(self, handler)(path, query)
    ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/plex_mpv_shim/client.py", line 317, in playMedia
    media = Media(url, media_type=parsed_media_type, play_queue=playQueue)
  File "/usr/lib/python3.13/site-packages/plex_mpv_shim/media.py", line 560, in __init__
    XMLCollection.__init__(self, url)
    ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/plex_mpv_shim/media.py", line 537, in __init__
    self.tree       = et.parse(urllib.request.urlopen(get_plex_url(url), cafile=certifi.where()))
                               ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: urlopen() got an unexpected keyword argument 'cafile'

According to https://docs.python.org/3/library/urllib.request.html "cafile" argument is obsolete.

mfcmquintela commented on 2024-05-07 10:26 (UTC)

polyzen, python-mpv 1.0.6 indeed fixes the issue. thank you for the heads up

polyzen commented on 2024-05-01 17:58 (UTC)

mfcmquintela, should be fixed with python-mpv 1.0.6 in testing.

mfcmquintela commented on 2024-04-20 10:25 (UTC)

Package recently broke for me (see https://github.com/iwalton3/plex-mpv-shim/issues/112). Issue appears to be related to a system update, possibly mpv.

synchro commented on 2023-09-29 08:33 (UTC)

If you want to fix the missing tray icon, Set GDK_BACKEND=x11 before launching the script.

Might be worth creating a desktop file for DE integration and making some kind of wrapper script to make sure that's set.

vodka commented on 2023-03-05 11:04 (UTC)

polyzen, it seems the issue is serversided(1) It is easily circumvented with a userscript called MPV Shim Local Connection(2)

1: https://github.com/iwalton3/plex-mpv-shim/issues/87 2: https://greasyfork.org/en/scripts/398049-mpv-shim-local-connection

polyzen commented on 2023-02-04 17:01 (UTC)

vodka, I haven't seen that issue, but normally if I try to connect just after launching plex-mpv-shim, it won't be able to connect the first time but will connect after.

vodka commented on 2023-01-27 16:21 (UTC)

Is this broken for anyone else? I get no errors at all and everything seems fine, but as soon as I try and select the mpv-shim as a player in Plex, it instantly goes "do you want to continue playback here?", there is 0 information as to what went wrong from Plex nor plex-mpv-shim. I tried on a fresh install of arch, and with all dependencies included with the same issue.