commit 72590158299ecbf9598d744d914dfe027962e16f
Author: Michael Cronenworth <mike(a)cchtml.com>
Date: Sun Oct 1 15:41:19 2023 -0500
Revert upstream patch to fix playlist view
jellyfin-10.8.11-playlist-revert.patch | 23 +++++++++++++++++++++++
jellyfin.spec | 7 ++++++-
2 files changed, 29 insertions(+), 1 deletion(-)
---
diff --git a/jellyfin-10.8.11-playlist-revert.patch
b/jellyfin-10.8.11-playlist-revert.patch
new file mode 100644
index 0000000..f9efb8a
--- /dev/null
+++ b/jellyfin-10.8.11-playlist-revert.patch
@@ -0,0 +1,23 @@
+From 98c6c34fbbcdb556873bdcdb577fbc55a296b650 Mon Sep 17 00:00:00 2001
+From: Bond_009 <bond.009(a)outlook.com>
+Date: Tue, 20 Jun 2023 18:06:30 +0200
+Subject: [PATCH] Don't ignore parentId for playlists (revert)
+
+---
+ Jellyfin.Api/Controllers/ItemsController.cs | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/Jellyfin.Api/Controllers/ItemsController.cs
b/Jellyfin.Api/Controllers/ItemsController.cs
+index e5ef6b23e98..001d8095f4f 100644
+--- a/Jellyfin.Api/Controllers/ItemsController.cs
++++ b/Jellyfin.Api/Controllers/ItemsController.cs
+@@ -244,7 +244,8 @@ public class ItemsController : BaseJellyfinApiController
+ .AddAdditionalDtoOptions(enableImages, enableUserData, imageTypeLimit,
enableImageTypes);
+
+ if (includeItemTypes.Length == 1
++ && (includeItemTypes[0] == BaseItemKind.Playlist
++ || includeItemTypes[0] == BaseItemKind.BoxSet))
+- && includeItemTypes[0] == BaseItemKind.BoxSet)
+ {
+ parentId = null;
+ }
diff --git a/jellyfin.spec b/jellyfin.spec
index 8dece26..87a77d9 100644
--- a/jellyfin.spec
+++ b/jellyfin.spec
@@ -9,7 +9,7 @@
Name: jellyfin
Version: 10.8.11
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: The Free Software Media System
License: GPL-2.0-only
URL:
https://jellyfin.org
@@ -34,6 +34,8 @@ Source18: %{name}.sysusers
#
https://github.com/jellyfin/jellyfin/pull/10275
Patch0: %{name}-vaapi-sei.patch
+#
https://github.com/jellyfin/jellyfin/issues/10272
+Patch1: %{name}-10.8.11-playlist-revert.patch
# dotnet does not offer a runtime on ppc
ExcludeArch: %{power64} ppc64le %{arm}
@@ -295,6 +297,9 @@ fi
%changelog
+* Sun Oct 01 2023 Michael Cronenworth <mike(a)cchtml.com> - 10.8.11-3
+- Restore playlist view
+
* Mon Sep 25 2023 Michael Cronenworth <mike(a)cchtml.com> - 10.8.11-2
- Fix LiveTV with FFMPEG 6