iwalton3 / plex-mpv-shim

Cast media from Plex Mobile and Web apps to MPV. (Unofficial)
MIT License
368 stars 21 forks source link

plex-mpv-shim not working #61

Open tarunjain3 opened 2 years ago

tarunjain3 commented 2 years ago

error message : one running this command ; "plex-mpv-shim" i got this under writter message

2022-01-24 23:28:46,757 [ INFO] conf: Loaded settings from json: /home/tarun/.config/plex-mpv-shim/conf.json Traceback (most recent call last): File "/usr/local/bin/plex-mpv-shim", line 11, in sys.exit(main()) File "/usr/local/lib/python3.6/dist-packages/plex_mpv_shim/mpv_shim.py", line 47, in main from .player import playerManager File "/usr/local/lib/python3.6/dist-packages/plex_mpv_shim/player.py", line 23, in import mpv File "/usr/local/lib/python3.6/dist-packages/mpv.py", line 531, in _handle_func('mpv_detach_destroy', [], None, errcheck=None) File "/usr/local/lib/python3.6/dist-packages/mpv.py", line 478, in _handle_func func = getattr(backend, name) File "/usr/lib/python3.6/ctypes/init.py", line 361, in getattr func = self.getitem(name) File "/usr/lib/python3.6/ctypes/init.py", line 366, in getitem func = self._FuncPtr((name_or_ordinal, self)) AttributeError: /usr/local/lib/libmpv.so.2: undefined symbol: mpv_detach_destroy

System configuration: ubuntu: 18.04 ram 8gb

Installing steps: I followed all the steps mentioned in Documentation for installation

iwalton3 commented 2 years ago

The latest MPV master branch has had breakage with the libmpv1 library. Use the last stable version or switch to external MPV mode, which should not be affected.

takase1121 commented 2 years ago

The latest MPV master branch has had breakage with the libmpv1 library. Use the last stable version or switch to external MPV mode, which should not be affected.

This change has been released as v0.35.0, perhaps this issue and comment should be pinned.

iwalton3 commented 1 year ago

See here for another fix: https://github.com/iwalton3/plex-mpv-shim/issues/72#issuecomment-1365374854