From cc590f82b9fd29ecbc500cecc335411a4e8f6ec7 Mon Sep 17 00:00:00 2001
From: Pithaya <19533412+Pithaya@users.noreply.github.com>
Date: Sun, 8 Oct 2023 01:08:03 +0200
Subject: [PATCH 1/3] Allow people on books
---
MediaBrowser.Controller/Entities/Book.cs | 3 +++
1 file changed, 3 insertions(+)
diff --git a/MediaBrowser.Controller/Entities/Book.cs b/MediaBrowser.Controller/Entities/Book.cs
index d75beb06da..519dfa82aa 100644
--- a/MediaBrowser.Controller/Entities/Book.cs
+++ b/MediaBrowser.Controller/Entities/Book.cs
@@ -24,6 +24,9 @@ namespace MediaBrowser.Controller.Entities
public override bool SupportsPositionTicksResume => true;
+ [JsonIgnore]
+ public override bool SupportsPeople => true;
+
[JsonIgnore]
public string SeriesPresentationUniqueKey { get; set; }
From e6bb86e64955140c66e2b5b6547fddc5e04f8be0 Mon Sep 17 00:00:00 2001
From: Pithaya <19533412+Pithaya@users.noreply.github.com>
Date: Sun, 8 Oct 2023 01:08:57 +0200
Subject: [PATCH 2/3] Add a Book ExternalIdMediaType
---
MediaBrowser.Model/Providers/ExternalIdMediaType.cs | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/MediaBrowser.Model/Providers/ExternalIdMediaType.cs b/MediaBrowser.Model/Providers/ExternalIdMediaType.cs
index 5303c8f58b..ef518369cc 100644
--- a/MediaBrowser.Model/Providers/ExternalIdMediaType.cs
+++ b/MediaBrowser.Model/Providers/ExternalIdMediaType.cs
@@ -66,6 +66,11 @@ namespace MediaBrowser.Model.Providers
///
/// A music track.
///
- Track = 12
+ Track = 12,
+
+ ///
+ /// A book.
+ ///
+ Book = 13
}
}
From 948a67cfeb1aa045099c4486da4eb1fd459a676f Mon Sep 17 00:00:00 2001
From: Pithaya <19533412+Pithaya@users.noreply.github.com>
Date: Sun, 8 Oct 2023 01:11:08 +0200
Subject: [PATCH 3/3] Update CONTRIBUTORS.md
---
CONTRIBUTORS.md | 1 +
1 file changed, 1 insertion(+)
diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md
index e3af12a497..dfdfabd189 100644
--- a/CONTRIBUTORS.md
+++ b/CONTRIBUTORS.md
@@ -168,6 +168,7 @@
- [TheTyrius](https://github.com/TheTyrius)
- [tallbl0nde](https://github.com/tallbl0nde)
- [sleepycatcoding](https://github.com/sleepycatcoding)
+ - [Pithaya](https://github.com/Pithaya)
# Emby Contributors