mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-15 18:53:27 +01:00
update GetItems method
This commit is contained in:
@@ -11,7 +11,7 @@ using System.Linq;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using MediaBrowser.Common.Extensions;
|
||||
using MediaBrowser.Common.IO;
|
||||
|
||||
using MediaBrowser.Controller.Channels;
|
||||
using MediaBrowser.Controller.IO;
|
||||
using MediaBrowser.Model.IO;
|
||||
@@ -552,7 +552,7 @@ namespace MediaBrowser.Controller.Entities
|
||||
if (SourceType == SourceType.Channel)
|
||||
{
|
||||
var sources = ChannelManager.GetStaticMediaSources(this, CancellationToken.None)
|
||||
.Result.ToList();
|
||||
.ToList();
|
||||
|
||||
if (sources.Count > 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user