feat(jelly): add merge versions plugin
All checks were successful
Discord / discord commits (push) Has been skipped

This commit is contained in:
matt1432 2024-05-26 15:48:19 -04:00
parent 67671e5568
commit 6fd17209c7
2 changed files with 9 additions and 1 deletions

View file

@ -48,6 +48,10 @@ in {
name = "Intro Skipper"; name = "Intro Skipper";
url = "https://raw.githubusercontent.com/jumoog/intro-skipper/master/manifest.json"; url = "https://raw.githubusercontent.com/jumoog/intro-skipper/master/manifest.json";
} }
{
name = "Merge Versions Plugin";
url = "https://raw.githubusercontent.com/danieladov/JellyfinPluginManifest/master/manifest.json";
}
]; ];
enableSlowResponseWarning = false; enableSlowResponseWarning = false;

View file

@ -11,7 +11,11 @@
in { in {
services.jellyfin = { services.jellyfin = {
package = jellyPkgs.jellyfin; package = jellyPkgs.jellyfin;
webPackage = jellyPkgs.jellyfin-web; webPackage = jellyPkgs.jellyfin-web.overrideAttrs {
postInstall = ''
sed -E -i 's/enableBackdrops\:function\(\)\{return \_\}/enableBackdrops\:function\(\)\{return P\}/' $out/share/jellyfin-web/main.jellyfin.bundle.js
'';
};
ffmpegPackage = jellyPkgs.jellyfin-ffmpeg; ffmpegPackage = jellyPkgs.jellyfin-ffmpeg;
}; };