packages/jellyfin: init with hls long segments patch

This commit is contained in:
Max Headroom 2023-06-20 16:38:36 +02:00
parent d751a0f16f
commit 165443cf93
2 changed files with 23 additions and 0 deletions

View file

@ -51,6 +51,12 @@ super: rec {
dvc-objects = super.python3Packages.dvc-objects.overrideAttrs dvcMd5ToSha256;
jellyfin = patch (super.jellyfin.override {
ffmpeg = super.ffmpeg.override {
withMfx = true;
};
}) "patches/base/jellyfin";
jre17_standard = let
jre = super.jre_minimal.override {
jdk = super.jdk17_headless;

View file

@ -0,0 +1,17 @@
diff --git a/Jellyfin.Api/Models/StreamingDtos/StreamState.cs b/Jellyfin.Api/Models/StreamingDtos/StreamState.cs
index 192f33e..fd6672b 100644
--- a/Jellyfin.Api/Models/StreamingDtos/StreamState.cs
+++ b/Jellyfin.Api/Models/StreamingDtos/StreamState.cs
@@ -100,10 +100,10 @@ namespace Jellyfin.Api.Models.StreamingDtos
return 3;
}
- return 6;
+ return 9;
}
- return 3;
+ return 6;
}
}