The Free Software Media System - Server Backend & API
update polymer components
Luke Pulverenti50f6ee1039cf
diff --git a/MediaBrowser.Server.Implementations/LiveTv/LiveTvManager.cs b/MediaBrowser.Server.Implementations/LiveTv/LiveTvManager.csindex 7244a3c881..f872817cfc 100644--- a/MediaBrowser.Server.Implementations/LiveTv/LiveTvManager.cs+++ b/MediaBrowser.Server.Implementations/LiveTv/LiveTvManager.cs@@ -666,7 +666,7 @@ namespace MediaBrowser.Server.Implementations.LiveTv{item.SetImagePath(ImageType.Primary, info.ImageUrl);}-+if (isNew){await _libraryManager.CreateItem(item, cancellationToken).ConfigureAwait(false);@@ -831,7 +831,7 @@ namespace MediaBrowser.Server.Implementations.LiveTvpublic async Task<QueryResult<BaseItemDto>> GetPrograms(ProgramQuery query, DtoOptions options, CancellationToken cancellationToken){var user = string.IsNullOrEmpty(query.UserId) ? null : _userManager.GetUserById(query.UserId);-+var internalQuery = new InternalItemsQuery(user){IncludeItemTypes = new[] { typeof(LiveTvProgram).Name },@@ -890,7 +890,7 @@ namespace MediaBrowser.Server.Implementations.LiveTvpublic async Task<QueryResult<LiveTvProgram>> GetRecommendedProgramsInternal(RecommendedProgramQuery query, CancellationToken cancellationToken){var user = _userManager.GetUserById(query.UserId);-+var internalQuery = new InternalItemsQuery(user){IncludeItemTypes = new[] { typeof(LiveTvProgram).Name },@@ -1378,7 +1378,7 @@ namespace MediaBrowser.Server.Implementations.LiveTvinternalQuery.ChannelIds = new[] { query.ChannelId };}- var queryResult = _libraryManager.GetItems(internalQuery, user, new string[]{});+ var queryResult = _libraryManager.GetItems(internalQuery, user, new string[] { });IEnumerable<ILiveTvRecording> recordings = queryResult.Cast<ILiveTvRecording>();if (!string.IsNullOrEmpty(query.Id))@@ -1783,9 +1783,9 @@ namespace MediaBrowser.Server.Implementations.LiveTvMaxStartDate = now,MinEndDate = now,Limit = 1,- SortBy = new[] { "StartDate"}+ SortBy = new[] { "StartDate" }- }, user, new string[]{}).Cast<LiveTvProgram>();+ }, user, new string[] { }).Cast<LiveTvProgram>();var currentProgram = programs.FirstOrDefault();@@ -1809,7 +1809,7 @@ namespace MediaBrowser.Server.Implementations.LiveTvLimit = 1,SortBy = new[] { "StartDate" }- }, user, new string []{}).Cast<LiveTvProgram>();+ }, user, new string[] { }).Cast<LiveTvProgram>();var currentProgram = programs.FirstOrDefault();diff --git a/MediaBrowser.sln b/MediaBrowser.slnindex 3fc5e3f33d..0dadf9136e 100644--- a/MediaBrowser.sln+++ b/MediaBrowser.sln@@ -12,6 +12,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "SolutionPerformance2.psess = Performance2.psessPerformance3.psess = Performance3.psessPerformance4.psess = Performance4.psess+ Performance5.psess = Performance5.psessEndProjectSectionEndProjectProject("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".nuget (2)", ".nuget (2)", "{E60FB157-87E2-4A41-8B04-27EA49B63B4D}"@@ -543,4 +544,7 @@ GlobalGlobalSection(SolutionProperties) = preSolutionHideSolutionNode = FALSEEndGlobalSection+ GlobalSection(Performance) = preSolution+ HasPerformanceSessions = true+ EndGlobalSectionEndGlobal