mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-16 05:53:03 +03:00
suggestions from review
This commit is contained in:
@@ -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<Series>(body.LibrarySeriesId);
|
||||
var series = _libraryManager.GetItemById<Series>(body.LibrarySeriesId.Value);
|
||||
if (series is not null)
|
||||
{
|
||||
query.Name = series.Name;
|
||||
|
||||
Reference in New Issue
Block a user