packages/jellyfin: init with hls long segments patch
This commit is contained in:
parent
d751a0f16f
commit
165443cf93
2 changed files with 23 additions and 0 deletions
|
@ -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;
|
||||
|
|
17
patches/base/jellyfin/hls-long-segments.patch
Normal file
17
patches/base/jellyfin/hls-long-segments.patch
Normal 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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in a new issue