Jellyfin Media Player: Enable MPRIS

This commit is contained in:
GHOSCHT 2025-01-11 23:17:28 +01:00
parent ea8e5fd3e6
commit 9dd541f228
Signed by: ghoscht
GPG key ID: 2C2C1C62A5388E82
2 changed files with 8 additions and 10 deletions

View file

@ -1,4 +1,7 @@
{ inputs, ... }: { { inputs
, pkgs
, ...
}: {
imports = [ imports = [
./global ./global
./features/desktop/awesome ./features/desktop/awesome
@ -30,6 +33,10 @@
}; };
}; };
home.file = {
".local/share/jellyfinmediaplayer/scripts/mpris.so".source = "${pkgs.mpvScripts.mpris}/share/mpv/scripts/mpris.so";
};
services.flatpak.overrides = { services.flatpak.overrides = {
"com.github.iwalton3.jellyfin-media-player".Context = { "com.github.iwalton3.jellyfin-media-player".Context = {
sockets = [ sockets = [

View file

@ -18,15 +18,6 @@
]; ];
}; };
}; };
# "com.github.iwalton3.jellyfin-media-player".Context = {
# sockets = [
# "!wayland"
# "x11"
# ];
# devices = [
# "dri" # GPU acceleration
# ];
# };
}; };
}; };
} }