jellyfin-mpv-shim: fix requirements

python-mpv has been renamed to mpv, while mpv-jsonipc's package name is python_mpv_jsonipc

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
Sefa Eyeoglu 2023-08-07 10:40:26 +02:00 committed by Bjørn Forsman
parent 9d1d10a0ba
commit 4dd23ff329

View File

@ -61,6 +61,10 @@ buildPythonApplication rec {
substituteInPlace jellyfin_mpv_shim/conf.py \
--replace "check_updates: bool = True" "check_updates: bool = False" \
--replace "notify_updates: bool = True" "notify_updates: bool = False"
# python-mpv renamed to mpv with 1.0.4
substituteInPlace setup.py \
--replace "python-mpv" "mpv" \
--replace "mpv-jsonipc" "python_mpv_jsonipc"
'';
# Install all the icons for the desktop item