Clean up Emby.Server.Implementations/LiveTv/EmbyTV/EmbyTV.cs

This commit is contained in:
Bond_009
2019-12-04 21:39:27 +01:00
parent f3ca4631c3
commit 5cab79c839
11 changed files with 319 additions and 298 deletions

View File

@@ -768,7 +768,7 @@ namespace MediaBrowser.Api.Playback
if (mediaSource == null)
{
var mediaSources = (await MediaSourceManager.GetPlayackMediaSources(LibraryManager.GetItemById(request.Id), null, false, false, cancellationToken).ConfigureAwait(false)).ToList();
var mediaSources = (await MediaSourceManager.GetPlaybackMediaSources(LibraryManager.GetItemById(request.Id), null, false, false, cancellationToken).ConfigureAwait(false)).ToList();
mediaSource = string.IsNullOrEmpty(request.MediaSourceId)
? mediaSources[0]