From 4f746c40d7ffd0d4be46531a057bf6daed121bd8 Mon Sep 17 00:00:00 2001 From: Cody Robibero Date: Thu, 25 Jul 2024 11:18:25 -0600 Subject: suggestions from review --- Jellyfin.Api/Controllers/LiveTvController.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Jellyfin.Api/Controllers/LiveTvController.cs') diff --git a/Jellyfin.Api/Controllers/LiveTvController.cs b/Jellyfin.Api/Controllers/LiveTvController.cs index a15ff0f52..0cf36f57e 100644 --- a/Jellyfin.Api/Controllers/LiveTvController.cs +++ b/Jellyfin.Api/Controllers/LiveTvController.cs @@ -677,11 +677,11 @@ public class LiveTvController : BaseJellyfinApiController GenreIds = body.GenreIds ?? [] }; - if (!body.LibrarySeriesId.IsEmpty()) + if (!body.LibrarySeriesId.IsNullOrEmpty()) { query.IsSeries = true; - var series = _libraryManager.GetItemById(body.LibrarySeriesId); + var series = _libraryManager.GetItemById(body.LibrarySeriesId.Value); if (series is not null) { query.Name = series.Name; -- cgit v1.2.3