The Free Software Media System - Server Backend & API
fix SA1508
telans3d9049ef08b7
diff --git a/Emby.Dlna/Didl/Filter.cs b/Emby.Dlna/Didl/Filter.csindex e4177239e1..b730d9db25 100644--- a/Emby.Dlna/Didl/Filter.cs+++ b/Emby.Dlna/Didl/Filter.cs@@ -12,7 +12,6 @@ namespace Emby.Dlna.Didlpublic Filter(): this("*"){-}public Filter(string filter)diff --git a/Emby.Dlna/DlnaManager.cs b/Emby.Dlna/DlnaManager.csindex ac9cd0ed3e..e5f4839508 100644--- a/Emby.Dlna/DlnaManager.cs+++ b/Emby.Dlna/DlnaManager.cs@@ -88,7 +88,6 @@ namespace Emby.Dlna.Select(i => i.Item2).ToList();}-}public DeviceProfile GetDefaultProfile()diff --git a/Emby.Dlna/Eventing/EventManager.cs b/Emby.Dlna/Eventing/EventManager.csindex efbb53b644..5a51569e21 100644--- a/Emby.Dlna/Eventing/EventManager.cs+++ b/Emby.Dlna/Eventing/EventManager.cs@@ -169,7 +169,6 @@ namespace Emby.Dlna.Eventing{using (await _httpClient.SendAsync(options, new HttpMethod("NOTIFY")).ConfigureAwait(false)){-}}catch (OperationCanceledException)diff --git a/Emby.Dlna/PlayTo/Device.cs b/Emby.Dlna/PlayTo/Device.csindex 156a1f3829..86b72e264d 100644--- a/Emby.Dlna/PlayTo/Device.cs+++ b/Emby.Dlna/PlayTo/Device.cs@@ -794,7 +794,6 @@ namespace Emby.Dlna.PlayTo}catch (XmlException){-}// first try to add a root node with a dlna namesapce@@ -806,7 +805,6 @@ namespace Emby.Dlna.PlayTo}catch (XmlException){-}// some devices send back invalid xml@@ -816,7 +814,6 @@ namespace Emby.Dlna.PlayTo}catch (XmlException){-}return null;diff --git a/Emby.Dlna/PlayTo/PlayToManager.cs b/Emby.Dlna/PlayTo/PlayToManager.csindex cd76124835..c0500eb68b 100644--- a/Emby.Dlna/PlayTo/PlayToManager.cs+++ b/Emby.Dlna/PlayTo/PlayToManager.cs@@ -112,7 +112,6 @@ namespace Emby.Dlna.PlayTo}catch (OperationCanceledException){-}catch (Exception ex){@@ -243,7 +242,6 @@ namespace Emby.Dlna.PlayTo}catch{-}_sessionLock.Dispose();diff --git a/Emby.Dlna/PlayTo/SsdpHttpClient.cs b/Emby.Dlna/PlayTo/SsdpHttpClient.csindex 8c13620075..ab262bebfc 100644--- a/Emby.Dlna/PlayTo/SsdpHttpClient.cs+++ b/Emby.Dlna/PlayTo/SsdpHttpClient.cs@@ -91,7 +91,6 @@ namespace Emby.Dlna.PlayTousing (await _httpClient.SendAsync(options, new HttpMethod("SUBSCRIBE")).ConfigureAwait(false)){-}}diff --git a/Emby.Server.Implementations/Data/BaseSqliteRepository.cs b/Emby.Server.Implementations/Data/BaseSqliteRepository.csindex f816fd54f1..53c9ccdbf3 100644--- a/Emby.Server.Implementations/Data/BaseSqliteRepository.cs+++ b/Emby.Server.Implementations/Data/BaseSqliteRepository.cs@@ -162,7 +162,6 @@ namespace Emby.Server.Implementations.Data}return false;-}, ReadTransactionMode);}diff --git a/Emby.Server.Implementations/Data/CleanDatabaseScheduledTask.cs b/Emby.Server.Implementations/Data/CleanDatabaseScheduledTask.csindex 6c9bcff0f2..3de9d63719 100644--- a/Emby.Server.Implementations/Data/CleanDatabaseScheduledTask.cs+++ b/Emby.Server.Implementations/Data/CleanDatabaseScheduledTask.cs@@ -51,7 +51,6 @@ namespace Emby.Server.Implementations.Data_libraryManager.DeleteItem(item, new DeleteOptions{DeleteFileLocation = false-});}diff --git a/Emby.Server.Implementations/Data/SqliteItemRepository.cs b/Emby.Server.Implementations/Data/SqliteItemRepository.csindex ab1fcc638d..d331256611 100644--- a/Emby.Server.Implementations/Data/SqliteItemRepository.cs+++ b/Emby.Server.Implementations/Data/SqliteItemRepository.cs@@ -321,7 +321,6 @@ namespace Emby.Server.Implementations.DataAddColumn(db, "MediaStreams", "ColorPrimaries", "TEXT", existingColumnNames);AddColumn(db, "MediaStreams", "ColorSpace", "TEXT", existingColumnNames);AddColumn(db, "MediaStreams", "ColorTransfer", "TEXT", existingColumnNames);-}, TransactionMode);connection.RunQueries(postQueries);@@ -2044,7 +2043,6 @@ namespace Emby.Server.Implementations.Datadb.Execute("delete from " + ChaptersTableName + " where ItemId=@ItemId", idBlob);InsertChapters(idBlob, chapters, db);-}, TransactionMode);}}@@ -4789,7 +4787,6 @@ where AncestorIdText not null and ItemValues.Value not null and ItemValues.Typeconnection.RunInTransaction(db =>{connection.ExecuteAll(sql);-}, TransactionMode);}}@@ -5180,7 +5177,6 @@ where AncestorIdText not null and ItemValues.Value not null and ItemValues.Type}}}-}LogQueryTime("GetItemValueNames", commandText, now);@@ -5631,7 +5627,6 @@ where AncestorIdText not null and ItemValues.Value not null and ItemValues.Typedb.Execute("delete from People where ItemId=@ItemId", itemIdBlob);InsertPeople(itemIdBlob, people, db);-}, TransactionMode);}}@@ -5788,7 +5783,6 @@ where AncestorIdText not null and ItemValues.Value not null and ItemValues.Typedb.Execute("delete from mediastreams where ItemId=@ItemId", itemIdBlob);InsertMediaStreams(itemIdBlob, streams, db);-}, TransactionMode);}}@@ -6134,7 +6128,6 @@ where AncestorIdText not null and ItemValues.Value not null and ItemValues.Typedb.Execute("delete from mediaattachments where ItemId=@ItemId", itemIdBlob);InsertMediaAttachments(itemIdBlob, attachments, db, cancellationToken);-}, TransactionMode);}}diff --git a/Emby.Server.Implementations/Dto/DtoService.cs b/Emby.Server.Implementations/Dto/DtoService.csindex aae8fce84c..41ff7e3abf 100644--- a/Emby.Server.Implementations/Dto/DtoService.cs+++ b/Emby.Server.Implementations/Dto/DtoService.cs@@ -593,7 +593,6 @@ namespace Emby.Server.Implementations.Dto_logger.LogError(ex, "Error getting person {Name}", c);return null;}-}).Where(i => i != null).GroupBy(i => i.Name, StringComparer.OrdinalIgnoreCase).Select(x => x.First())@@ -1000,7 +999,6 @@ namespace Emby.Server.Implementations.Dto}return null;-}).Where(i => i != null).ToArray();}@@ -1051,7 +1049,6 @@ namespace Emby.Server.Implementations.Dto}return null;-}).Where(i => i != null).ToArray();}diff --git a/Emby.Server.Implementations/EntryPoints/LibraryChangedNotifier.cs b/Emby.Server.Implementations/EntryPoints/LibraryChangedNotifier.csindex 02ae55071c..c1068522a7 100644--- a/Emby.Server.Implementations/EntryPoints/LibraryChangedNotifier.cs+++ b/Emby.Server.Implementations/EntryPoints/LibraryChangedNotifier.cs@@ -132,7 +132,6 @@ namespace Emby.Server.Implementations.EntryPoints}catch{-}}}diff --git a/Emby.Server.Implementations/EntryPoints/ServerEventNotifier.cs b/Emby.Server.Implementations/EntryPoints/ServerEventNotifier.csindex 083fe42372..826d4d8dc3 100644--- a/Emby.Server.Implementations/EntryPoints/ServerEventNotifier.cs+++ b/Emby.Server.Implementations/EntryPoints/ServerEventNotifier.cs@@ -159,7 +159,6 @@ namespace Emby.Server.Implementations.EntryPoints}catch (Exception){-}}@@ -175,7 +174,6 @@ namespace Emby.Server.Implementations.EntryPoints}catch (Exception){-}}diff --git a/Emby.Server.Implementations/EntryPoints/UdpServerEntryPoint.cs b/Emby.Server.Implementations/EntryPoints/UdpServerEntryPoint.csindex ecdce89cea..b207397bda 100644--- a/Emby.Server.Implementations/EntryPoints/UdpServerEntryPoint.cs+++ b/Emby.Server.Implementations/EntryPoints/UdpServerEntryPoint.cs@@ -43,7 +43,6 @@ namespace Emby.Server.Implementations.EntryPoints_logger = logger;_appHost = appHost;_config = configuration;-}/// <inheritdoc />diff --git a/Emby.Server.Implementations/HttpServer/HttpResultFactory.cs b/Emby.Server.Implementations/HttpServer/HttpResultFactory.csindex cc47977908..d254d394fa 100644--- a/Emby.Server.Implementations/HttpServer/HttpResultFactory.cs+++ b/Emby.Server.Implementations/HttpServer/HttpResultFactory.cs@@ -580,7 +580,6 @@ namespace Emby.Server.Implementations.HttpServer}catch (NotSupportedException){-}}diff --git a/Emby.Server.Implementations/IO/LibraryMonitor.cs b/Emby.Server.Implementations/IO/LibraryMonitor.csindex 49bca7dac8..a32b03aaa9 100644--- a/Emby.Server.Implementations/IO/LibraryMonitor.cs+++ b/Emby.Server.Implementations/IO/LibraryMonitor.cs@@ -266,7 +266,6 @@ namespace Emby.Server.Implementations.IO{DisposeWatcher(newWatcher, false);}-}catch (Exception ex){@@ -393,7 +392,6 @@ namespace Emby.Server.Implementations.IO}return false;-})){monitorPath = false;diff --git a/Emby.Server.Implementations/Images/CollectionFolderImageProvider.cs b/Emby.Server.Implementations/Images/CollectionFolderImageProvider.csindex dc8062b457..da88b8d8ab 100644--- a/Emby.Server.Implementations/Images/CollectionFolderImageProvider.cs+++ b/Emby.Server.Implementations/Images/CollectionFolderImageProvider.cs@@ -71,7 +71,6 @@ namespace Emby.Server.Implementations.Imagesnew ValueTuple<string, SortOrder>(ItemSortBy.Random, SortOrder.Ascending)},IncludeItemTypes = includeItemTypes-});}diff --git a/Emby.Server.Implementations/Images/DynamicImageProvider.cs b/Emby.Server.Implementations/Images/DynamicImageProvider.csindex ca0aa4a9f5..462eb03a80 100644--- a/Emby.Server.Implementations/Images/DynamicImageProvider.cs+++ b/Emby.Server.Implementations/Images/DynamicImageProvider.cs@@ -78,7 +78,6 @@ namespace Emby.Server.Implementations.Images}return i;-}).GroupBy(x => x.Id).Select(x => x.First());diff --git a/Emby.Server.Implementations/Library/LibraryManager.cs b/Emby.Server.Implementations/Library/LibraryManager.csindex 4c22a35307..1d4651da20 100644--- a/Emby.Server.Implementations/Library/LibraryManager.cs+++ b/Emby.Server.Implementations/Library/LibraryManager.cs@@ -2861,7 +2861,6 @@ namespace Emby.Server.Implementations.Library_logger.LogError(ex, "Error getting person");return null;}-}).Where(i => i != null).ToList();}diff --git a/Emby.Server.Implementations/Library/MediaSourceManager.cs b/Emby.Server.Implementations/Library/MediaSourceManager.csindex cee499e78f..919261027d 100644--- a/Emby.Server.Implementations/Library/MediaSourceManager.cs+++ b/Emby.Server.Implementations/Library/MediaSourceManager.cs@@ -436,7 +436,6 @@ namespace Emby.Server.Implementations.Library}return 1;-}).ThenBy(i => i.Video3DFormat.HasValue ? 1 : 0).ThenByDescending(i =>{@@ -620,7 +619,6 @@ namespace Emby.Server.Implementations.LibraryMediaSource = mediaSource,ExtractChapters = false,MediaType = DlnaProfileType.Video-}, cancellationToken).ConfigureAwait(false);mediaSource.MediaStreams = info.MediaStreams;diff --git a/Emby.Server.Implementations/Library/Resolvers/SpecialFolderResolver.cs b/Emby.Server.Implementations/Library/Resolvers/SpecialFolderResolver.csindex cc5a3bd5be..4819f2fc0f 100644--- a/Emby.Server.Implementations/Library/Resolvers/SpecialFolderResolver.cs+++ b/Emby.Server.Implementations/Library/Resolvers/SpecialFolderResolver.cs@@ -73,7 +73,6 @@ namespace Emby.Server.Implementations.Library.Resolvers{return false;}-}).Select(i => _fileSystem.GetFileNameWithoutExtension(i)).FirstOrDefault();diff --git a/Emby.Server.Implementations/Library/Resolvers/TV/SeasonResolver.cs b/Emby.Server.Implementations/Library/Resolvers/TV/SeasonResolver.csindex 7f8800a647..c43a0ec6b2 100644--- a/Emby.Server.Implementations/Library/Resolvers/TV/SeasonResolver.cs+++ b/Emby.Server.Implementations/Library/Resolvers/TV/SeasonResolver.cs@@ -94,7 +94,6 @@ namespace Emby.Server.Implementations.Library.Resolvers.TV_localization.GetLocalizedString("NameSeasonNumber"),seasonNumber,args.GetLibraryOptions().PreferredMetadataLanguage);-}return season;diff --git a/Emby.Server.Implementations/Library/SearchEngine.cs b/Emby.Server.Implementations/Library/SearchEngine.csindex f37cb3e9db..b8c42cdf8a 100644--- a/Emby.Server.Implementations/Library/SearchEngine.cs+++ b/Emby.Server.Implementations/Library/SearchEngine.cs@@ -207,7 +207,6 @@ namespace Emby.Server.Implementations.Libraryreturn mediaItems.Select(i => new SearchHintInfo{Item = i-}).ToList();}}diff --git a/Emby.Server.Implementations/Library/Validators/ArtistsValidator.cs b/Emby.Server.Implementations/Library/Validators/ArtistsValidator.csindex 8a6bd5e786..d4c8c35e65 100644--- a/Emby.Server.Implementations/Library/Validators/ArtistsValidator.cs+++ b/Emby.Server.Implementations/Library/Validators/ArtistsValidator.cs@@ -98,7 +98,6 @@ namespace Emby.Server.Implementations.Library.Validators_libraryManager.DeleteItem(item, new DeleteOptions{DeleteFileLocation = false-}, false);}diff --git a/Emby.Server.Implementations/Library/Validators/StudiosValidator.cs b/Emby.Server.Implementations/Library/Validators/StudiosValidator.csindex 7a6cd11df2..ca35adfff7 100644--- a/Emby.Server.Implementations/Library/Validators/StudiosValidator.cs+++ b/Emby.Server.Implementations/Library/Validators/StudiosValidator.cs@@ -92,7 +92,6 @@ namespace Emby.Server.Implementations.Library.Validators_libraryManager.DeleteItem(item, new DeleteOptions{DeleteFileLocation = false-}, false);}diff --git a/Emby.Server.Implementations/LiveTv/EmbyTV/EmbyTV.cs b/Emby.Server.Implementations/LiveTv/EmbyTV/EmbyTV.csindex 9fb5aec29c..7b0fcbc9e5 100644--- a/Emby.Server.Implementations/LiveTv/EmbyTV/EmbyTV.cs+++ b/Emby.Server.Implementations/LiveTv/EmbyTV/EmbyTV.cs@@ -1547,7 +1547,6 @@ namespace Emby.Server.Implementations.LiveTv.EmbyTVIsFolder = false,Recursive = true,DtoOptions = new DtoOptions(true)-}).Where(i => i.IsFileProtocol && File.Exists(i.Path)).Skip(seriesTimer.KeepUpTo - 1)diff --git a/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirect.cs b/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirect.csindex 5e147225a8..fdd305f862 100644--- a/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirect.cs+++ b/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirect.cs@@ -1218,7 +1218,6 @@ namespace Emby.Server.Implementations.LiveTv.Listingspublic string programID { get; set; }public List<ImageData> data { get; set; }}-}}}diff --git a/Emby.Server.Implementations/LiveTv/LiveTvManager.cs b/Emby.Server.Implementations/LiveTv/LiveTvManager.csindex ddc8cafaca..42e93b7ff6 100644--- a/Emby.Server.Implementations/LiveTv/LiveTvManager.cs+++ b/Emby.Server.Implementations/LiveTv/LiveTvManager.cs@@ -1168,7 +1168,6 @@ namespace Emby.Server.Implementations.LiveTvIncludeItemTypes = new string[] { typeof(LiveTvProgram).Name },ChannelIds = new Guid[] { currentChannel.Id },DtoOptions = new DtoOptions(true)-}).Cast<LiveTvProgram>().ToDictionary(i => i.Id);var newPrograms = new List<LiveTvProgram>();@@ -1738,7 +1737,6 @@ namespace Emby.Server.Implementations.LiveTvvar results = await GetTimers(new TimerQuery{Id = id-}, cancellationToken).ConfigureAwait(false);return results.Items.FirstOrDefault(i => string.Equals(i.Id, id, StringComparison.OrdinalIgnoreCase));@@ -1790,7 +1788,6 @@ namespace Emby.Server.Implementations.LiveTv.Select(i =>{return i.Item1;-}).ToArray();@@ -1845,7 +1842,6 @@ namespace Emby.Server.Implementations.LiveTv}return _tvDtoService.GetSeriesTimerInfoDto(i.Item1, i.Item2, channelName);-}).ToArray();@@ -1878,7 +1874,6 @@ namespace Emby.Server.Implementations.LiveTvOrderBy = new[] { (ItemSortBy.StartDate, SortOrder.Ascending) },TopParentIds = new[] { GetInternalLiveTvFolder(CancellationToken.None).Id },DtoOptions = options-}) : new List<BaseItem>();RemoveFields(options);@@ -2456,7 +2451,6 @@ namespace Emby.Server.Implementations.LiveTvUserId = user.Id,IsRecordingsFolder = true,RefreshLatestChannelItems = refreshChannels-}).Items);return folders.Cast<BaseItem>().ToList();diff --git a/Emby.Server.Implementations/LiveTv/TunerHosts/BaseTunerHost.cs b/Emby.Server.Implementations/LiveTv/TunerHosts/BaseTunerHost.csindex abdcdd6229..a8d34d19c8 100644--- a/Emby.Server.Implementations/LiveTv/TunerHosts/BaseTunerHost.cs+++ b/Emby.Server.Implementations/LiveTv/TunerHosts/BaseTunerHost.cs@@ -99,7 +99,6 @@ namespace Emby.Server.Implementations.LiveTv.TunerHosts}catch (IOException){-}}}@@ -116,7 +115,6 @@ namespace Emby.Server.Implementations.LiveTv.TunerHosts}catch (IOException){-}}}diff --git a/Emby.Server.Implementations/LiveTv/TunerHosts/HdHomerun/HdHomerunHost.cs b/Emby.Server.Implementations/LiveTv/TunerHosts/HdHomerun/HdHomerunHost.csindex 464b06b322..f14fcde2a2 100644--- a/Emby.Server.Implementations/LiveTv/TunerHosts/HdHomerun/HdHomerunHost.cs+++ b/Emby.Server.Implementations/LiveTv/TunerHosts/HdHomerun/HdHomerunHost.cs@@ -111,7 +111,6 @@ namespace Emby.Server.Implementations.LiveTv.TunerHosts.HdHomerunChannelType = ChannelType.TV,IsLegacyTuner = (i.URL ?? string.Empty).StartsWith("hdhomerun", StringComparison.OrdinalIgnoreCase),Path = i.URL-}).Cast<ChannelInfo>().ToList();}@@ -481,7 +480,6 @@ namespace Emby.Server.Implementations.LiveTv.TunerHosts.HdHomerunHeight = height,BitRate = videoBitrate,NalLengthSize = nal-},new MediaStream{@@ -722,7 +720,6 @@ namespace Emby.Server.Implementations.LiveTv.TunerHosts.HdHomerun}}}-}catch (OperationCanceledException){diff --git a/Emby.Server.Implementations/LiveTv/TunerHosts/LiveStream.cs b/Emby.Server.Implementations/LiveTv/TunerHosts/LiveStream.csindex 4e4f1d7f60..4decdc24f8 100644--- a/Emby.Server.Implementations/LiveTv/TunerHosts/LiveStream.cs+++ b/Emby.Server.Implementations/LiveTv/TunerHosts/LiveStream.cs@@ -220,11 +220,9 @@ namespace Emby.Server.Implementations.LiveTv.TunerHosts}catch (IOException){-}catch (ArgumentException){-}catch (Exception ex){diff --git a/Emby.Server.Implementations/LiveTv/TunerHosts/M3UTunerHost.cs b/Emby.Server.Implementations/LiveTv/TunerHosts/M3UTunerHost.csindex f7c9c736e3..ff42a9747f 100644--- a/Emby.Server.Implementations/LiveTv/TunerHosts/M3UTunerHost.cs+++ b/Emby.Server.Implementations/LiveTv/TunerHosts/M3UTunerHost.cs@@ -127,7 +127,6 @@ namespace Emby.Server.Implementations.LiveTv.TunerHosts{using (var stream = await new M3uParser(Logger, _httpClient, _appHost).GetListingsStream(info.Url, CancellationToken.None).ConfigureAwait(false)){-}}diff --git a/Emby.Server.Implementations/LiveTv/TunerHosts/M3uParser.cs b/Emby.Server.Implementations/LiveTv/TunerHosts/M3uParser.csindex 883b175d6e..c798c0a85c 100644--- a/Emby.Server.Implementations/LiveTv/TunerHosts/M3uParser.cs+++ b/Emby.Server.Implementations/LiveTv/TunerHosts/M3uParser.cs@@ -210,7 +210,6 @@ namespace Emby.Server.Implementations.LiveTv.TunerHosts}}}-}if (!IsValidChannelNumber(numberString))diff --git a/Emby.Server.Implementations/Net/SocketFactory.cs b/Emby.Server.Implementations/Net/SocketFactory.csindex fd863d25a0..1777216584 100644--- a/Emby.Server.Implementations/Net/SocketFactory.cs+++ b/Emby.Server.Implementations/Net/SocketFactory.cs@@ -98,7 +98,6 @@ namespace Emby.Server.Implementations.Net}catch (SocketException){-}try@@ -109,7 +108,6 @@ namespace Emby.Server.Implementations.Net}catch (SocketException){-}trydiff --git a/Emby.Server.Implementations/Security/AuthenticationRepository.cs b/Emby.Server.Implementations/Security/AuthenticationRepository.csindex 750890ec8f..9c1be9a1ab 100644--- a/Emby.Server.Implementations/Security/AuthenticationRepository.cs+++ b/Emby.Server.Implementations/Security/AuthenticationRepository.cs@@ -61,7 +61,6 @@ namespace Emby.Server.Implementations.SecurityAddColumn(db, "AccessTokens", "UserName", "TEXT", existingColumnNames);AddColumn(db, "AccessTokens", "DateLastActivity", "DATETIME", existingColumnNames);AddColumn(db, "AccessTokens", "AppVersion", "TEXT", existingColumnNames);-}, TransactionMode);connection.RunQueries(new[]@@ -107,7 +106,6 @@ namespace Emby.Server.Implementations.Securitystatement.MoveNext();}-}, TransactionMode);}}@@ -367,7 +365,6 @@ namespace Emby.Server.Implementations.Securityreturn result;}-}, ReadTransactionMode);}}@@ -398,7 +395,6 @@ namespace Emby.Server.Implementations.Securitystatement.MoveNext();}-}, TransactionMode);}}diff --git a/Emby.Server.Implementations/TV/TVSeriesManager.cs b/Emby.Server.Implementations/TV/TVSeriesManager.csindex ba6c4f261f..db056cc38d 100644--- a/Emby.Server.Implementations/TV/TVSeriesManager.cs+++ b/Emby.Server.Implementations/TV/TVSeriesManager.cs@@ -225,7 +225,6 @@ namespace Emby.Server.Implementations.TVParentIndexNumberNotEquals = 0,MinSortName = lastWatchedEpisode?.SortName,DtoOptions = dtoOptions-}).Cast<Episode>().FirstOrDefault();};diff --git a/Jellyfin.Data/Entities/Artwork.cs b/Jellyfin.Data/Entities/Artwork.csindex bf3029368a..214fb4cb1b 100644--- a/Jellyfin.Data/Entities/Artwork.cs+++ b/Jellyfin.Data/Entities/Artwork.cs@@ -189,7 +189,6 @@ namespace Jellyfin.Data.Entities/************************************************************************** Navigation properties*************************************************************************/-}}diff --git a/Jellyfin.Data/Entities/Book.cs b/Jellyfin.Data/Entities/Book.csindex 42d24e31d5..faefc74000 100644--- a/Jellyfin.Data/Entities/Book.cs+++ b/Jellyfin.Data/Entities/Book.cs@@ -63,7 +63,6 @@ namespace Jellyfin.Data.Entities[ForeignKey("Release_Releases_Id")]public virtual ICollection<Release> Releases { get; protected set; }-}}diff --git a/Jellyfin.Data/Entities/BookMetadata.cs b/Jellyfin.Data/Entities/BookMetadata.csindex d52fe76051..dd389b64a7 100644--- a/Jellyfin.Data/Entities/BookMetadata.cs+++ b/Jellyfin.Data/Entities/BookMetadata.cs@@ -101,7 +101,6 @@ namespace Jellyfin.Data.Entities[ForeignKey("Company_Publishers_Id")]public virtual ICollection<Company> Publishers { get; protected set; }-}}diff --git a/Jellyfin.Data/Entities/Chapter.cs b/Jellyfin.Data/Entities/Chapter.csindex d48cb9b627..9b3a5e8275 100644--- a/Jellyfin.Data/Entities/Chapter.cs+++ b/Jellyfin.Data/Entities/Chapter.cs@@ -257,7 +257,6 @@ namespace Jellyfin.Data.Entities/************************************************************************** Navigation properties*************************************************************************/-}}diff --git a/Jellyfin.Data/Entities/Collection.cs b/Jellyfin.Data/Entities/Collection.csindex e2fa3a5bd3..c040cfe336 100644--- a/Jellyfin.Data/Entities/Collection.cs+++ b/Jellyfin.Data/Entities/Collection.cs@@ -114,7 +114,6 @@ namespace Jellyfin.Data.Entities*************************************************************************/[ForeignKey("CollectionItem_CollectionItem_Id")]public virtual ICollection<CollectionItem> CollectionItem { get; protected set; }-}}diff --git a/Jellyfin.Data/Entities/CollectionItem.cs b/Jellyfin.Data/Entities/CollectionItem.csindex 4a3d066396..c5e54c3a2d 100644--- a/Jellyfin.Data/Entities/CollectionItem.cs+++ b/Jellyfin.Data/Entities/CollectionItem.cs@@ -137,7 +137,6 @@ namespace Jellyfin.Data.Entities/// </remarks>[ForeignKey("CollectionItem_Previous_Id")]public virtual CollectionItem Previous { get; set; }-}}diff --git a/Jellyfin.Data/Entities/Company.cs b/Jellyfin.Data/Entities/Company.csindex 0650271c65..7d6f3b2076 100644--- a/Jellyfin.Data/Entities/Company.cs+++ b/Jellyfin.Data/Entities/Company.cs@@ -131,7 +131,6 @@ namespace Jellyfin.Data.Entitiespublic virtual ICollection<CompanyMetadata> CompanyMetadata { get; protected set; }[ForeignKey("Company_Parent_Id")]public virtual Company Parent { get; set; }-}}diff --git a/Jellyfin.Data/Entities/CompanyMetadata.cs b/Jellyfin.Data/Entities/CompanyMetadata.csindex b3ec9c1a7f..1ad03b4f9c 100644--- a/Jellyfin.Data/Entities/CompanyMetadata.cs+++ b/Jellyfin.Data/Entities/CompanyMetadata.cs@@ -210,7 +210,6 @@ namespace Jellyfin.Data.Entities/************************************************************************** Navigation properties*************************************************************************/-}}diff --git a/Jellyfin.Data/Entities/CustomItem.cs b/Jellyfin.Data/Entities/CustomItem.csindex 2006717bf2..5f6fc3a231 100644--- a/Jellyfin.Data/Entities/CustomItem.cs+++ b/Jellyfin.Data/Entities/CustomItem.cs@@ -62,7 +62,6 @@ namespace Jellyfin.Data.Entities[ForeignKey("Release_Releases_Id")]public virtual ICollection<Release> Releases { get; protected set; }-}}diff --git a/Jellyfin.Data/Entities/CustomItemMetadata.cs b/Jellyfin.Data/Entities/CustomItemMetadata.csindex e09e4467ac..ee37aaaa97 100644--- a/Jellyfin.Data/Entities/CustomItemMetadata.cs+++ b/Jellyfin.Data/Entities/CustomItemMetadata.cs@@ -61,7 +61,6 @@ namespace Jellyfin.Data.Entities/************************************************************************** Navigation properties*************************************************************************/-}}diff --git a/Jellyfin.Data/Entities/Episode.cs b/Jellyfin.Data/Entities/Episode.csindex 6f6baa14de..88531205fc 100644--- a/Jellyfin.Data/Entities/Episode.cs+++ b/Jellyfin.Data/Entities/Episode.cs@@ -104,7 +104,6 @@ namespace Jellyfin.Data.Entitiespublic virtual ICollection<Release> Releases { get; protected set; }[ForeignKey("EpisodeMetadata_EpisodeMetadata_Id")]public virtual ICollection<EpisodeMetadata> EpisodeMetadata { get; protected set; }-}}diff --git a/Jellyfin.Data/Entities/EpisodeMetadata.cs b/Jellyfin.Data/Entities/EpisodeMetadata.csindex e5431bf223..0aa4b42703 100644--- a/Jellyfin.Data/Entities/EpisodeMetadata.cs+++ b/Jellyfin.Data/Entities/EpisodeMetadata.cs@@ -173,7 +173,6 @@ namespace Jellyfin.Data.Entities/************************************************************************** Navigation properties*************************************************************************/-}}diff --git a/Jellyfin.Data/Entities/Genre.cs b/Jellyfin.Data/Entities/Genre.csindex 38f289a8e3..ff07106712 100644--- a/Jellyfin.Data/Entities/Genre.cs+++ b/Jellyfin.Data/Entities/Genre.cs@@ -146,7 +146,6 @@ namespace Jellyfin.Data.Entities/************************************************************************** Navigation properties*************************************************************************/-}}diff --git a/Jellyfin.Data/Entities/Library.cs b/Jellyfin.Data/Entities/Library.csindex c11c09e916..a5cc5c8da4 100644--- a/Jellyfin.Data/Entities/Library.cs+++ b/Jellyfin.Data/Entities/Library.cs@@ -141,7 +141,6 @@ namespace Jellyfin.Data.Entities/************************************************************************** Navigation properties*************************************************************************/-}}diff --git a/Jellyfin.Data/Entities/LibraryItem.cs b/Jellyfin.Data/Entities/LibraryItem.csindex af6c640b97..c2ba7059d9 100644--- a/Jellyfin.Data/Entities/LibraryItem.cs+++ b/Jellyfin.Data/Entities/LibraryItem.cs@@ -164,7 +164,6 @@ namespace Jellyfin.Data.Entities/// </summary>[ForeignKey("LibraryRoot_Id")]public virtual LibraryRoot LibraryRoot { get; set; }-}}diff --git a/Jellyfin.Data/Entities/LibraryRoot.cs b/Jellyfin.Data/Entities/LibraryRoot.csindex bbc23e1c96..7823db02a8 100644--- a/Jellyfin.Data/Entities/LibraryRoot.cs+++ b/Jellyfin.Data/Entities/LibraryRoot.cs@@ -186,7 +186,6 @@ namespace Jellyfin.Data.Entities/// </summary>[ForeignKey("Library_Id")]public virtual Library Library { get; set; }-}}diff --git a/Jellyfin.Data/Entities/MediaFile.cs b/Jellyfin.Data/Entities/MediaFile.csindex 719539e5c2..94c39a28a5 100644--- a/Jellyfin.Data/Entities/MediaFile.cs+++ b/Jellyfin.Data/Entities/MediaFile.cs@@ -194,7 +194,6 @@ namespace Jellyfin.Data.Entities[ForeignKey("MediaFileStream_MediaFileStreams_Id")]public virtual ICollection<MediaFileStream> MediaFileStreams { get; protected set; }-}}diff --git a/Jellyfin.Data/Entities/MediaFileStream.cs b/Jellyfin.Data/Entities/MediaFileStream.csindex 7b3399731a..723977fdf1 100644--- a/Jellyfin.Data/Entities/MediaFileStream.cs+++ b/Jellyfin.Data/Entities/MediaFileStream.cs@@ -143,7 +143,6 @@ namespace Jellyfin.Data.Entities/************************************************************************** Navigation properties*************************************************************************/-}}diff --git a/Jellyfin.Data/Entities/Metadata.cs b/Jellyfin.Data/Entities/Metadata.csindex 467ee68226..6558642cf1 100644--- a/Jellyfin.Data/Entities/Metadata.cs+++ b/Jellyfin.Data/Entities/Metadata.cs@@ -374,7 +374,6 @@ namespace Jellyfin.Data.Entities[ForeignKey("PersonRole_PersonRoles_Id")]public virtual ICollection<MetadataProviderId> Sources { get; protected set; }-}}diff --git a/Jellyfin.Data/Entities/MetadataProvider.cs b/Jellyfin.Data/Entities/MetadataProvider.csindex 4e4f107fb9..bf9689709b 100644--- a/Jellyfin.Data/Entities/MetadataProvider.cs+++ b/Jellyfin.Data/Entities/MetadataProvider.cs@@ -141,7 +141,6 @@ namespace Jellyfin.Data.Entities/************************************************************************** Navigation properties*************************************************************************/-}}diff --git a/Jellyfin.Data/Entities/MetadataProviderId.cs b/Jellyfin.Data/Entities/MetadataProviderId.csindex 926f223dea..c49c6f42e4 100644--- a/Jellyfin.Data/Entities/MetadataProviderId.cs+++ b/Jellyfin.Data/Entities/MetadataProviderId.cs@@ -173,7 +173,6 @@ namespace Jellyfin.Data.Entities/// </summary>[ForeignKey("MetadataProvider_Id")]public virtual MetadataProvider MetadataProvider { get; set; }-}}diff --git a/Jellyfin.Data/Entities/Movie.cs b/Jellyfin.Data/Entities/Movie.csindex b359b42fcd..ad2504b0dd 100644--- a/Jellyfin.Data/Entities/Movie.cs+++ b/Jellyfin.Data/Entities/Movie.cs@@ -63,7 +63,6 @@ namespace Jellyfin.Data.Entities[ForeignKey("MovieMetadata_MovieMetadata_Id")]public virtual ICollection<MovieMetadata> MovieMetadata { get; protected set; }-}}diff --git a/Jellyfin.Data/Entities/MovieMetadata.cs b/Jellyfin.Data/Entities/MovieMetadata.csindex 319ae94e5a..1f8f1c2a00 100644--- a/Jellyfin.Data/Entities/MovieMetadata.cs+++ b/Jellyfin.Data/Entities/MovieMetadata.cs@@ -217,7 +217,6 @@ namespace Jellyfin.Data.Entities*************************************************************************/[ForeignKey("Company_Studios_Id")]public virtual ICollection<Company> Studios { get; protected set; }-}}diff --git a/Jellyfin.Data/Entities/MusicAlbum.cs b/Jellyfin.Data/Entities/MusicAlbum.csindex 00cb8fe007..e07f4357b4 100644--- a/Jellyfin.Data/Entities/MusicAlbum.cs+++ b/Jellyfin.Data/Entities/MusicAlbum.cs@@ -62,7 +62,6 @@ namespace Jellyfin.Data.Entities[ForeignKey("Track_Tracks_Id")]public virtual ICollection<Track> Tracks { get; protected set; }-}}diff --git a/Jellyfin.Data/Entities/MusicAlbumMetadata.cs b/Jellyfin.Data/Entities/MusicAlbumMetadata.csindex b52ca65646..7743890a67 100644--- a/Jellyfin.Data/Entities/MusicAlbumMetadata.cs+++ b/Jellyfin.Data/Entities/MusicAlbumMetadata.cs@@ -181,7 +181,6 @@ namespace Jellyfin.Data.Entities[ForeignKey("Company_Labels_Id")]public virtual ICollection<Company> Labels { get; protected set; }-}}diff --git a/Jellyfin.Data/Entities/Person.cs b/Jellyfin.Data/Entities/Person.csindex d893b7e394..f714188190 100644--- a/Jellyfin.Data/Entities/Person.cs+++ b/Jellyfin.Data/Entities/Person.cs@@ -296,7 +296,6 @@ namespace Jellyfin.Data.Entities*************************************************************************/[ForeignKey("MetadataProviderId_Sources_Id")]public virtual ICollection<MetadataProviderId> Sources { get; protected set; }-}}diff --git a/Jellyfin.Data/Entities/PersonRole.cs b/Jellyfin.Data/Entities/PersonRole.csindex 9bd12c7fb0..a3d0471151 100644--- a/Jellyfin.Data/Entities/PersonRole.cs+++ b/Jellyfin.Data/Entities/PersonRole.cs@@ -203,7 +203,6 @@ namespace Jellyfin.Data.Entities[ForeignKey("MetadataProviderId_Sources_Id")]public virtual ICollection<MetadataProviderId> Sources { get; protected set; }-}}diff --git a/Jellyfin.Data/Entities/Photo.cs b/Jellyfin.Data/Entities/Photo.csindex 7abe628913..226730126a 100644--- a/Jellyfin.Data/Entities/Photo.cs+++ b/Jellyfin.Data/Entities/Photo.cs@@ -62,7 +62,6 @@ namespace Jellyfin.Data.Entities[ForeignKey("Release_Releases_Id")]public virtual ICollection<Release> Releases { get; protected set; }-}}diff --git a/Jellyfin.Data/Entities/PhotoMetadata.cs b/Jellyfin.Data/Entities/PhotoMetadata.csindex c5502f707a..2bb239cdd0 100644--- a/Jellyfin.Data/Entities/PhotoMetadata.cs+++ b/Jellyfin.Data/Entities/PhotoMetadata.cs@@ -62,7 +62,6 @@ namespace Jellyfin.Data.Entities/************************************************************************** Navigation properties*************************************************************************/-}}diff --git a/Jellyfin.Data/Entities/ProviderMapping.cs b/Jellyfin.Data/Entities/ProviderMapping.csindex e479341ad3..e86d9737fc 100644--- a/Jellyfin.Data/Entities/ProviderMapping.cs+++ b/Jellyfin.Data/Entities/ProviderMapping.cs@@ -111,7 +111,6 @@ namespace Jellyfin.Data.Entities/************************************************************************** Navigation properties*************************************************************************/-}}diff --git a/Jellyfin.Data/Entities/Rating.cs b/Jellyfin.Data/Entities/Rating.csindex f70ea8b338..0c8b99ca2c 100644--- a/Jellyfin.Data/Entities/Rating.cs+++ b/Jellyfin.Data/Entities/Rating.cs@@ -181,7 +181,6 @@ namespace Jellyfin.Data.Entities/// </summary>[ForeignKey("RatingSource_RatingType_Id")]public virtual RatingSource RatingType { get; set; }-}}diff --git a/Jellyfin.Data/Entities/RatingSource.cs b/Jellyfin.Data/Entities/RatingSource.csindex 070f1ae27e..c829042b5c 100644--- a/Jellyfin.Data/Entities/RatingSource.cs+++ b/Jellyfin.Data/Entities/RatingSource.cs@@ -225,7 +225,6 @@ namespace Jellyfin.Data.Entities*************************************************************************/[ForeignKey("MetadataProviderId_Source_Id")]public virtual MetadataProviderId Source { get; set; }-}}diff --git a/Jellyfin.Data/Entities/Release.cs b/Jellyfin.Data/Entities/Release.csindex d1928fcf7e..35fcbb4b76 100644--- a/Jellyfin.Data/Entities/Release.cs+++ b/Jellyfin.Data/Entities/Release.cs@@ -182,7 +182,6 @@ namespace Jellyfin.Data.Entities[ForeignKey("Chapter_Chapters_Id")]public virtual ICollection<Chapter> Chapters { get; protected set; }-}}diff --git a/Jellyfin.Data/Entities/Season.cs b/Jellyfin.Data/Entities/Season.csindex 96e89cde05..2a861b660a 100644--- a/Jellyfin.Data/Entities/Season.cs+++ b/Jellyfin.Data/Entities/Season.cs@@ -105,7 +105,6 @@ namespace Jellyfin.Data.Entities[ForeignKey("Episode_Episodes_Id")]public virtual ICollection<Episode> Episodes { get; protected set; }-}}diff --git a/Jellyfin.Data/Entities/SeasonMetadata.cs b/Jellyfin.Data/Entities/SeasonMetadata.csindex 64ecbfbfac..10320c6bbd 100644--- a/Jellyfin.Data/Entities/SeasonMetadata.cs+++ b/Jellyfin.Data/Entities/SeasonMetadata.cs@@ -100,7 +100,6 @@ namespace Jellyfin.Data.Entities/************************************************************************** Navigation properties*************************************************************************/-}}diff --git a/Jellyfin.Data/Entities/Series.cs b/Jellyfin.Data/Entities/Series.csindex 4f25c38b75..cf1d6b781b 100644--- a/Jellyfin.Data/Entities/Series.cs+++ b/Jellyfin.Data/Entities/Series.cs@@ -153,7 +153,6 @@ namespace Jellyfin.Data.Entities[ForeignKey("Season_Seasons_Id")]public virtual ICollection<Season> Seasons { get; protected set; }-}}diff --git a/Jellyfin.Data/Entities/SeriesMetadata.cs b/Jellyfin.Data/Entities/SeriesMetadata.csindex 52691783f6..bb31c2e4e8 100644--- a/Jellyfin.Data/Entities/SeriesMetadata.cs+++ b/Jellyfin.Data/Entities/SeriesMetadata.cs@@ -217,7 +217,6 @@ namespace Jellyfin.Data.Entities*************************************************************************/[ForeignKey("Company_Networks_Id")]public virtual ICollection<Company> Networks { get; protected set; }-}}diff --git a/Jellyfin.Data/Entities/Track.cs b/Jellyfin.Data/Entities/Track.csindex 079d73d2bf..c9e8fd1c3b 100644--- a/Jellyfin.Data/Entities/Track.cs+++ b/Jellyfin.Data/Entities/Track.cs@@ -106,7 +106,6 @@ namespace Jellyfin.Data.Entities[ForeignKey("TrackMetadata_TrackMetadata_Id")]public virtual ICollection<TrackMetadata> TrackMetadata { get; protected set; }-}}diff --git a/Jellyfin.Data/Entities/TrackMetadata.cs b/Jellyfin.Data/Entities/TrackMetadata.csindex 86c9161f6e..7b99c06837 100644--- a/Jellyfin.Data/Entities/TrackMetadata.cs+++ b/Jellyfin.Data/Entities/TrackMetadata.cs@@ -62,7 +62,6 @@ namespace Jellyfin.Data.Entities/************************************************************************** Navigation properties*************************************************************************/-}}diff --git a/MediaBrowser.Api/BaseApiService.cs b/MediaBrowser.Api/BaseApiService.csindex 2ece16ee15..a91a9b580c 100644--- a/MediaBrowser.Api/BaseApiService.cs+++ b/MediaBrowser.Api/BaseApiService.cs@@ -268,7 +268,6 @@ namespace MediaBrowser.ApiName = name.Replace(BaseItem.SlugChar, '&'),IncludeItemTypes = new[] { typeof(T).Name },DtoOptions = dtoOptions-}).OfType<T>().FirstOrDefault();result ??= libraryManager.GetItemList(new InternalItemsQuery@@ -276,7 +275,6 @@ namespace MediaBrowser.ApiName = name.Replace(BaseItem.SlugChar, '/'),IncludeItemTypes = new[] { typeof(T).Name },DtoOptions = dtoOptions-}).OfType<T>().FirstOrDefault();result ??= libraryManager.GetItemList(new InternalItemsQuery@@ -284,7 +282,6 @@ namespace MediaBrowser.ApiName = name.Replace(BaseItem.SlugChar, '?'),IncludeItemTypes = new[] { typeof(T).Name },DtoOptions = dtoOptions-}).OfType<T>().FirstOrDefault();return result;diff --git a/MediaBrowser.Api/ChannelService.cs b/MediaBrowser.Api/ChannelService.csindex fd9b8c3968..3cab9fb66f 100644--- a/MediaBrowser.Api/ChannelService.cs+++ b/MediaBrowser.Api/ChannelService.cs@@ -240,7 +240,6 @@ namespace MediaBrowser.Api{Fields = request.GetItemFields()}-};foreach (var filter in request.GetFilters())diff --git a/MediaBrowser.Api/ConfigurationService.cs b/MediaBrowser.Api/ConfigurationService.csindex 316be04a03..3ad51de8de 100644--- a/MediaBrowser.Api/ConfigurationService.cs+++ b/MediaBrowser.Api/ConfigurationService.cs@@ -17,7 +17,6 @@ namespace MediaBrowser.Api[Authenticated]public class GetConfiguration : IReturn<ServerConfiguration>{-}[Route("/System/Configuration/{Key}", "GET", Summary = "Gets a named configuration")]@@ -51,7 +50,6 @@ namespace MediaBrowser.Api[Authenticated(Roles = "Admin")]public class GetDefaultMetadataOptions : IReturn<MetadataOptions>{-}[Route("/System/MediaEncoder/Path", "POST", Summary = "Updates the path to the media encoder")]diff --git a/MediaBrowser.Api/Devices/DeviceService.cs b/MediaBrowser.Api/Devices/DeviceService.csindex dd3f3e738a..18860983ec 100644--- a/MediaBrowser.Api/Devices/DeviceService.cs+++ b/MediaBrowser.Api/Devices/DeviceService.cs@@ -92,7 +92,6 @@ namespace MediaBrowser.Api.Devicesvar sessions = _authRepo.Get(new AuthenticationInfoQuery{DeviceId = request.Id-}).Items;foreach (var session in sessions)diff --git a/MediaBrowser.Api/EnvironmentService.cs b/MediaBrowser.Api/EnvironmentService.csindex 82d471412d..fddf784651 100644--- a/MediaBrowser.Api/EnvironmentService.cs+++ b/MediaBrowser.Api/EnvironmentService.cs@@ -100,7 +100,6 @@ namespace MediaBrowser.Api[Route("/Environment/DefaultDirectoryBrowser", "GET", Summary = "Gets the parent path of a given path")]public class GetDefaultDirectoryBrowser : IReturn<DefaultDirectoryBrowserInfo>{-}/// <summary>diff --git a/MediaBrowser.Api/FilterService.cs b/MediaBrowser.Api/FilterService.csindex bd67ec41f6..833a684a5d 100644--- a/MediaBrowser.Api/FilterService.cs+++ b/MediaBrowser.Api/FilterService.cs@@ -150,7 +150,6 @@ namespace MediaBrowser.Api{Name = i.Item1.Name,Id = i.Item1.Id-}).ToArray();}else@@ -159,7 +158,6 @@ namespace MediaBrowser.Api{Name = i.Item1.Name,Id = i.Item1.Id-}).ToArray();}diff --git a/MediaBrowser.Api/IHasItemFields.cs b/MediaBrowser.Api/IHasItemFields.csindex 85b4a7e2d2..6359de77dc 100644--- a/MediaBrowser.Api/IHasItemFields.cs+++ b/MediaBrowser.Api/IHasItemFields.cs@@ -43,7 +43,6 @@ namespace MediaBrowser.Api}return null;-}).Where(i => i.HasValue).Select(i => i.Value).ToArray();}}diff --git a/MediaBrowser.Api/Images/ImageService.cs b/MediaBrowser.Api/Images/ImageService.csindex 0b8ddeacdf..6f2956c5d1 100644--- a/MediaBrowser.Api/Images/ImageService.cs+++ b/MediaBrowser.Api/Images/ImageService.cs@@ -743,7 +743,6 @@ namespace MediaBrowser.Api.ImagesPath = imageResult.Item1,FileShare = FileShare.Read-}).ConfigureAwait(false);}diff --git a/MediaBrowser.Api/Images/RemoteImageService.cs b/MediaBrowser.Api/Images/RemoteImageService.csindex 358ac30fae..2633a5d3c6 100644--- a/MediaBrowser.Api/Images/RemoteImageService.cs+++ b/MediaBrowser.Api/Images/RemoteImageService.cs@@ -152,7 +152,6 @@ namespace MediaBrowser.Api.ImagesIncludeAllLanguages = request.IncludeAllLanguages,IncludeDisabledProviders = true,ImageType = request.Type-}, CancellationToken.None).ConfigureAwait(false);var imagesList = images.ToArray();diff --git a/MediaBrowser.Api/Library/LibraryService.cs b/MediaBrowser.Api/Library/LibraryService.csindex 2b46949258..284a2c11ba 100644--- a/MediaBrowser.Api/Library/LibraryService.cs+++ b/MediaBrowser.Api/Library/LibraryService.cs@@ -562,7 +562,6 @@ namespace MediaBrowser.Api.Library_authContext){Request = Request,-}.GetSimilarItemsResult(request);}@@ -660,7 +659,6 @@ namespace MediaBrowser.Api.Library{EnableImages = false}-}).Where(i => string.Equals(request.TvdbId, i.GetProviderId(MetadataProvider.Tvdb), StringComparison.OrdinalIgnoreCase)).ToArray();foreach (var item in series)@@ -689,7 +687,6 @@ namespace MediaBrowser.Api.Library{EnableImages = false}-});if (!string.IsNullOrWhiteSpace(request.ImdbId))diff --git a/MediaBrowser.Api/LiveTv/LiveTvService.cs b/MediaBrowser.Api/LiveTv/LiveTvService.csindex 279fd6ee9b..b00a5fec8c 100644--- a/MediaBrowser.Api/LiveTv/LiveTvService.cs+++ b/MediaBrowser.Api/LiveTv/LiveTvService.cs@@ -679,7 +679,6 @@ namespace MediaBrowser.Api.LiveTv[Authenticated]public class GetTunerHostTypes : IReturn<List<NameIdPair>>{-}[Route("/LiveTv/Tuners/Discvover", "GET")]@@ -826,7 +825,6 @@ namespace MediaBrowser.Api.LiveTv{Name = i.Name,Id = i.Id-}).ToList(),Mappings = mappings,@@ -845,7 +843,6 @@ namespace MediaBrowser.Api.LiveTv{Url = "https://json.schedulesdirect.org/20141201/available/countries",BufferContent = false-}).ConfigureAwait(false);return ResultFactory.GetResult(Request, response, "application/json");@@ -958,7 +955,6 @@ namespace MediaBrowser.Api.LiveTvSortBy = request.GetOrderBy(),SortOrder = request.SortOrder ?? SortOrder.Ascending,AddCurrentProgram = request.AddCurrentProgram-}, options, CancellationToken.None);var user = request.UserId.Equals(Guid.Empty) ? null : _userManager.GetUserById(request.UserId);@@ -1113,7 +1109,6 @@ namespace MediaBrowser.Api.LiveTvFields = request.GetItemFields(),ImageTypeLimit = request.ImageTypeLimit,EnableImages = request.EnableImages-}, options);return ToOptimizedResult(result);@@ -1152,7 +1147,6 @@ namespace MediaBrowser.Api.LiveTvSeriesTimerId = request.SeriesTimerId,IsActive = request.IsActive,IsScheduled = request.IsScheduled-}, CancellationToken.None).ConfigureAwait(false);return ToOptimizedResult(result);@@ -1188,7 +1182,6 @@ namespace MediaBrowser.Api.LiveTv{SortOrder = request.SortOrder,SortBy = request.SortBy-}, CancellationToken.None).ConfigureAwait(false);return ToOptimizedResult(result);diff --git a/MediaBrowser.Api/Movies/CollectionService.cs b/MediaBrowser.Api/Movies/CollectionService.csindex 95a37dfc56..e9629439de 100644--- a/MediaBrowser.Api/Movies/CollectionService.cs+++ b/MediaBrowser.Api/Movies/CollectionService.cs@@ -79,7 +79,6 @@ namespace MediaBrowser.Api.MoviesParentId = parentId,ItemIdList = SplitValue(request.Ids, ','),UserIds = new[] { userId }-});var dtoOptions = GetDtoOptions(_authContext, request);diff --git a/MediaBrowser.Api/Movies/MoviesService.cs b/MediaBrowser.Api/Movies/MoviesService.csindex 281c7e613a..88ca0aa23c 100644--- a/MediaBrowser.Api/Movies/MoviesService.cs+++ b/MediaBrowser.Api/Movies/MoviesService.cs@@ -194,7 +194,6 @@ namespace MediaBrowser.Api.MoviesParentId = parentIdGuid,Recursive = true,DtoOptions = dtoOptions-});var mostRecentMovies = recentlyPlayedMovies.Take(6).ToList();@@ -279,7 +278,6 @@ namespace MediaBrowser.Api.MoviesIsMovie = true,EnableGroupByMetadataKey = true,DtoOptions = dtoOptions-}).GroupBy(i => i.GetProviderId(MetadataProvider.Imdb) ?? Guid.NewGuid().ToString("N", CultureInfo.InvariantCulture)).Select(x => x.First()).Take(itemLimit)@@ -320,7 +318,6 @@ namespace MediaBrowser.Api.MoviesIsMovie = true,EnableGroupByMetadataKey = true,DtoOptions = dtoOptions-}).GroupBy(i => i.GetProviderId(MetadataProvider.Imdb) ?? Guid.NewGuid().ToString("N", CultureInfo.InvariantCulture)).Select(x => x.First()).Take(itemLimit)@@ -360,7 +357,6 @@ namespace MediaBrowser.Api.MoviesSimilarTo = item,EnableGroupByMetadataKey = true,DtoOptions = dtoOptions-});if (similar.Count > 0)diff --git a/MediaBrowser.Api/Movies/TrailersService.cs b/MediaBrowser.Api/Movies/TrailersService.csindex 0b53342359..a7758b100e 100644--- a/MediaBrowser.Api/Movies/TrailersService.cs+++ b/MediaBrowser.Api/Movies/TrailersService.cs@@ -82,7 +82,6 @@ namespace MediaBrowser.Api.Movies_authContext){Request = Request,-}.Get(getItems);}}diff --git a/MediaBrowser.Api/Music/InstantMixService.cs b/MediaBrowser.Api/Music/InstantMixService.csindex 7d10c94271..ebd3eb64a1 100644--- a/MediaBrowser.Api/Music/InstantMixService.cs+++ b/MediaBrowser.Api/Music/InstantMixService.cs@@ -192,6 +192,5 @@ namespace MediaBrowser.Api.Musicreturn result;}-}}diff --git a/MediaBrowser.Api/Playback/MediaInfoService.cs b/MediaBrowser.Api/Playback/MediaInfoService.csindex 2c6534cc08..2dc62fda7c 100644--- a/MediaBrowser.Api/Playback/MediaInfoService.cs+++ b/MediaBrowser.Api/Playback/MediaInfoService.cs@@ -646,7 +646,6 @@ namespace MediaBrowser.Api.Playback}return 1;-}).ThenBy(i =>{// Let's assume direct streaming a file is just as desirable as direct playing a remote url@@ -656,7 +655,6 @@ namespace MediaBrowser.Api.Playback}return 1;-}).ThenBy(i =>{return i.Protocol switch@@ -672,7 +670,6 @@ namespace MediaBrowser.Api.Playback}return 1;-}).ThenBy(originalList.IndexOf).ToArray();}diff --git a/MediaBrowser.Api/Playback/Progressive/VideoService.cs b/MediaBrowser.Api/Playback/Progressive/VideoService.csindex 4de81655ce..a35e6c201b 100644--- a/MediaBrowser.Api/Playback/Progressive/VideoService.cs+++ b/MediaBrowser.Api/Playback/Progressive/VideoService.cs@@ -59,7 +59,6 @@ namespace MediaBrowser.Api.Playback.Progressive[Route("/Videos/{Id}/stream", "HEAD")]public class GetVideoStream : VideoStreamRequest{-}/// <summary>diff --git a/MediaBrowser.Api/Playback/UniversalAudioService.cs b/MediaBrowser.Api/Playback/UniversalAudioService.csindex a3b319d44b..b2d101a5b1 100644--- a/MediaBrowser.Api/Playback/UniversalAudioService.cs+++ b/MediaBrowser.Api/Playback/UniversalAudioService.cs@@ -259,7 +259,6 @@ namespace MediaBrowser.Api.PlaybackUserId = request.UserId,DeviceProfile = deviceProfile,MediaSourceId = request.MediaSourceId-}).ConfigureAwait(false);var mediaSource = playbackInfoResult.MediaSources[0];diff --git a/MediaBrowser.Api/PlaylistService.cs b/MediaBrowser.Api/PlaylistService.csindex 953b00e35a..d5def03bec 100644--- a/MediaBrowser.Api/PlaylistService.cs+++ b/MediaBrowser.Api/PlaylistService.cs@@ -161,7 +161,6 @@ namespace MediaBrowser.ApiItemIdList = GetGuids(request.Ids),UserId = request.UserId,MediaType = request.MediaType-}).ConfigureAwait(false);return ToOptimizedResult(result);diff --git a/MediaBrowser.Api/SearchService.cs b/MediaBrowser.Api/SearchService.csindex e9d339c6e3..4a2f96ed86 100644--- a/MediaBrowser.Api/SearchService.cs+++ b/MediaBrowser.Api/SearchService.cs@@ -180,7 +180,6 @@ namespace MediaBrowser.ApiIsNews = request.IsNews,IsSeries = request.IsSeries,IsSports = request.IsSports-});return new SearchHintResultdiff --git a/MediaBrowser.Api/SimilarItemsHelper.cs b/MediaBrowser.Api/SimilarItemsHelper.csindex dcd22280a6..90c324ff3f 100644--- a/MediaBrowser.Api/SimilarItemsHelper.cs+++ b/MediaBrowser.Api/SimilarItemsHelper.cs@@ -218,6 +218,5 @@ namespace MediaBrowser.Apireturn points;}-}}diff --git a/MediaBrowser.Api/System/SystemService.cs b/MediaBrowser.Api/System/SystemService.csindex c57cc93d55..4f10a4ad2e 100644--- a/MediaBrowser.Api/System/SystemService.cs+++ b/MediaBrowser.Api/System/SystemService.cs@@ -24,20 +24,17 @@ namespace MediaBrowser.Api.System[Authenticated(EscapeParentalControl = true, AllowBeforeStartupWizard = true)]public class GetSystemInfo : IReturn<SystemInfo>{-}[Route("/System/Info/Public", "GET", Summary = "Gets public information about the server")]public class GetPublicSystemInfo : IReturn<PublicSystemInfo>{-}[Route("/System/Ping", "POST")][Route("/System/Ping", "GET")]public class PingSystem : IReturnVoid{-}/// <summary>@@ -83,7 +80,6 @@ namespace MediaBrowser.Api.System[Authenticated]public class GetWakeOnLanInfo : IReturn<WakeOnLanInfo[]>{-}/// <summary>@@ -153,7 +149,6 @@ namespace MediaBrowser.Api.SystemDateModified = _fileSystem.GetLastWriteTimeUtc(i),Name = i.Name,Size = i.Length-}).OrderByDescending(i => i.DateModified).ThenByDescending(i => i.DateCreated).ThenBy(i => i.Name)diff --git a/MediaBrowser.Api/TvShowsService.cs b/MediaBrowser.Api/TvShowsService.csindex 0c23d8b291..23062b67b7 100644--- a/MediaBrowser.Api/TvShowsService.cs+++ b/MediaBrowser.Api/TvShowsService.cs@@ -306,7 +306,6 @@ namespace MediaBrowser.ApiParentId = parentIdGuid,Recursive = true,DtoOptions = options-});var returnItems = _dtoService.GetBaseItemDtos(itemsResult, options, user);@@ -390,7 +389,6 @@ namespace MediaBrowser.ApiIsMissing = request.IsMissing,IsSpecialSeason = request.IsSpecialSeason,AdjacentTo = request.AdjacentTo-});var dtoOptions = GetDtoOptions(_authContext, request);diff --git a/MediaBrowser.Api/UserLibrary/BaseItemsByNameService.cs b/MediaBrowser.Api/UserLibrary/BaseItemsByNameService.csindex a1ec084679..4802849f48 100644--- a/MediaBrowser.Api/UserLibrary/BaseItemsByNameService.cs+++ b/MediaBrowser.Api/UserLibrary/BaseItemsByNameService.cs@@ -322,7 +322,6 @@ namespace MediaBrowser.Api.UserLibrary{ibnItems = ibnItems.Take(request.Limit.Value);}-}var tuples = ibnItems.Select(i => new Tuple<BaseItem, List<BaseItem>>(i, new List<BaseItem>()));diff --git a/MediaBrowser.Api/UserLibrary/UserViewsService.cs b/MediaBrowser.Api/UserLibrary/UserViewsService.csindex 0fffb06223..73d5ec6dec 100644--- a/MediaBrowser.Api/UserLibrary/UserViewsService.cs+++ b/MediaBrowser.Api/UserLibrary/UserViewsService.cs@@ -129,7 +129,6 @@ namespace MediaBrowser.Api.UserLibrary{Name = i.Name,Id = i.Id.ToString("N", CultureInfo.InvariantCulture)-}).OrderBy(i => i.Name).ToArray();diff --git a/MediaBrowser.Controller/Channels/ISearchableChannel.cs b/MediaBrowser.Controller/Channels/ISearchableChannel.csindex d5b76a1608..48043ad7a7 100644--- a/MediaBrowser.Controller/Channels/ISearchableChannel.cs+++ b/MediaBrowser.Controller/Channels/ISearchableChannel.cs@@ -35,12 +35,10 @@ namespace MediaBrowser.Controller.Channelspublic interface IDisableMediaSourceDisplay{-}public interface ISupportsMediaProbe{-}public interface IHasFolderAttributesdiff --git a/MediaBrowser.Controller/Entities/BaseItem.cs b/MediaBrowser.Controller/Entities/BaseItem.csindex 52fe83af06..3b08bd237f 100644--- a/MediaBrowser.Controller/Entities/BaseItem.cs+++ b/MediaBrowser.Controller/Entities/BaseItem.cs@@ -767,7 +767,6 @@ namespace MediaBrowser.Controller.Entitiesget => GetParent() as Folder;set{-}}@@ -1064,7 +1063,6 @@ namespace MediaBrowser.Controller.Entities}return 1;-}).ThenBy(i => i.Video3DFormat.HasValue ? 1 : 0).ThenByDescending(i =>{@@ -1347,12 +1345,10 @@ namespace MediaBrowser.Controller.Entitiesprotected virtual void TriggerOnRefreshStart(){-}protected virtual void TriggerOnRefreshComplete(){-}/// <summary>diff --git a/MediaBrowser.Controller/Entities/Folder.cs b/MediaBrowser.Controller/Entities/Folder.csindex 366b3bd70d..3a01b43795 100644--- a/MediaBrowser.Controller/Entities/Folder.cs+++ b/MediaBrowser.Controller/Entities/Folder.cs@@ -500,7 +500,6 @@ namespace MediaBrowser.Controller.Entitiesif (series != null){await series.RefreshMetadata(refreshOptions, cancellationToken).ConfigureAwait(false);-}await container.RefreshAllMetadata(refreshOptions, progress, cancellationToken).ConfigureAwait(false);}@@ -615,7 +614,6 @@ namespace MediaBrowser.Controller.Entities{EnableImages = false}-});return result.TotalRecordCount;@@ -1629,7 +1627,6 @@ namespace MediaBrowser.Controller.EntitiesRecursive = true,IsFolder = false,EnableTotalRecordCount = false-});// Sweep through recursively and update status@@ -1647,7 +1644,6 @@ namespace MediaBrowser.Controller.EntitiesIsFolder = false,IsVirtualItem = false,EnableTotalRecordCount = false-});return itemsResultdiff --git a/MediaBrowser.Controller/Entities/UserViewBuilder.cs b/MediaBrowser.Controller/Entities/UserViewBuilder.csindex 8162fb4ebf..dbfef07776 100644--- a/MediaBrowser.Controller/Entities/UserViewBuilder.cs+++ b/MediaBrowser.Controller/Entities/UserViewBuilder.cs@@ -270,7 +270,6 @@ namespace MediaBrowser.Controller.Entities_logger.LogError(ex, "Error getting genre");return null;}-}).Where(i => i != null).Select(i => GetUserViewWithName(i.Name, SpecialFolder.MovieGenre, i.SortName, parent));@@ -347,7 +346,6 @@ namespace MediaBrowser.Controller.EntitiesLimit = query.Limit,StartIndex = query.StartIndex,UserId = query.User.Id-}, parentFolders, query.DtoOptions);return result;@@ -384,7 +382,6 @@ namespace MediaBrowser.Controller.EntitiesIncludeItemTypes = new[] { typeof(Series).Name },Recursive = true,EnableTotalRecordCount = false-}).Items.SelectMany(i => i.Genres).DistinctNames()@@ -399,7 +396,6 @@ namespace MediaBrowser.Controller.Entities_logger.LogError(ex, "Error getting genre");return null;}-}).Where(i => i != null).Select(i => GetUserViewWithName(i.Name, SpecialFolder.TvGenre, i.SortName, parent));diff --git a/MediaBrowser.Controller/Entities/Video.cs b/MediaBrowser.Controller/Entities/Video.csindex 72eb67a06c..4cfa0e74d6 100644--- a/MediaBrowser.Controller/Entities/Video.cs+++ b/MediaBrowser.Controller/Entities/Video.cs@@ -535,7 +535,6 @@ namespace MediaBrowser.Controller.Entities{ItemId = Id,Index = DefaultVideoStreamIndex.Value-}).FirstOrDefault();}diff --git a/MediaBrowser.Controller/IO/FileData.cs b/MediaBrowser.Controller/IO/FileData.csindex 848e4fb162..aa73738155 100644--- a/MediaBrowser.Controller/IO/FileData.cs+++ b/MediaBrowser.Controller/IO/FileData.cs@@ -118,7 +118,6 @@ namespace MediaBrowser.Controller.IO}return returnResult;}-}}diff --git a/MediaBrowser.Controller/Library/ItemResolveArgs.cs b/MediaBrowser.Controller/Library/ItemResolveArgs.csindex 0222b926e9..cca85cd3b9 100644--- a/MediaBrowser.Controller/Library/ItemResolveArgs.cs+++ b/MediaBrowser.Controller/Library/ItemResolveArgs.cs@@ -89,7 +89,6 @@ namespace MediaBrowser.Controller.Libraryreturn parentDir.Length > _appPaths.RootFolderPath.Length&& parentDir.StartsWith(_appPaths.RootFolderPath, StringComparison.OrdinalIgnoreCase);-}}@@ -129,7 +128,6 @@ namespace MediaBrowser.Controller.Library}return item != null;-}return false;}diff --git a/MediaBrowser.Controller/LiveTv/LiveTvConflictException.cs b/MediaBrowser.Controller/LiveTv/LiveTvConflictException.csindex df8f91eecf..92b8ee67ca 100644--- a/MediaBrowser.Controller/LiveTv/LiveTvConflictException.cs+++ b/MediaBrowser.Controller/LiveTv/LiveTvConflictException.cs@@ -9,12 +9,10 @@ namespace MediaBrowser.Controller.LiveTv{public LiveTvConflictException(){-}public LiveTvConflictException(string message): base(message){-}}}diff --git a/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs b/MediaBrowser.Controller/MediaEncoding/EncodingHelper.csindex 23cb3dbbca..0ca42c0e00 100644--- a/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs+++ b/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs@@ -759,7 +759,6 @@ namespace MediaBrowser.Controller.MediaEncoding}param += " -look_ahead 0";-}else if (string.Equals(videoEncoder, "h264_nvenc", StringComparison.OrdinalIgnoreCase) // h264 (h264_nvenc)|| string.Equals(videoEncoder, "hevc_nvenc", StringComparison.OrdinalIgnoreCase))diff --git a/MediaBrowser.Controller/Persistence/IUserDataRepository.cs b/MediaBrowser.Controller/Persistence/IUserDataRepository.csindex a4bdf60d79..4c327eeef9 100644--- a/MediaBrowser.Controller/Persistence/IUserDataRepository.cs+++ b/MediaBrowser.Controller/Persistence/IUserDataRepository.cs@@ -44,6 +44,5 @@ namespace MediaBrowser.Controller.Persistence/// <param name="cancellationToken"></param>/// <returns></returns>void SaveAllUserData(long userId, UserItemData[] userData, CancellationToken cancellationToken);-}}diff --git a/MediaBrowser.Controller/Plugins/IServerEntryPoint.cs b/MediaBrowser.Controller/Plugins/IServerEntryPoint.csindex 1e8654c4dc..b44e2531e1 100644--- a/MediaBrowser.Controller/Plugins/IServerEntryPoint.cs+++ b/MediaBrowser.Controller/Plugins/IServerEntryPoint.cs@@ -22,6 +22,5 @@ namespace MediaBrowser.Controller.Plugins/// </summary>public interface IRunBeforeStartup{-}}diff --git a/MediaBrowser.LocalMetadata/Parsers/BaseItemXmlParser.cs b/MediaBrowser.LocalMetadata/Parsers/BaseItemXmlParser.csindex 9fb28c334d..0ceb55c572 100644--- a/MediaBrowser.LocalMetadata/Parsers/BaseItemXmlParser.cs+++ b/MediaBrowser.LocalMetadata/Parsers/BaseItemXmlParser.cs@@ -255,7 +255,6 @@ namespace MediaBrowser.LocalMetadata.Parsers}return null;-}).Where(i => i.HasValue).Select(i => i.Value).ToArray();}@@ -680,7 +679,6 @@ namespace MediaBrowser.LocalMetadata.Parsers}break;-}}}@@ -1260,6 +1258,5 @@ namespace MediaBrowser.LocalMetadata.Parsers{return val.Split(separators, options);}-}}diff --git a/MediaBrowser.MediaEncoding/Attachments/AttachmentExtractor.cs b/MediaBrowser.MediaEncoding/Attachments/AttachmentExtractor.csindex a82f2108fb..f029993706 100644--- a/MediaBrowser.MediaEncoding/Attachments/AttachmentExtractor.cs+++ b/MediaBrowser.MediaEncoding/Attachments/AttachmentExtractor.cs@@ -269,7 +269,6 @@ namespace MediaBrowser.MediaEncoding.Attachmentsif (disposing){-}_disposed = true;diff --git a/MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs b/MediaBrowser.MediaEncoding/Encoder/MediaEncoder.csindex 18e4a38c61..a4896d5f90 100644--- a/MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs+++ b/MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs@@ -920,7 +920,6 @@ namespace MediaBrowser.MediaEncoding.Encodervar fileParts = _fileSystem.GetFileNameWithoutExtension(f).Split('_');return fileParts.Length == 3 && string.Equals(title, fileParts[1], StringComparison.OrdinalIgnoreCase);-}).ToList();// If this resulted in not getting any vobs, just take them alldiff --git a/MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs b/MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.csindex ed5f77053c..7d57a691e6 100644--- a/MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs+++ b/MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs@@ -413,7 +413,6 @@ namespace MediaBrowser.MediaEncoding.Probing.Where(i => !string.IsNullOrWhiteSpace(i)).Distinct(StringComparer.OrdinalIgnoreCase).ToArray();-}else if (string.Equals(key, "screenwriters", StringComparison.OrdinalIgnoreCase)){@@ -425,7 +424,6 @@ namespace MediaBrowser.MediaEncoding.ProbingType = PersonType.Writer});}-}else if (string.Equals(key, "producers", StringComparison.OrdinalIgnoreCase)){@@ -1028,7 +1026,6 @@ namespace MediaBrowser.MediaEncoding.Probingaudio.AlbumArtists = SplitArtists(albumArtist, _nameDelimiters, true).DistinctNames().ToArray();-}if (audio.AlbumArtists.Length == 0)diff --git a/MediaBrowser.MediaEncoding/Subtitles/SsaParser.cs b/MediaBrowser.MediaEncoding/Subtitles/SsaParser.csindex ebacc7d9f7..bae2f54176 100644--- a/MediaBrowser.MediaEncoding/Subtitles/SsaParser.cs+++ b/MediaBrowser.MediaEncoding/Subtitles/SsaParser.cs@@ -261,7 +261,6 @@ namespace MediaBrowser.MediaEncoding.Subtitlestext += "</font>";}}-}text = text.Replace(@"{\i1}", "<i>");diff --git a/MediaBrowser.MediaEncoding/Subtitles/SubtitleEncoder.cs b/MediaBrowser.MediaEncoding/Subtitles/SubtitleEncoder.csindex f08af60451..7e9894f0a5 100644--- a/MediaBrowser.MediaEncoding/Subtitles/SubtitleEncoder.cs+++ b/MediaBrowser.MediaEncoding/Subtitles/SubtitleEncoder.cs@@ -640,7 +640,6 @@ namespace MediaBrowser.MediaEncoding.Subtitles}catch (FileNotFoundException){-}catch (IOException ex){diff --git a/MediaBrowser.Model/Dlna/MediaFormatProfileResolver.cs b/MediaBrowser.Model/Dlna/MediaFormatProfileResolver.csindex 10e9179c08..c03a8060f6 100644--- a/MediaBrowser.Model/Dlna/MediaFormatProfileResolver.cs+++ b/MediaBrowser.Model/Dlna/MediaFormatProfileResolver.cs@@ -158,7 +158,6 @@ namespace MediaBrowser.Model.Dlnareturn new MediaFormatProfile[] { ValueOf(string.Format("VC1_TS_HD_DTS{0}", suffix)) };}-}else if (string.Equals(videoCodec, "mpeg4", StringComparison.OrdinalIgnoreCase) || string.Equals(videoCodec, "msmpeg4", StringComparison.OrdinalIgnoreCase)){diff --git a/MediaBrowser.Model/Dlna/ProfileCondition.cs b/MediaBrowser.Model/Dlna/ProfileCondition.csindex f8b5dee81e..4b39d68759 100644--- a/MediaBrowser.Model/Dlna/ProfileCondition.cs+++ b/MediaBrowser.Model/Dlna/ProfileCondition.cs@@ -15,7 +15,6 @@ namespace MediaBrowser.Model.Dlnapublic ProfileCondition(ProfileConditionType condition, ProfileConditionValue property, string value): this(condition, property, value, false){-}public ProfileCondition(ProfileConditionType condition, ProfileConditionValue property, string value, bool isRequired)diff --git a/MediaBrowser.Model/Dlna/SortCriteria.cs b/MediaBrowser.Model/Dlna/SortCriteria.csindex 3f8985fdc5..1f7fa76ade 100644--- a/MediaBrowser.Model/Dlna/SortCriteria.cs+++ b/MediaBrowser.Model/Dlna/SortCriteria.cs@@ -10,7 +10,6 @@ namespace MediaBrowser.Model.Dlnapublic SortCriteria(string value){-}}}diff --git a/MediaBrowser.Model/Dlna/StreamBuilder.cs b/MediaBrowser.Model/Dlna/StreamBuilder.csindex 8ebd30b725..3fe5cf7741 100644--- a/MediaBrowser.Model/Dlna/StreamBuilder.cs+++ b/MediaBrowser.Model/Dlna/StreamBuilder.cs@@ -109,7 +109,6 @@ namespace MediaBrowser.Model.Dlna}return 1;-}).ThenBy(i =>{switch (i.PlayMethod)@@ -121,7 +120,6 @@ namespace MediaBrowser.Model.Dlnadefault:return 1;}-}).ThenBy(i =>{switch (i.MediaSource.Protocol)@@ -131,7 +129,6 @@ namespace MediaBrowser.Model.Dlnadefault:return 1;}-}).ThenBy(i =>{if (maxBitrate > 0)@@ -143,7 +140,6 @@ namespace MediaBrowser.Model.Dlna}return 0;-}).ThenBy(streams.IndexOf);}diff --git a/MediaBrowser.Model/Entities/MediaStream.cs b/MediaBrowser.Model/Entities/MediaStream.csindex 12eaa184c4..3db72f78ac 100644--- a/MediaBrowser.Model/Entities/MediaStream.cs+++ b/MediaBrowser.Model/Entities/MediaStream.cs@@ -208,7 +208,6 @@ namespace MediaBrowser.Model.Entitiesif (Type == MediaStreamType.Video){-}return null;diff --git a/MediaBrowser.Model/Entities/PackageReviewInfo.cs b/MediaBrowser.Model/Entities/PackageReviewInfo.csindex 1ebbc33231..5b22b34ace 100644--- a/MediaBrowser.Model/Entities/PackageReviewInfo.cs+++ b/MediaBrowser.Model/Entities/PackageReviewInfo.cs@@ -36,6 +36,5 @@ namespace MediaBrowser.Model.Entities/// Gets or sets the time of review./// </summary>public DateTime timestamp { get; set; }-}}diff --git a/MediaBrowser.Model/LiveTv/TimerInfoDto.cs b/MediaBrowser.Model/LiveTv/TimerInfoDto.csindex 19039d4488..0b9b4141aa 100644--- a/MediaBrowser.Model/LiveTv/TimerInfoDto.cs+++ b/MediaBrowser.Model/LiveTv/TimerInfoDto.cs@@ -41,6 +41,5 @@ namespace MediaBrowser.Model.LiveTv/// </summary>/// <value>The program information.</value>public BaseItemDto ProgramInfo { get; set; }-}}diff --git a/MediaBrowser.Model/Net/HttpException.cs b/MediaBrowser.Model/Net/HttpException.csindex 4b15e30f07..48ff5d51cc 100644--- a/MediaBrowser.Model/Net/HttpException.cs+++ b/MediaBrowser.Model/Net/HttpException.cs@@ -28,7 +28,6 @@ namespace MediaBrowser.Model.Netpublic HttpException(string message, Exception innerException): base(message, innerException){-}/// <summary>diff --git a/MediaBrowser.Model/Providers/RemoteSearchResult.cs b/MediaBrowser.Model/Providers/RemoteSearchResult.csindex c96eb0b59a..989741c01a 100644--- a/MediaBrowser.Model/Providers/RemoteSearchResult.cs+++ b/MediaBrowser.Model/Providers/RemoteSearchResult.cs@@ -51,6 +51,5 @@ namespace MediaBrowser.Model.Providerspublic RemoteSearchResult[] Artists { get; set; }-}}diff --git a/MediaBrowser.Providers/Manager/ItemImageProvider.cs b/MediaBrowser.Providers/Manager/ItemImageProvider.csindex ee9a32966f..7901503d3f 100644--- a/MediaBrowser.Providers/Manager/ItemImageProvider.cs+++ b/MediaBrowser.Providers/Manager/ItemImageProvider.cs@@ -335,7 +335,6 @@ namespace MediaBrowser.Providers.Manager}catch (FileNotFoundException){-}}@@ -529,7 +528,6 @@ namespace MediaBrowser.Providers.Manager{Path = path,Type = imageType-}, newIndex);}diff --git a/MediaBrowser.Providers/Manager/ProviderManager.cs b/MediaBrowser.Providers/Manager/ProviderManager.csindex 31c239e24f..5853c77144 100644--- a/MediaBrowser.Providers/Manager/ProviderManager.cs+++ b/MediaBrowser.Providers/Manager/ProviderManager.cs@@ -905,7 +905,6 @@ namespace MediaBrowser.Providers.Manageri.UrlFormatString,value)};-}).Where(i => i != null).Concat(item.GetRelatedUrls());}diff --git a/MediaBrowser.Providers/Manager/ProviderUtils.cs b/MediaBrowser.Providers/Manager/ProviderUtils.csindex 7f2a1410bb..60410032e5 100644--- a/MediaBrowser.Providers/Manager/ProviderUtils.cs+++ b/MediaBrowser.Providers/Manager/ProviderUtils.cs@@ -111,7 +111,6 @@ namespace MediaBrowser.Providers.Managerif (replaceData || targetResult.People == null || targetResult.People.Count == 0){targetResult.People = sourceResult.People;-}else if (targetResult.People != null && sourceResult.People != null){diff --git a/MediaBrowser.Providers/MediaInfo/AudioImageProvider.cs b/MediaBrowser.Providers/MediaInfo/AudioImageProvider.csindex 7023ef706b..ba87e05709 100644--- a/MediaBrowser.Providers/MediaInfo/AudioImageProvider.cs+++ b/MediaBrowser.Providers/MediaInfo/AudioImageProvider.cs@@ -79,7 +79,6 @@ namespace MediaBrowser.Providers.MediaInfo}catch{-}}diff --git a/MediaBrowser.Providers/MediaInfo/FFProbeAudioInfo.cs b/MediaBrowser.Providers/MediaInfo/FFProbeAudioInfo.csindex 1e7ae5e74d..73c89e8153 100644--- a/MediaBrowser.Providers/MediaInfo/FFProbeAudioInfo.cs+++ b/MediaBrowser.Providers/MediaInfo/FFProbeAudioInfo.cs@@ -63,7 +63,6 @@ namespace MediaBrowser.Providers.MediaInfoPath = path,Protocol = protocol}-}, cancellationToken).ConfigureAwait(false);cancellationToken.ThrowIfCancellationRequested();diff --git a/MediaBrowser.Providers/MediaInfo/SubtitleResolver.cs b/MediaBrowser.Providers/MediaInfo/SubtitleResolver.csindex c0eee54fee..1477488d7a 100644--- a/MediaBrowser.Providers/MediaInfo/SubtitleResolver.cs+++ b/MediaBrowser.Providers/MediaInfo/SubtitleResolver.cs@@ -60,7 +60,6 @@ namespace MediaBrowser.Providers.MediaInfo}catch (IOException){-}return streams;diff --git a/MediaBrowser.Providers/Plugins/TheTvdb/TvdbSeriesProvider.cs b/MediaBrowser.Providers/Plugins/TheTvdb/TvdbSeriesProvider.csindex c9edcc8e90..30de1391d5 100644--- a/MediaBrowser.Providers/Plugins/TheTvdb/TvdbSeriesProvider.cs+++ b/MediaBrowser.Providers/Plugins/TheTvdb/TvdbSeriesProvider.cs@@ -247,7 +247,6 @@ namespace MediaBrowser.Providers.Plugins.TheTvdbProductionYear = firstAired.Year,SearchProviderName = Name,ImageUrl = TvdbUtils.BannerUrl + seriesSearchResult.Banner-};trydiff --git a/MediaBrowser.Providers/Plugins/Tmdb/Movies/GenericTmdbMovieInfo.cs b/MediaBrowser.Providers/Plugins/Tmdb/Movies/GenericTmdbMovieInfo.csindex 2f75f7cba1..2c6e08921f 100644--- a/MediaBrowser.Providers/Plugins/Tmdb/Movies/GenericTmdbMovieInfo.cs+++ b/MediaBrowser.Providers/Plugins/Tmdb/Movies/GenericTmdbMovieInfo.cs@@ -304,6 +304,5 @@ namespace MediaBrowser.Providers.Plugins.Tmdb.Movies}).ToArray();}}-}}diff --git a/MediaBrowser.Providers/Plugins/Tmdb/Movies/TmdbMovieProvider.cs b/MediaBrowser.Providers/Plugins/Tmdb/Movies/TmdbMovieProvider.csindex 64d3ecd7b5..faeb48b12e 100644--- a/MediaBrowser.Providers/Plugins/Tmdb/Movies/TmdbMovieProvider.cs+++ b/MediaBrowser.Providers/Plugins/Tmdb/Movies/TmdbMovieProvider.cs@@ -149,7 +149,6 @@ namespace MediaBrowser.Providers.Plugins.Tmdb.MoviesUrl = string.Format(TmdbConfigUrl, TmdbUtils.ApiKey),CancellationToken = cancellationToken,AcceptHeader = TmdbUtils.AcceptHeader-}).ConfigureAwait(false)){using (Stream json = response.Content)@@ -344,7 +343,6 @@ namespace MediaBrowser.Providers.Plugins.Tmdb.MoviesAcceptHeader = TmdbUtils.AcceptHeader,CacheMode = cacheMode,CacheLength = cacheLength-}).ConfigureAwait(false)){using (var json = response.Content)@@ -389,7 +387,6 @@ namespace MediaBrowser.Providers.Plugins.Tmdb.MoviesAcceptHeader = TmdbUtils.AcceptHeader,CacheMode = cacheMode,CacheLength = cacheLength-}).ConfigureAwait(false)){using (var json = response.Content)diff --git a/MediaBrowser.Providers/Plugins/Tmdb/Movies/TmdbSearch.cs b/MediaBrowser.Providers/Plugins/Tmdb/Movies/TmdbSearch.csindex 3e52c72e07..c5dc060c09 100644--- a/MediaBrowser.Providers/Plugins/Tmdb/Movies/TmdbSearch.cs+++ b/MediaBrowser.Providers/Plugins/Tmdb/Movies/TmdbSearch.cs@@ -203,7 +203,6 @@ namespace MediaBrowser.Providers.Plugins.Tmdb.MoviesremoteResult.SetProviderId(MetadataProvider.Tmdb, i.Id.ToString(_usCulture));return remoteResult;-}).ToList();}@@ -224,7 +223,6 @@ namespace MediaBrowser.Providers.Plugins.Tmdb.MoviesUrl = url3,CancellationToken = cancellationToken,AcceptHeader = TmdbUtils.AcceptHeader-}).ConfigureAwait(false)){using (var json = response.Content)@@ -256,7 +254,6 @@ namespace MediaBrowser.Providers.Plugins.Tmdb.MoviesremoteResult.SetProviderId(MetadataProvider.Tmdb, i.Id.ToString(_usCulture));return remoteResult;-}).ToList();}diff --git a/MediaBrowser.Providers/Plugins/Tmdb/People/TmdbPersonProvider.cs b/MediaBrowser.Providers/Plugins/Tmdb/People/TmdbPersonProvider.csindex 6b63ff6645..654e42a90c 100644--- a/MediaBrowser.Providers/Plugins/Tmdb/People/TmdbPersonProvider.cs+++ b/MediaBrowser.Providers/Plugins/Tmdb/People/TmdbPersonProvider.cs@@ -232,7 +232,6 @@ namespace MediaBrowser.Providers.Plugins.Tmdb.PeopleUrl = url,CancellationToken = cancellationToken,AcceptHeader = TmdbUtils.AcceptHeader-}).ConfigureAwait(false)){using (var json = response.Content)diff --git a/MediaBrowser.Providers/Plugins/Tmdb/TV/TmdbEpisodeProviderBase.cs b/MediaBrowser.Providers/Plugins/Tmdb/TV/TmdbEpisodeProviderBase.csindex f82f5f2ab8..ab1f9dab5a 100644--- a/MediaBrowser.Providers/Plugins/Tmdb/TV/TmdbEpisodeProviderBase.cs+++ b/MediaBrowser.Providers/Plugins/Tmdb/TV/TmdbEpisodeProviderBase.cs@@ -127,7 +127,6 @@ namespace MediaBrowser.Providers.Plugins.Tmdb.TVUrl = url,CancellationToken = cancellationToken,AcceptHeader = TmdbUtils.AcceptHeader-}).ConfigureAwait(false)){using (var json = response.Content)diff --git a/MediaBrowser.Providers/Studios/StudiosImageProvider.cs b/MediaBrowser.Providers/Studios/StudiosImageProvider.csindex cbef27a091..e92e5ceab5 100644--- a/MediaBrowser.Providers/Studios/StudiosImageProvider.cs+++ b/MediaBrowser.Providers/Studios/StudiosImageProvider.cs@@ -201,6 +201,5 @@ namespace MediaBrowser.Providers.Studios}}}-}}diff --git a/MediaBrowser.Providers/Subtitles/SubtitleManager.cs b/MediaBrowser.Providers/Subtitles/SubtitleManager.csindex c6ffc460c4..8086533eb6 100644--- a/MediaBrowser.Providers/Subtitles/SubtitleManager.cs+++ b/MediaBrowser.Providers/Subtitles/SubtitleManager.cs@@ -311,7 +311,6 @@ namespace MediaBrowser.Providers.SubtitlesIndex = index,ItemId = item.Id,Type = MediaStreamType.Subtitle-}).First();var path = stream.Path;@@ -365,9 +364,7 @@ namespace MediaBrowser.Providers.Subtitles{Name = i.Name,Id = GetProviderId(i.Name)-}).ToArray();}-}}diff --git a/MediaBrowser.Providers/TV/TvExternalIds.cs b/MediaBrowser.Providers/TV/TvExternalIds.csindex bd59606e79..ec7873eaa0 100644--- a/MediaBrowser.Providers/TV/TvExternalIds.cs+++ b/MediaBrowser.Providers/TV/TvExternalIds.cs@@ -33,7 +33,6 @@ namespace MediaBrowser.Providers.TV/// <inheritdoc />public bool Supports(IHasProviderIds item) => item is Series;-}public class TvdbSeasonExternalId : IExternalIddiff --git a/MediaBrowser.WebDashboard/jellyfin-web b/MediaBrowser.WebDashboard/jellyfin-webnew file mode 120000index 0000000000..a1757cfbb3--- /dev/null+++ b/MediaBrowser.WebDashboard/jellyfin-web@@ -0,0 +1 @@+/home/telans/src/jellyfin-web/dist/\ No newline at end of filediff --git a/RSSDP/DeviceAvailableEventArgs.cs b/RSSDP/DeviceAvailableEventArgs.csindex 21ac7c6311..439cee4674 100644--- a/RSSDP/DeviceAvailableEventArgs.cs+++ b/RSSDP/DeviceAvailableEventArgs.cs@@ -54,6 +54,5 @@ namespace Rssdp}#endregion-}}diff --git a/RSSDP/DeviceEventArgs.cs b/RSSDP/DeviceEventArgs.csindex 05eb4a2567..faeff83476 100644--- a/RSSDP/DeviceEventArgs.cs+++ b/RSSDP/DeviceEventArgs.cs@@ -41,6 +41,5 @@ namespace Rssdp}#endregion-}}diff --git a/RSSDP/HttpRequestParser.cs b/RSSDP/HttpRequestParser.csindex 279ef883ca..3fc328b8c1 100644--- a/RSSDP/HttpRequestParser.cs+++ b/RSSDP/HttpRequestParser.cs@@ -85,6 +85,5 @@ namespace Rssdp.Infrastructure}#endregion-}}diff --git a/RSSDP/ISsdpCommunicationsServer.cs b/RSSDP/ISsdpCommunicationsServer.csindex 8cf65df116..02c3af0e5e 100644--- a/RSSDP/ISsdpCommunicationsServer.cs+++ b/RSSDP/ISsdpCommunicationsServer.cs@@ -61,6 +61,5 @@ namespace Rssdp.Infrastructurebool IsShared { get; set; }#endregion-}}diff --git a/RSSDP/SsdpCommunicationsServer.cs b/RSSDP/SsdpCommunicationsServer.csindex 328e6137a4..863f2b15c2 100644--- a/RSSDP/SsdpCommunicationsServer.cs+++ b/RSSDP/SsdpCommunicationsServer.cs@@ -195,11 +195,9 @@ namespace Rssdp.Infrastructure}catch (ObjectDisposedException){-}catch (OperationCanceledException){-}catch (Exception ex){diff --git a/RSSDP/SsdpConstants.cs b/RSSDP/SsdpConstants.csindex 28a014fce8..798f050e1c 100644--- a/RSSDP/SsdpConstants.cs+++ b/RSSDP/SsdpConstants.cs@@ -57,6 +57,5 @@ namespace Rssdp.Infrastructureinternal const string SsdpByeByeNotification = "ssdp:byebye";internal const int UdpResendCount = 3;-}}diff --git a/RSSDP/SsdpDevice.cs b/RSSDP/SsdpDevice.csindex 09f729e83a..691ba2a14a 100644--- a/RSSDP/SsdpDevice.cs+++ b/RSSDP/SsdpDevice.cs@@ -349,6 +349,5 @@ namespace Rssdp}#endregion-}}diff --git a/RSSDP/SsdpDeviceLocator.cs b/RSSDP/SsdpDeviceLocator.csindex 4651d3bb63..a626e13b9a 100644--- a/RSSDP/SsdpDeviceLocator.cs+++ b/RSSDP/SsdpDeviceLocator.cs@@ -120,7 +120,6 @@ namespace Rssdp.Infrastructure}catch (Exception){-}}@@ -613,6 +612,5 @@ namespace Rssdp.Infrastructure}#endregion-}}diff --git a/RSSDP/SsdpDevicePublisher.cs b/RSSDP/SsdpDevicePublisher.csindex 6a8cda8357..5dfb6a8c20 100644--- a/RSSDP/SsdpDevicePublisher.cs+++ b/RSSDP/SsdpDevicePublisher.cs@@ -335,7 +335,6 @@ namespace Rssdp.Infrastructure}catch (Exception){-}// WriteTrace(String.Format("Sent search response to " + endPoint.ToString()), device);