mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-16 14:03:03 +03:00
fix livetv id check
This commit is contained in:
@@ -592,11 +592,11 @@ namespace Jellyfin.Api.Controllers
|
||||
GenreIds = RequestHelpers.GetGuids(genreIds)
|
||||
};
|
||||
|
||||
if (!librarySeriesId.Equals(Guid.Empty))
|
||||
if (librarySeriesId != null && !librarySeriesId.Equals(Guid.Empty))
|
||||
{
|
||||
query.IsSeries = true;
|
||||
|
||||
if (_libraryManager.GetItemById(librarySeriesId ?? Guid.Empty) is Series series)
|
||||
if (_libraryManager.GetItemById(librarySeriesId.Value) is Series series)
|
||||
{
|
||||
query.Name = series.Name;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user