mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-24 01:34:45 +03:00
Use helper function to compare guid (#10825)
This commit is contained in:
@@ -209,7 +209,7 @@ public class SearchController : BaseJellyfinApiController
|
||||
break;
|
||||
}
|
||||
|
||||
if (!item.ChannelId.Equals(default))
|
||||
if (!item.ChannelId.IsEmpty())
|
||||
{
|
||||
var channel = _libraryManager.GetItemById(item.ChannelId);
|
||||
result.ChannelName = channel?.Name;
|
||||
|
||||
Reference in New Issue
Block a user