Package Details: jellyfin-mpv-shim 2.8.0-1

Git Clone URL: https://aur.archlinux.org/jellyfin-mpv-shim.git (read-only, click to copy)
Package Base: jellyfin-mpv-shim
Description: Cast media from Jellyfin Mobile and Web apps to MPV
Upstream URL: https://github.com/jellyfin/jellyfin-mpv-shim
Licenses: MIT
Submitter: kruzah
Maintainer: anonfunc
Last Packager: anonfunc
Votes: 23
Popularity: 1.54
First Submitted: 2020-04-01 14:52 (UTC)
Last Updated: 2024-06-07 16:45 (UTC)

Dependencies (17)

Required by (0)

Sources (2)

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

chrisqq commented on 2021-12-18 14:52 (UTC)

@kruzah that is a nifty little trick I am going to be keeping in my back pocket going forward. Thanks, that sorted it.

kruzah commented on 2021-12-18 14:14 (UTC)

@chrisqq There may be other old Python packages that are out of date, or dependences of dependencies. Run pacman -Qo /usr/lib/python3.9 and do a clean build and reinstall of all the packages that show up.

chrisqq commented on 2021-12-17 22:13 (UTC)

@GGJamie I tried that then tried again with your example (and corrected hellyfin to jellyfin) and I still get the same error. I also did a cleanbuild of all the l isted dependencies

NGGJamie commented on 2021-12-15 22:51 (UTC) (edited on 2022-03-20 11:14 (UTC) by NGGJamie)

To fix the recent errors, you have to cleanbuild the python dependencies for the newest version of python. So, if you're using yay for example, yay -S --answerclean All python-mpv-jsonipc python-jellyfin-apiclient python-setuptools as well as any optional python libraries you're using.

chrisqq commented on 2021-12-15 05:00 (UTC) (edited on 2021-12-15 05:03 (UTC) by chrisqq)

Hi I am also getting an error, it's slightly different than l4kr's error:

Traceback (most recent call last):
  File "/usr/bin/jellyfin-mpv-shim", line 33, in <module>
    sys.exit(load_entry_point('jellyfin-mpv-shim==2.0.1', 'console_scripts', 'jellyfin-mpv-shim')())
  File "/usr/bin/jellyfin-mpv-shim", line 22, in importlib_load_entry_point
    for entry_point in distribution(dist_name).entry_points
  File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 919, in distribution
    return Distribution.from_name(distribution_name)
  File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 518, in from_name
    raise PackageNotFoundError(name)
importlib.metadata.PackageNotFoundError: No package metadata was found for jellyfin-mpv-shim

l4kr commented on 2021-12-14 16:51 (UTC) (edited on 2021-12-14 16:52 (UTC) by l4kr)

Hi, I'm getting these lines when running jellyfin-mpv-shim:

Traceback (most recent call last):
File "/usr/bin/jellyfin-mpv-shim", line 33, in <module>
sys.exit(load_entry_point('jellyfin-mpv-shim==2.0.1', 'console_scripts', 'jellyfin-mpv-shim')())
File "/usr/bin/jellyfin-mpv-shim", line 25, in importlib_load_entry_point
return next(matches).load()
File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 162, in load
module = import_module(match.group('module'))
File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/usr/lib/python3.10/site-packages/jellyfin_mpv_shim/mpv_shim.py", line 11, in <module>
from .clients import clientManager
File "/usr/lib/python3.10/site-packages/jellyfin_mpv_shim/clients.py", line 1, in <module>
from jellyfin_apiclient_python import JellyfinClient
ModuleNotFoundError: No module named 'jellyfin_apiclient_python'

kruzah commented on 2021-03-13 21:00 (UTC)

@sseneca Looks like an issue with the python-pydantic dependency. I checked the change history on that package, and it seems that the maintainers picked up on that a few hours after your post, so it should be fixed now.