The Free Software Media System - Server Backend & API
Remove support for games as a media type
Claus Vium8985fb8d58c9
diff --git a/Emby.Dlna/ContentDirectory/ControlHandler.cs b/Emby.Dlna/ContentDirectory/ControlHandler.csindex 2d8bb87f9b..bed4d885c2 100644--- a/Emby.Dlna/ContentDirectory/ControlHandler.cs+++ b/Emby.Dlna/ContentDirectory/ControlHandler.cs@@ -454,7 +454,7 @@ namespace Emby.Dlna.ContentDirectoryUser = user,Recursive = true,IsMissing = false,- ExcludeItemTypes = new[] { typeof(Game).Name, typeof(Book).Name },+ ExcludeItemTypes = new[] { typeof(Book).Name },IsFolder = isFolder,MediaTypes = mediaTypes.ToArray(),DtoOptions = GetDtoOptions()@@ -523,7 +523,7 @@ namespace Emby.Dlna.ContentDirectoryLimit = limit,StartIndex = startIndex,IsVirtualItem = false,- ExcludeItemTypes = new[] { typeof(Game).Name, typeof(Book).Name },+ ExcludeItemTypes = new[] { typeof(Book).Name },IsPlaceHolder = false,DtoOptions = GetDtoOptions()};diff --git a/Emby.Dlna/Didl/DidlBuilder.cs b/Emby.Dlna/Didl/DidlBuilder.csindex e4a9cbfc66..d6f159d762 100644--- a/Emby.Dlna/Didl/DidlBuilder.cs+++ b/Emby.Dlna/Didl/DidlBuilder.cs@@ -808,7 +808,7 @@ namespace Emby.Dlna.Didl{writer.WriteString(_profile.RequiresPlainFolders ? "object.container.storageFolder" : "object.container.genre.musicGenre");}- else if (item is Genre || item is GameGenre)+ else if (item is Genre){writer.WriteString(_profile.RequiresPlainFolders ? "object.container.storageFolder" : "object.container.genre");}diff --git a/Emby.Notifications/CoreNotificationTypes.cs b/Emby.Notifications/CoreNotificationTypes.csindex 158898084c..8cc14fa012 100644--- a/Emby.Notifications/CoreNotificationTypes.cs+++ b/Emby.Notifications/CoreNotificationTypes.cs@@ -73,11 +73,6 @@ namespace Emby.NotificationsType = NotificationType.AudioPlayback.ToString()},- new NotificationTypeInfo- {- Type = NotificationType.GamePlayback.ToString()- },-new NotificationTypeInfo{Type = NotificationType.VideoPlayback.ToString()@@ -88,11 +83,6 @@ namespace Emby.NotificationsType = NotificationType.AudioPlaybackStopped.ToString()},- new NotificationTypeInfo- {- Type = NotificationType.GamePlaybackStopped.ToString()- },-new NotificationTypeInfo{Type = NotificationType.VideoPlaybackStopped.ToString()diff --git a/Emby.Server.Implementations/Activity/ActivityLogEntryPoint.cs b/Emby.Server.Implementations/Activity/ActivityLogEntryPoint.csindex efe8f98ec7..54b70d3b5b 100644--- a/Emby.Server.Implementations/Activity/ActivityLogEntryPoint.cs+++ b/Emby.Server.Implementations/Activity/ActivityLogEntryPoint.cs@@ -207,10 +207,6 @@ namespace Emby.Server.Implementations.Activity{return NotificationType.AudioPlayback.ToString();}- if (string.Equals(mediaType, MediaType.Game, StringComparison.OrdinalIgnoreCase))- {- return NotificationType.GamePlayback.ToString();- }if (string.Equals(mediaType, MediaType.Video, StringComparison.OrdinalIgnoreCase)){return NotificationType.VideoPlayback.ToString();@@ -225,10 +221,6 @@ namespace Emby.Server.Implementations.Activity{return NotificationType.AudioPlaybackStopped.ToString();}- if (string.Equals(mediaType, MediaType.Game, StringComparison.OrdinalIgnoreCase))- {- return NotificationType.GamePlaybackStopped.ToString();- }if (string.Equals(mediaType, MediaType.Video, StringComparison.OrdinalIgnoreCase)){return NotificationType.VideoPlaybackStopped.ToString();diff --git a/Emby.Server.Implementations/ApplicationHost.cs b/Emby.Server.Implementations/ApplicationHost.csindex c3176bc9c8..87e3b45ab7 100644--- a/Emby.Server.Implementations/ApplicationHost.cs+++ b/Emby.Server.Implementations/ApplicationHost.cs@@ -1671,7 +1671,6 @@ namespace Emby.Server.Implementationsvar minRequiredVersions = new Dictionary<string, Version>(StringComparer.OrdinalIgnoreCase){- { "GameBrowser.dll", new Version(3, 1) },{ "moviethemesongs.dll", new Version(1, 6) },{ "themesongs.dll", new Version(1, 2) }};diff --git a/Emby.Server.Implementations/Data/SqliteItemRepository.cs b/Emby.Server.Implementations/Data/SqliteItemRepository.csindex 3de4da4447..9ea2389f42 100644--- a/Emby.Server.Implementations/Data/SqliteItemRepository.cs+++ b/Emby.Server.Implementations/Data/SqliteItemRepository.cs@@ -1239,10 +1239,6 @@ namespace Emby.Server.Implementations.Data{return false;}- else if (type == typeof(GameGenre))- {- return false;- }else if (type == typeof(Genre)){return false;@@ -4789,10 +4785,6 @@ namespace Emby.Server.Implementations.Data{list.Add(typeof(MusicGenre).Name);}- if (IsTypeInQuery(typeof(GameGenre).Name, query))- {- list.Add(typeof(GameGenre).Name);- }if (IsTypeInQuery(typeof(MusicArtist).Name, query)){list.Add(typeof(MusicArtist).Name);@@ -4891,9 +4883,6 @@ namespace Emby.Server.Implementations.Datatypeof(Book),typeof(CollectionFolder),typeof(Folder),- typeof(Game),- typeof(GameGenre),- typeof(GameSystem),typeof(Genre),typeof(Person),typeof(Photo),@@ -5251,11 +5240,6 @@ where AncestorIdText not null and ItemValues.Value not null and ItemValues.Typereturn GetItemValues(query, new[] { 2 }, typeof(Genre).FullName);}- public QueryResult<Tuple<BaseItem, ItemCounts>> GetGameGenres(InternalItemsQuery query)- {- return GetItemValues(query, new[] { 2 }, typeof(GameGenre).FullName);- }-public QueryResult<Tuple<BaseItem, ItemCounts>> GetMusicGenres(InternalItemsQuery query){return GetItemValues(query, new[] { 2 }, typeof(MusicGenre).FullName);@@ -5276,14 +5260,9 @@ where AncestorIdText not null and ItemValues.Value not null and ItemValues.Typereturn GetItemValueNames(new[] { 2 }, new List<string> { "Audio", "MusicVideo", "MusicAlbum", "MusicArtist" }, new List<string>());}- public List<string> GetGameGenreNames()- {- return GetItemValueNames(new[] { 2 }, new List<string> { "Game" }, new List<string>());- }-public List<string> GetGenreNames(){- return GetItemValueNames(new[] { 2 }, new List<string>(), new List<string> { "Audio", "MusicVideo", "MusicAlbum", "MusicArtist", "Game", "GameSystem" });+ return GetItemValueNames(new[] { 2 }, new List<string>(), new List<string> { "Audio", "MusicVideo", "MusicAlbum", "MusicArtist" });}private List<string> GetItemValueNames(int[] itemValueTypes, List<string> withItemTypes, List<string> excludeItemTypes)@@ -5652,10 +5631,6 @@ where AncestorIdText not null and ItemValues.Value not null and ItemValues.Type{counts.SongCount = value;}- else if (string.Equals(typeName, typeof(Game).FullName, StringComparison.OrdinalIgnoreCase))- {- counts.GameCount = value;- }else if (string.Equals(typeName, typeof(Trailer).FullName, StringComparison.OrdinalIgnoreCase)){counts.TrailerCount = value;diff --git a/Emby.Server.Implementations/Dto/DtoService.cs b/Emby.Server.Implementations/Dto/DtoService.csindex d0a7de11d7..a3529fdb4a 100644--- a/Emby.Server.Implementations/Dto/DtoService.cs+++ b/Emby.Server.Implementations/Dto/DtoService.cs@@ -374,10 +374,6 @@ namespace Emby.Server.Implementations.Dtodto.MusicVideoCount = taggedItems.Count(i => i is MusicVideo);dto.SongCount = taggedItems.Count(i => i is Audio);}- else if (item is GameGenre)- {- dto.GameCount = taggedItems.Count(i => i is Game);- }else{// This populates them all and covers Genre, Person, Studio, Year@@ -385,7 +381,6 @@ namespace Emby.Server.Implementations.Dtodto.ArtistCount = taggedItems.Count(i => i is MusicArtist);dto.AlbumCount = taggedItems.Count(i => i is MusicAlbum);dto.EpisodeCount = taggedItems.Count(i => i is Episode);- dto.GameCount = taggedItems.Count(i => i is Game);dto.MovieCount = taggedItems.Count(i => i is Movie);dto.TrailerCount = taggedItems.Count(i => i is Trailer);dto.MusicVideoCount = taggedItems.Count(i => i is MusicVideo);@@ -532,17 +527,6 @@ namespace Emby.Server.Implementations.Dtodto.Album = item.Album;}- private static void SetGameProperties(BaseItemDto dto, Game item)- {- dto.GameSystem = item.GameSystem;- dto.MultiPartGameFiles = item.MultiPartGameFiles;- }-- private static void SetGameSystemProperties(BaseItemDto dto, GameSystem item)- {- dto.GameSystem = item.GameSystemName;- }-private string[] GetImageTags(BaseItem item, List<ItemImageInfo> images){return images@@ -698,11 +682,6 @@ namespace Emby.Server.Implementations.Dtoreturn _libraryManager.GetMusicGenreId(name);}- if (owner is Game || owner is GameSystem)- {- return _libraryManager.GetGameGenreId(name);- }-return _libraryManager.GetGenreId(name);}@@ -1206,20 +1185,6 @@ namespace Emby.Server.Implementations.Dto}}- var game = item as Game;-- if (game != null)- {- SetGameProperties(dto, game);- }-- var gameSystem = item as GameSystem;-- if (gameSystem != null)- {- SetGameSystemProperties(dto, gameSystem);- }-var musicVideo = item as MusicVideo;if (musicVideo != null){diff --git a/Emby.Server.Implementations/Images/BaseDynamicImageProvider.cs b/Emby.Server.Implementations/Images/BaseDynamicImageProvider.csindex 9705d54c9c..109c21f18d 100644--- a/Emby.Server.Implementations/Images/BaseDynamicImageProvider.cs+++ b/Emby.Server.Implementations/Images/BaseDynamicImageProvider.cs@@ -215,7 +215,7 @@ namespace Emby.Server.Implementations.Images{return CreateSquareCollage(item, itemsWithImages, outputPath);}- if (item is Playlist || item is MusicGenre || item is Genre || item is GameGenre || item is PhotoAlbum)+ if (item is Playlist || item is MusicGenre || item is Genre || item is PhotoAlbum){return CreateSquareCollage(item, itemsWithImages, outputPath);}diff --git a/Emby.Server.Implementations/Library/LibraryManager.cs b/Emby.Server.Implementations/Library/LibraryManager.csindex f96a211ec5..3e2ff0b2ac 100644--- a/Emby.Server.Implementations/Library/LibraryManager.cs+++ b/Emby.Server.Implementations/Library/LibraryManager.cs@@ -869,11 +869,6 @@ namespace Emby.Server.Implementations.Libraryreturn GetItemByNameId<MusicGenre>(MusicGenre.GetPath, name);}- public Guid GetGameGenreId(string name)- {- return GetItemByNameId<GameGenre>(GameGenre.GetPath, name);- }-/// <summary>/// Gets a Genre/// </summary>@@ -894,16 +889,6 @@ namespace Emby.Server.Implementations.Libraryreturn CreateItemByName<MusicGenre>(MusicGenre.GetPath, name, new DtoOptions(true));}- /// <summary>- /// Gets the game genre.- /// </summary>- /// <param name="name">The name.</param>- /// <returns>Task{GameGenre}.</returns>- public GameGenre GetGameGenre(string name)- {- return CreateItemByName<GameGenre>(GameGenre.GetPath, name, new DtoOptions(true));- }-/// <summary>/// Gets a Year/// </summary>@@ -1370,17 +1355,6 @@ namespace Emby.Server.Implementations.Libraryreturn ItemRepository.GetGenres(query);}- public QueryResult<Tuple<BaseItem, ItemCounts>> GetGameGenres(InternalItemsQuery query)- {- if (query.User != null)- {- AddUserToQuery(query, query.User);- }-- SetTopParentOrAncestorIds(query);- return ItemRepository.GetGameGenres(query);- }-public QueryResult<Tuple<BaseItem, ItemCounts>> GetMusicGenres(InternalItemsQuery query){if (query.User != null)diff --git a/Emby.Server.Implementations/Library/SearchEngine.cs b/Emby.Server.Implementations/Library/SearchEngine.csindex 71638b1978..9c7f7dfcb1 100644--- a/Emby.Server.Implementations/Library/SearchEngine.cs+++ b/Emby.Server.Implementations/Library/SearchEngine.cs@@ -99,14 +99,12 @@ namespace Emby.Server.Implementations.Libraryif (!query.IncludeMedia){AddIfMissing(includeItemTypes, typeof(Genre).Name);- AddIfMissing(includeItemTypes, typeof(GameGenre).Name);AddIfMissing(includeItemTypes, typeof(MusicGenre).Name);}}else{AddIfMissing(excludeItemTypes, typeof(Genre).Name);- AddIfMissing(excludeItemTypes, typeof(GameGenre).Name);AddIfMissing(excludeItemTypes, typeof(MusicGenre).Name);}diff --git a/Emby.Server.Implementations/Library/UserViewManager.cs b/Emby.Server.Implementations/Library/UserViewManager.csindex 9fa859bde3..e9ce682ee1 100644--- a/Emby.Server.Implementations/Library/UserViewManager.cs+++ b/Emby.Server.Implementations/Library/UserViewManager.cs@@ -308,9 +308,6 @@ namespace Emby.Server.Implementations.LibrarymediaTypes.Add(MediaType.Book);mediaTypes.Add(MediaType.Audio);break;- case CollectionType.Games:- mediaTypes.Add(MediaType.Game);- break;case CollectionType.Music:mediaTypes.Add(MediaType.Audio);break;@@ -336,7 +333,6 @@ namespace Emby.Server.Implementations.Librarytypeof(Person).Name,typeof(Studio).Name,typeof(Year).Name,- typeof(GameGenre).Name,typeof(MusicGenre).Name,typeof(Genre).Namediff --git a/Emby.Server.Implementations/Library/Validators/GameGenresPostScanTask.cs b/Emby.Server.Implementations/Library/Validators/GameGenresPostScanTask.csdeleted file mode 100644index 2b067951d6..0000000000--- a/Emby.Server.Implementations/Library/Validators/GameGenresPostScanTask.cs+++ /dev/null@@ -1,45 +0,0 @@-using System;-using System.Threading;-using System.Threading.Tasks;-using MediaBrowser.Controller.Library;-using MediaBrowser.Controller.Persistence;-using Microsoft.Extensions.Logging;--namespace Emby.Server.Implementations.Library.Validators-{- /// <summary>- /// Class GameGenresPostScanTask- /// </summary>- public class GameGenresPostScanTask : ILibraryPostScanTask- {- /// <summary>- /// The _library manager- /// </summary>- private readonly ILibraryManager _libraryManager;- private readonly ILogger _logger;- private readonly IItemRepository _itemRepo;-- /// <summary>- /// Initializes a new instance of the <see cref="GameGenresPostScanTask" /> class.- /// </summary>- /// <param name="libraryManager">The library manager.</param>- /// <param name="logger">The logger.</param>- public GameGenresPostScanTask(ILibraryManager libraryManager, ILogger logger, IItemRepository itemRepo)- {- _libraryManager = libraryManager;- _logger = logger;- _itemRepo = itemRepo;- }-- /// <summary>- /// Runs the specified progress.- /// </summary>- /// <param name="progress">The progress.</param>- /// <param name="cancellationToken">The cancellation token.</param>- /// <returns>Task.</returns>- public Task Run(IProgress<double> progress, CancellationToken cancellationToken)- {- return new GameGenresValidator(_libraryManager, _logger, _itemRepo).Run(progress, cancellationToken);- }- }-}diff --git a/Emby.Server.Implementations/Library/Validators/GameGenresValidator.cs b/Emby.Server.Implementations/Library/Validators/GameGenresValidator.csdeleted file mode 100644index f5ffa1e458..0000000000--- a/Emby.Server.Implementations/Library/Validators/GameGenresValidator.cs+++ /dev/null@@ -1,72 +0,0 @@-using System;-using System.Threading;-using System.Threading.Tasks;-using MediaBrowser.Controller.Library;-using MediaBrowser.Controller.Persistence;-using Microsoft.Extensions.Logging;--namespace Emby.Server.Implementations.Library.Validators-{- class GameGenresValidator- {- /// <summary>- /// The _library manager- /// </summary>- private readonly ILibraryManager _libraryManager;-- /// <summary>- /// The _logger- /// </summary>- private readonly ILogger _logger;- private readonly IItemRepository _itemRepo;-- public GameGenresValidator(ILibraryManager libraryManager, ILogger logger, IItemRepository itemRepo)- {- _libraryManager = libraryManager;- _logger = logger;- _itemRepo = itemRepo;- }-- /// <summary>- /// Runs the specified progress.- /// </summary>- /// <param name="progress">The progress.</param>- /// <param name="cancellationToken">The cancellation token.</param>- /// <returns>Task.</returns>- public async Task Run(IProgress<double> progress, CancellationToken cancellationToken)- {- var names = _itemRepo.GetGameGenreNames();-- var numComplete = 0;- var count = names.Count;-- foreach (var name in names)- {- try- {- var item = _libraryManager.GetGameGenre(name);-- await item.RefreshMetadata(cancellationToken).ConfigureAwait(false);- }- catch (OperationCanceledException)- {- // Don't clutter the log- throw;- }- catch (Exception ex)- {- _logger.LogError(ex, "Error refreshing {GenreName}", name);- }-- numComplete++;- double percent = numComplete;- percent /= count;- percent *= 100;-- progress.Report(percent);- }-- progress.Report(100);- }- }-}diff --git a/Emby.Server.Implementations/Localization/Core/ar.json b/Emby.Server.Implementations/Localization/Core/ar.jsonindex ec2c3f2370..eb145b4fef 100644--- a/Emby.Server.Implementations/Localization/Core/ar.json+++ b/Emby.Server.Implementations/Localization/Core/ar.json@@ -14,7 +14,6 @@"FailedLoginAttemptWithUserName": "عملية تسجيل الدخول فشلت من {0}","Favorites": "المفضلات","Folders": "المجلدات",- "Games": "الألعاب","Genres": "أنواع الأفلام","HeaderAlbumArtists": "فنانو الألبومات","HeaderCameraUploads": "Camera Uploads",@@ -51,8 +50,6 @@"NotificationOptionAudioPlayback": "بدأ تشغيل المقطع الصوتي","NotificationOptionAudioPlaybackStopped": "تم إيقاف تشغيل المقطع الصوتي","NotificationOptionCameraImageUploaded": "تم رقع صورة الكاميرا",- "NotificationOptionGamePlayback": "تم تشغيل اللعبة",- "NotificationOptionGamePlaybackStopped": "تم إيقاف تشغيل اللعبة","NotificationOptionInstallationFailed": "عملية التنصيب فشلت","NotificationOptionNewLibraryContent": "تم إضافة محتوى جديد","NotificationOptionPluginError": "فشل في الملحق",diff --git a/Emby.Server.Implementations/Localization/Core/bg-BG.json b/Emby.Server.Implementations/Localization/Core/bg-BG.jsonindex ba6c985550..a71dc93467 100644--- a/Emby.Server.Implementations/Localization/Core/bg-BG.json+++ b/Emby.Server.Implementations/Localization/Core/bg-BG.json@@ -14,7 +14,6 @@"FailedLoginAttemptWithUserName": "Failed login attempt from {0}","Favorites": "Любими","Folders": "Папки",- "Games": "Игри","Genres": "Жанрове","HeaderAlbumArtists": "Изпълнители на албуми","HeaderCameraUploads": "Camera Uploads",@@ -51,8 +50,6 @@"NotificationOptionAudioPlayback": "Възпроизвеждането на звук започна","NotificationOptionAudioPlaybackStopped": "Възпроизвеждането на звук е спряно","NotificationOptionCameraImageUploaded": "Изображението от фотоапарата е качено",- "NotificationOptionGamePlayback": "Възпроизвеждането на играта започна",- "NotificationOptionGamePlaybackStopped": "Възпроизвеждането на играта е спряна","NotificationOptionInstallationFailed": "Неуспешно инсталиране","NotificationOptionNewLibraryContent": "Добавено е ново съдържание","NotificationOptionPluginError": "Грешка в приставка",diff --git a/Emby.Server.Implementations/Localization/Core/ca.json b/Emby.Server.Implementations/Localization/Core/ca.jsonindex a818b78de9..74406a0641 100644--- a/Emby.Server.Implementations/Localization/Core/ca.json+++ b/Emby.Server.Implementations/Localization/Core/ca.json@@ -14,7 +14,6 @@"FailedLoginAttemptWithUserName": "Intent de connexió fallit des de {0}","Favorites": "Preferits","Folders": "Directoris",- "Games": "Jocs","Genres": "Gèneres","HeaderAlbumArtists": "Album Artists","HeaderCameraUploads": "Camera Uploads",@@ -51,8 +50,6 @@"NotificationOptionAudioPlayback": "Audio playback started","NotificationOptionAudioPlaybackStopped": "Audio playback stopped","NotificationOptionCameraImageUploaded": "Camera image uploaded",- "NotificationOptionGamePlayback": "Game playback started",- "NotificationOptionGamePlaybackStopped": "Game playback stopped","NotificationOptionInstallationFailed": "Installation failure","NotificationOptionNewLibraryContent": "New content added","NotificationOptionPluginError": "Un component ha fallat",diff --git a/Emby.Server.Implementations/Localization/Core/cs.json b/Emby.Server.Implementations/Localization/Core/cs.jsonindex e066051a84..a8b4a44244 100644--- a/Emby.Server.Implementations/Localization/Core/cs.json+++ b/Emby.Server.Implementations/Localization/Core/cs.json@@ -14,7 +14,6 @@"FailedLoginAttemptWithUserName": "Neúspěšný pokus o přihlášení z {0}","Favorites": "Oblíbené","Folders": "Složky",- "Games": "Hry","Genres": "Žánry","HeaderAlbumArtists": "Umělci alba","HeaderCameraUploads": "Camera Uploads",@@ -51,8 +50,6 @@"NotificationOptionAudioPlayback": "Přehrávání audia zahájeno","NotificationOptionAudioPlaybackStopped": "Přehrávání audia ukončeno","NotificationOptionCameraImageUploaded": "Kamerový záznam nahrán",- "NotificationOptionGamePlayback": "Spuštění hry zahájeno",- "NotificationOptionGamePlaybackStopped": "Hra ukončena","NotificationOptionInstallationFailed": "Chyba instalace","NotificationOptionNewLibraryContent": "Přidán nový obsah","NotificationOptionPluginError": "Chyba zásuvného modulu",diff --git a/Emby.Server.Implementations/Localization/Core/da.json b/Emby.Server.Implementations/Localization/Core/da.jsonindex 30581c389b..7004d44dba 100644--- a/Emby.Server.Implementations/Localization/Core/da.json+++ b/Emby.Server.Implementations/Localization/Core/da.json@@ -14,7 +14,6 @@"FailedLoginAttemptWithUserName": "Fejlet loginforsøg fra {0}","Favorites": "Favoritter","Folders": "Mapper",- "Games": "Spil","Genres": "Genre","HeaderAlbumArtists": "Albumkunstnere","HeaderCameraUploads": "Camera Uploads",@@ -51,8 +50,6 @@"NotificationOptionAudioPlayback": "Audioafspilning påbegyndt","NotificationOptionAudioPlaybackStopped": "Audioafspilning stoppet","NotificationOptionCameraImageUploaded": "Kamerabillede uploadet",- "NotificationOptionGamePlayback": "Afspilning af Spil påbegyndt",- "NotificationOptionGamePlaybackStopped": "Afspilning af Spil stoppet","NotificationOptionInstallationFailed": "Installationsfejl","NotificationOptionNewLibraryContent": "Nyt indhold tilføjet","NotificationOptionPluginError": "Pluginfejl",diff --git a/Emby.Server.Implementations/Localization/Core/de.json b/Emby.Server.Implementations/Localization/Core/de.jsonindex 98cb07663f..7bd2e90fe4 100644--- a/Emby.Server.Implementations/Localization/Core/de.json+++ b/Emby.Server.Implementations/Localization/Core/de.json@@ -14,7 +14,6 @@"FailedLoginAttemptWithUserName": "Fehlgeschlagener Anmeldeversuch von {0}","Favorites": "Favoriten","Folders": "Verzeichnisse",- "Games": "Spiele","Genres": "Genres","HeaderAlbumArtists": "Album-Künstler","HeaderCameraUploads": "Kamera Uploads",@@ -51,8 +50,6 @@"NotificationOptionAudioPlayback": "Audiowiedergabe gestartet","NotificationOptionAudioPlaybackStopped": "Audiowiedergabe gestoppt","NotificationOptionCameraImageUploaded": "Kamera Bild hochgeladen",- "NotificationOptionGamePlayback": "Spielwiedergabe gestartet",- "NotificationOptionGamePlaybackStopped": "Spielwiedergabe gestoppt","NotificationOptionInstallationFailed": "Installationsfehler","NotificationOptionNewLibraryContent": "Neuer Inhalt hinzugefügt","NotificationOptionPluginError": "Plugin Fehler",diff --git a/Emby.Server.Implementations/Localization/Core/el.json b/Emby.Server.Implementations/Localization/Core/el.jsonindex ba687a089a..91ca34edc2 100644--- a/Emby.Server.Implementations/Localization/Core/el.json+++ b/Emby.Server.Implementations/Localization/Core/el.json@@ -14,7 +14,6 @@"FailedLoginAttemptWithUserName": "Αποτυχημένη προσπάθεια σύνδεσης από {0}","Favorites": "Αγαπημένα","Folders": "Φάκελοι",- "Games": "Παιχνίδια","Genres": "Είδη","HeaderAlbumArtists": "Άλμπουμ Καλλιτεχνών","HeaderCameraUploads": "Camera Uploads",@@ -51,8 +50,6 @@"NotificationOptionAudioPlayback": "Η αναπαραγωγή ήχου ξεκίνησε","NotificationOptionAudioPlaybackStopped": "Η αναπαραγωγή ήχου σταμάτησε","NotificationOptionCameraImageUploaded": "Camera image uploaded",- "NotificationOptionGamePlayback": "Η αναπαραγωγή του παιχνιδιού ξεκίνησε",- "NotificationOptionGamePlaybackStopped": "Η αναπαραγωγή του παιχνιδιού σταμάτησε","NotificationOptionInstallationFailed": "Αποτυχία εγκατάστασης","NotificationOptionNewLibraryContent": "Προστέθηκε νέο περιεχόμενο","NotificationOptionPluginError": "Αποτυχία του plugin",diff --git a/Emby.Server.Implementations/Localization/Core/en-GB.json b/Emby.Server.Implementations/Localization/Core/en-GB.jsonindex 20d397a1a0..3329022925 100644--- a/Emby.Server.Implementations/Localization/Core/en-GB.json+++ b/Emby.Server.Implementations/Localization/Core/en-GB.json@@ -14,7 +14,6 @@"FailedLoginAttemptWithUserName": "Failed login attempt from {0}","Favorites": "Favourites","Folders": "Folders",- "Games": "Games","Genres": "Genres","HeaderAlbumArtists": "Album Artists","HeaderCameraUploads": "Camera Uploads",@@ -51,8 +50,6 @@"NotificationOptionAudioPlayback": "Audio playback started","NotificationOptionAudioPlaybackStopped": "Audio playback stopped","NotificationOptionCameraImageUploaded": "Camera image uploaded",- "NotificationOptionGamePlayback": "Game playback started",- "NotificationOptionGamePlaybackStopped": "Game playback stopped","NotificationOptionInstallationFailed": "Installation failure","NotificationOptionNewLibraryContent": "New content added","NotificationOptionPluginError": "Plugin failure",diff --git a/Emby.Server.Implementations/Localization/Core/en-US.json b/Emby.Server.Implementations/Localization/Core/en-US.jsonindex 69c8bf03c2..f19cd532b9 100644--- a/Emby.Server.Implementations/Localization/Core/en-US.json+++ b/Emby.Server.Implementations/Localization/Core/en-US.json@@ -14,7 +14,6 @@"FailedLoginAttemptWithUserName": "Failed login attempt from {0}","Favorites": "Favorites","Folders": "Folders",- "Games": "Games","Genres": "Genres","HeaderAlbumArtists": "Album Artists","HeaderCameraUploads": "Camera Uploads",@@ -51,8 +50,6 @@"NotificationOptionAudioPlayback": "Audio playback started","NotificationOptionAudioPlaybackStopped": "Audio playback stopped","NotificationOptionCameraImageUploaded": "Camera image uploaded",- "NotificationOptionGamePlayback": "Game playback started",- "NotificationOptionGamePlaybackStopped": "Game playback stopped","NotificationOptionInstallationFailed": "Installation failure","NotificationOptionNewLibraryContent": "New content added","NotificationOptionPluginError": "Plugin failure",diff --git a/Emby.Server.Implementations/Localization/Core/es-AR.json b/Emby.Server.Implementations/Localization/Core/es-AR.jsonindex aaaf097882..c01bb0c501 100644--- a/Emby.Server.Implementations/Localization/Core/es-AR.json+++ b/Emby.Server.Implementations/Localization/Core/es-AR.json@@ -14,7 +14,6 @@"FailedLoginAttemptWithUserName": "Failed login attempt from {0}","Favorites": "Favorites","Folders": "Folders",- "Games": "Games","Genres": "Genres","HeaderAlbumArtists": "Album Artists","HeaderCameraUploads": "Camera Uploads",@@ -51,8 +50,6 @@"NotificationOptionAudioPlayback": "Audio playback started","NotificationOptionAudioPlaybackStopped": "Audio playback stopped","NotificationOptionCameraImageUploaded": "Camera image uploaded",- "NotificationOptionGamePlayback": "Game playback started",- "NotificationOptionGamePlaybackStopped": "Game playback stopped","NotificationOptionInstallationFailed": "Installation failure","NotificationOptionNewLibraryContent": "New content added","NotificationOptionPluginError": "Plugin failure",diff --git a/Emby.Server.Implementations/Localization/Core/es-MX.json b/Emby.Server.Implementations/Localization/Core/es-MX.jsonindex 2ba9c8c7ab..2285f2808a 100644--- a/Emby.Server.Implementations/Localization/Core/es-MX.json+++ b/Emby.Server.Implementations/Localization/Core/es-MX.json@@ -14,7 +14,6 @@"FailedLoginAttemptWithUserName": "Intento fallido de inicio de sesión de {0}","Favorites": "Favoritos","Folders": "Carpetas",- "Games": "Juegos","Genres": "Géneros","HeaderAlbumArtists": "Artistas del Álbum","HeaderCameraUploads": "Subidos desde Camara",@@ -51,8 +50,6 @@"NotificationOptionAudioPlayback": "Reproducción de audio iniciada","NotificationOptionAudioPlaybackStopped": "Reproducción de audio detenida","NotificationOptionCameraImageUploaded": "Imagen de la cámara subida",- "NotificationOptionGamePlayback": "Ejecución de juego iniciada",- "NotificationOptionGamePlaybackStopped": "Ejecución de juego detenida","NotificationOptionInstallationFailed": "Falla de instalación","NotificationOptionNewLibraryContent": "Nuevo contenido agregado","NotificationOptionPluginError": "Falla de complemento",diff --git a/Emby.Server.Implementations/Localization/Core/es.json b/Emby.Server.Implementations/Localization/Core/es.jsonindex 38a2823827..5d118d21f2 100644--- a/Emby.Server.Implementations/Localization/Core/es.json+++ b/Emby.Server.Implementations/Localization/Core/es.json@@ -14,7 +14,6 @@"FailedLoginAttemptWithUserName": "Error al intentar iniciar sesión a partir de {0}","Favorites": "Favoritos","Folders": "Carpetas",- "Games": "Juegos","Genres": "Géneros","HeaderAlbumArtists": "Artistas del Álbum","HeaderCameraUploads": "Camera Uploads",@@ -51,8 +50,6 @@"NotificationOptionAudioPlayback": "Se inició la reproducción de audio","NotificationOptionAudioPlaybackStopped": "Se detuvo la reproducción de audio","NotificationOptionCameraImageUploaded": "Imagen de la cámara cargada",- "NotificationOptionGamePlayback": "Se inició la reproducción del juego",- "NotificationOptionGamePlaybackStopped": "Se detuvo la reproducción del juego","NotificationOptionInstallationFailed": "Error de instalación","NotificationOptionNewLibraryContent": "Nuevo contenido añadido","NotificationOptionPluginError": "Error en plugin",diff --git a/Emby.Server.Implementations/Localization/Core/fa.json b/Emby.Server.Implementations/Localization/Core/fa.jsonindex 1d7bc5fe82..0a0c7553b8 100644--- a/Emby.Server.Implementations/Localization/Core/fa.json+++ b/Emby.Server.Implementations/Localization/Core/fa.json@@ -14,7 +14,6 @@"FailedLoginAttemptWithUserName": "تلاش برای ورود از {0} ناموفق بود","Favorites": "مورد علاقه ها","Folders": "پوشه ها",- "Games": "بازی ها","Genres": "ژانرها","HeaderAlbumArtists": "هنرمندان آلبوم","HeaderCameraUploads": "آپلودهای دوربین",@@ -51,8 +50,6 @@"NotificationOptionAudioPlayback": "پخش صدا آغاز شد","NotificationOptionAudioPlaybackStopped": "پخش صدا متوقف شد","NotificationOptionCameraImageUploaded": "تصاویر دوربین آپلود شد",- "NotificationOptionGamePlayback": "پخش بازی آغاز شد",- "NotificationOptionGamePlaybackStopped": "پخش بازی متوقف شد","NotificationOptionInstallationFailed": "شکست نصب","NotificationOptionNewLibraryContent": "محتوای جدید افزوده شد","NotificationOptionPluginError": "خرابی افزونه",diff --git a/Emby.Server.Implementations/Localization/Core/fr-CA.json b/Emby.Server.Implementations/Localization/Core/fr-CA.jsonindex 22cd4cf6df..7202be9f56 100644--- a/Emby.Server.Implementations/Localization/Core/fr-CA.json+++ b/Emby.Server.Implementations/Localization/Core/fr-CA.json@@ -14,7 +14,6 @@"FailedLoginAttemptWithUserName": "Failed login attempt from {0}","Favorites": "Favorites","Folders": "Folders",- "Games": "Games","Genres": "Genres","HeaderAlbumArtists": "Album Artists","HeaderCameraUploads": "Camera Uploads",@@ -51,8 +50,6 @@"NotificationOptionAudioPlayback": "Audio playback started","NotificationOptionAudioPlaybackStopped": "Audio playback stopped","NotificationOptionCameraImageUploaded": "Camera image uploaded",- "NotificationOptionGamePlayback": "Game playback started",- "NotificationOptionGamePlaybackStopped": "Game playback stopped","NotificationOptionInstallationFailed": "Installation failure","NotificationOptionNewLibraryContent": "New content added","NotificationOptionPluginError": "Plugin failure",diff --git a/Emby.Server.Implementations/Localization/Core/fr.json b/Emby.Server.Implementations/Localization/Core/fr.jsonindex 085e22cf72..aa9a1add3e 100644--- a/Emby.Server.Implementations/Localization/Core/fr.json+++ b/Emby.Server.Implementations/Localization/Core/fr.json@@ -14,7 +14,6 @@"FailedLoginAttemptWithUserName": "Échec d'une tentative de connexion de {0}","Favorites": "Favoris","Folders": "Dossiers",- "Games": "Jeux","Genres": "Genres","HeaderAlbumArtists": "Artistes de l'album","HeaderCameraUploads": "Photos transférées",@@ -51,8 +50,6 @@"NotificationOptionAudioPlayback": "Lecture audio démarrée","NotificationOptionAudioPlaybackStopped": "Lecture audio arrêtée","NotificationOptionCameraImageUploaded": "L'image de l'appareil photo a été transférée",- "NotificationOptionGamePlayback": "Lecture de jeu démarrée",- "NotificationOptionGamePlaybackStopped": "Lecture de jeu arrêtée","NotificationOptionInstallationFailed": "Échec d'installation","NotificationOptionNewLibraryContent": "Nouveau contenu ajouté","NotificationOptionPluginError": "Erreur d'extension",diff --git a/Emby.Server.Implementations/Localization/Core/gsw.json b/Emby.Server.Implementations/Localization/Core/gsw.jsonindex 537fe35d5e..728002a560 100644--- a/Emby.Server.Implementations/Localization/Core/gsw.json+++ b/Emby.Server.Implementations/Localization/Core/gsw.json@@ -14,7 +14,6 @@"FailedLoginAttemptWithUserName": "Failed login attempt from {0}","Favorites": "Favorites","Folders": "Folders",- "Games": "Spiel","Genres": "Genres","HeaderAlbumArtists": "Albuminterprete","HeaderCameraUploads": "Camera Uploads",@@ -51,8 +50,6 @@"NotificationOptionAudioPlayback": "Audio playback started","NotificationOptionAudioPlaybackStopped": "Audio playback stopped","NotificationOptionCameraImageUploaded": "Camera image uploaded",- "NotificationOptionGamePlayback": "Game playback started",- "NotificationOptionGamePlaybackStopped": "Game playback stopped","NotificationOptionInstallationFailed": "Installation failure","NotificationOptionNewLibraryContent": "New content added","NotificationOptionPluginError": "Plugin failure",diff --git a/Emby.Server.Implementations/Localization/Core/he.json b/Emby.Server.Implementations/Localization/Core/he.jsonindex 6fff9d0abc..fff1d1f0ec 100644--- a/Emby.Server.Implementations/Localization/Core/he.json+++ b/Emby.Server.Implementations/Localization/Core/he.json@@ -14,7 +14,6 @@"FailedLoginAttemptWithUserName": "Failed login attempt from {0}","Favorites": "Favorites","Folders": "Folders",- "Games": "משחקים","Genres": "ז'אנרים","HeaderAlbumArtists": "Album Artists","HeaderCameraUploads": "Camera Uploads",@@ -51,8 +50,6 @@"NotificationOptionAudioPlayback": "Audio playback started","NotificationOptionAudioPlaybackStopped": "Audio playback stopped","NotificationOptionCameraImageUploaded": "Camera image uploaded",- "NotificationOptionGamePlayback": "Game playback started",- "NotificationOptionGamePlaybackStopped": "Game playback stopped","NotificationOptionInstallationFailed": "Installation failure","NotificationOptionNewLibraryContent": "New content added","NotificationOptionPluginError": "Plugin failure",diff --git a/Emby.Server.Implementations/Localization/Core/hr.json b/Emby.Server.Implementations/Localization/Core/hr.jsonindex 3232a4ff72..f284b3cd98 100644--- a/Emby.Server.Implementations/Localization/Core/hr.json+++ b/Emby.Server.Implementations/Localization/Core/hr.json@@ -14,7 +14,6 @@"FailedLoginAttemptWithUserName": "Neuspjeli pokušaj prijave za {0}","Favorites": "Omiljeni","Folders": "Mape",- "Games": "Igre","Genres": "Žanrovi","HeaderAlbumArtists": "Izvođači albuma","HeaderCameraUploads": "Camera Uploads",@@ -51,8 +50,6 @@"NotificationOptionAudioPlayback": "Reprodukcija glazbe započeta","NotificationOptionAudioPlaybackStopped": "Reprodukcija audiozapisa je zaustavljena","NotificationOptionCameraImageUploaded": "Slike kamere preuzete",- "NotificationOptionGamePlayback": "Igrica pokrenuta",- "NotificationOptionGamePlaybackStopped": "Reprodukcija igre je zaustavljena","NotificationOptionInstallationFailed": "Instalacija nije izvršena","NotificationOptionNewLibraryContent": "Novi sadržaj je dodan","NotificationOptionPluginError": "Dodatak otkazao",diff --git a/Emby.Server.Implementations/Localization/Core/hu.json b/Emby.Server.Implementations/Localization/Core/hu.jsonindex 3a0119faf9..d2d16b18fe 100644--- a/Emby.Server.Implementations/Localization/Core/hu.json+++ b/Emby.Server.Implementations/Localization/Core/hu.json@@ -14,7 +14,6 @@"FailedLoginAttemptWithUserName": "Failed login attempt from {0}","Favorites": "Kedvencek","Folders": "Könyvtárak",- "Games": "Játékok","Genres": "Műfajok","HeaderAlbumArtists": "Album Előadók","HeaderCameraUploads": "Camera Uploads",@@ -51,8 +50,6 @@"NotificationOptionAudioPlayback": "Audió lejátszás elkezdve","NotificationOptionAudioPlaybackStopped": "Audió lejátszás befejezve","NotificationOptionCameraImageUploaded": "Kamera kép feltöltve",- "NotificationOptionGamePlayback": "Game playback started",- "NotificationOptionGamePlaybackStopped": "Game playback stopped","NotificationOptionInstallationFailed": "Telepítési hiba","NotificationOptionNewLibraryContent": "Új tartalom hozzáadva","NotificationOptionPluginError": "Bővítmény hiba",diff --git a/Emby.Server.Implementations/Localization/Core/it.json b/Emby.Server.Implementations/Localization/Core/it.jsonindex 58b7bb61a0..b3d9c16cf2 100644--- a/Emby.Server.Implementations/Localization/Core/it.json+++ b/Emby.Server.Implementations/Localization/Core/it.json@@ -14,7 +14,6 @@"FailedLoginAttemptWithUserName": "Tentativo di accesso fallito da {0}","Favorites": "Preferiti","Folders": "Cartelle",- "Games": "Giochi","Genres": "Generi","HeaderAlbumArtists": "Artisti Album","HeaderCameraUploads": "Caricamenti Fotocamera",@@ -51,8 +50,6 @@"NotificationOptionAudioPlayback": "La riproduzione audio è iniziata","NotificationOptionAudioPlaybackStopped": "La riproduzione audio è stata interrotta","NotificationOptionCameraImageUploaded": "Immagine fotocamera caricata",- "NotificationOptionGamePlayback": "Il gioco è stato avviato",- "NotificationOptionGamePlaybackStopped": "Il gioco è stato fermato","NotificationOptionInstallationFailed": "Installazione fallita","NotificationOptionNewLibraryContent": "Nuovo contenuto aggiunto","NotificationOptionPluginError": "Errore del Plug-in",diff --git a/Emby.Server.Implementations/Localization/Core/kk.json b/Emby.Server.Implementations/Localization/Core/kk.jsonindex 45b8617f1a..ae256f79d6 100644--- a/Emby.Server.Implementations/Localization/Core/kk.json+++ b/Emby.Server.Implementations/Localization/Core/kk.json@@ -14,7 +14,6 @@"FailedLoginAttemptWithUserName": "{0} тарапынан кіру әрекеті сәтсіз","Favorites": "Таңдаулылар","Folders": "Қалталар",- "Games": "Ойындар","Genres": "Жанрлар","HeaderAlbumArtists": "Альбом орындаушылары","HeaderCameraUploads": "Камерадан жүктелгендер",@@ -51,8 +50,6 @@"NotificationOptionAudioPlayback": "Дыбыс ойнатуы басталды","NotificationOptionAudioPlaybackStopped": "Дыбыс ойнатуы тоқтатылды","NotificationOptionCameraImageUploaded": "Камерадан фотосурет кері қотарылған",- "NotificationOptionGamePlayback": "Ойын ойнатуы басталды",- "NotificationOptionGamePlaybackStopped": "Ойын ойнатуы тоқтатылды","NotificationOptionInstallationFailed": "Орнату сәтсіздігі","NotificationOptionNewLibraryContent": "Жаңа мазмұн үстелген","NotificationOptionPluginError": "Плагин сәтсіздігі",diff --git a/Emby.Server.Implementations/Localization/Core/ko.json b/Emby.Server.Implementations/Localization/Core/ko.jsonindex 04fc52d6ee..21808fd18a 100644--- a/Emby.Server.Implementations/Localization/Core/ko.json+++ b/Emby.Server.Implementations/Localization/Core/ko.json@@ -14,7 +14,6 @@"FailedLoginAttemptWithUserName": "Failed login attempt from {0}","Favorites": "Favorites","Folders": "Folders",- "Games": "Games","Genres": "Genres","HeaderAlbumArtists": "앨범 아티스트","HeaderCameraUploads": "Camera Uploads",@@ -51,8 +50,6 @@"NotificationOptionAudioPlayback": "Audio playback started","NotificationOptionAudioPlaybackStopped": "Audio playback stopped","NotificationOptionCameraImageUploaded": "Camera image uploaded",- "NotificationOptionGamePlayback": "Game playback started",- "NotificationOptionGamePlaybackStopped": "Game playback stopped","NotificationOptionInstallationFailed": "Installation failure","NotificationOptionNewLibraryContent": "New content added","NotificationOptionPluginError": "Plugin failure",diff --git a/Emby.Server.Implementations/Localization/Core/lt-LT.json b/Emby.Server.Implementations/Localization/Core/lt-LT.jsonindex 653565db65..558904f060 100644--- a/Emby.Server.Implementations/Localization/Core/lt-LT.json+++ b/Emby.Server.Implementations/Localization/Core/lt-LT.json@@ -14,7 +14,6 @@"FailedLoginAttemptWithUserName": "Failed login attempt from {0}","Favorites": "Favorites","Folders": "Folders",- "Games": "Games","Genres": "Žanrai","HeaderAlbumArtists": "Album Artists","HeaderCameraUploads": "Camera Uploads",@@ -51,8 +50,6 @@"NotificationOptionAudioPlayback": "Audio playback started","NotificationOptionAudioPlaybackStopped": "Audio playback stopped","NotificationOptionCameraImageUploaded": "Camera image uploaded",- "NotificationOptionGamePlayback": "Game playback started",- "NotificationOptionGamePlaybackStopped": "Game playback stopped","NotificationOptionInstallationFailed": "Installation failure","NotificationOptionNewLibraryContent": "New content added","NotificationOptionPluginError": "Plugin failure",diff --git a/Emby.Server.Implementations/Localization/Core/ms.json b/Emby.Server.Implementations/Localization/Core/ms.jsonindex aaaf097882..c01bb0c501 100644--- a/Emby.Server.Implementations/Localization/Core/ms.json+++ b/Emby.Server.Implementations/Localization/Core/ms.json@@ -14,7 +14,6 @@"FailedLoginAttemptWithUserName": "Failed login attempt from {0}","Favorites": "Favorites","Folders": "Folders",- "Games": "Games","Genres": "Genres","HeaderAlbumArtists": "Album Artists","HeaderCameraUploads": "Camera Uploads",@@ -51,8 +50,6 @@"NotificationOptionAudioPlayback": "Audio playback started","NotificationOptionAudioPlaybackStopped": "Audio playback stopped","NotificationOptionCameraImageUploaded": "Camera image uploaded",- "NotificationOptionGamePlayback": "Game playback started",- "NotificationOptionGamePlaybackStopped": "Game playback stopped","NotificationOptionInstallationFailed": "Installation failure","NotificationOptionNewLibraryContent": "New content added","NotificationOptionPluginError": "Plugin failure",diff --git a/Emby.Server.Implementations/Localization/Core/nb.json b/Emby.Server.Implementations/Localization/Core/nb.jsonindex ed63aa29c5..dbda794ad7 100644--- a/Emby.Server.Implementations/Localization/Core/nb.json+++ b/Emby.Server.Implementations/Localization/Core/nb.json@@ -14,7 +14,6 @@"FailedLoginAttemptWithUserName": "Mislykket påloggingsforsøk fra {0}","Favorites": "Favoritter","Folders": "Mapper",- "Games": "Spill","Genres": "Sjanger","HeaderAlbumArtists": "Albumartist","HeaderCameraUploads": "Camera Uploads",@@ -51,8 +50,6 @@"NotificationOptionAudioPlayback": "Lyd tilbakespilling startet","NotificationOptionAudioPlaybackStopped": "Lyd avspilling stoppet","NotificationOptionCameraImageUploaded": "Kamera bilde lastet opp",- "NotificationOptionGamePlayback": "Spill avspillingen startet",- "NotificationOptionGamePlaybackStopped": "Filmer","NotificationOptionInstallationFailed": "Installasjon feil","NotificationOptionNewLibraryContent": "Ny innhold er lagt til","NotificationOptionPluginError": "Plugin feil",diff --git a/Emby.Server.Implementations/Localization/Core/nl.json b/Emby.Server.Implementations/Localization/Core/nl.jsonindex 7b8c8765ed..589753c446 100644--- a/Emby.Server.Implementations/Localization/Core/nl.json+++ b/Emby.Server.Implementations/Localization/Core/nl.json@@ -14,7 +14,6 @@"FailedLoginAttemptWithUserName": "Mislukte aanmeld poging van {0}","Favorites": "Favorieten","Folders": "Mappen",- "Games": "Spellen","Genres": "Genres","HeaderAlbumArtists": "Album artiesten","HeaderCameraUploads": "Camera uploads",@@ -51,8 +50,6 @@"NotificationOptionAudioPlayback": "Geluid gestart","NotificationOptionAudioPlaybackStopped": "Geluid gestopt","NotificationOptionCameraImageUploaded": "Camera afbeelding geüpload",- "NotificationOptionGamePlayback": "Spel gestart",- "NotificationOptionGamePlaybackStopped": "Spel gestopt","NotificationOptionInstallationFailed": "Installatie mislukt","NotificationOptionNewLibraryContent": "Nieuwe content toegevoegd","NotificationOptionPluginError": "Plug-in fout",diff --git a/Emby.Server.Implementations/Localization/Core/pl.json b/Emby.Server.Implementations/Localization/Core/pl.jsonindex 5aefa740be..92b12409d1 100644--- a/Emby.Server.Implementations/Localization/Core/pl.json+++ b/Emby.Server.Implementations/Localization/Core/pl.json@@ -14,7 +14,6 @@"FailedLoginAttemptWithUserName": "Próba logowania przez {0} zakończona niepowodzeniem","Favorites": "Ulubione","Folders": "Foldery",- "Games": "Gry","Genres": "Gatunki","HeaderAlbumArtists": "Wykonawcy albumów","HeaderCameraUploads": "Przekazane obrazy",@@ -51,8 +50,6 @@"NotificationOptionAudioPlayback": "Rozpoczęto odtwarzanie muzyki","NotificationOptionAudioPlaybackStopped": "Odtwarzane dźwięku zatrzymane","NotificationOptionCameraImageUploaded": "Przekazano obraz z urządzenia mobilnego",- "NotificationOptionGamePlayback": "Odtwarzanie gry rozpoczęte",- "NotificationOptionGamePlaybackStopped": "Odtwarzanie gry zatrzymane","NotificationOptionInstallationFailed": "Niepowodzenie instalacji","NotificationOptionNewLibraryContent": "Dodano nową zawartość","NotificationOptionPluginError": "Awaria wtyczki",diff --git a/Emby.Server.Implementations/Localization/Core/pt-BR.json b/Emby.Server.Implementations/Localization/Core/pt-BR.jsonindex 9ae25d3ac9..aaedf08505 100644--- a/Emby.Server.Implementations/Localization/Core/pt-BR.json+++ b/Emby.Server.Implementations/Localization/Core/pt-BR.json@@ -14,7 +14,6 @@"FailedLoginAttemptWithUserName": "Falha na tentativa de login de {0}","Favorites": "Favoritos","Folders": "Pastas",- "Games": "Jogos","Genres": "Gêneros","HeaderAlbumArtists": "Artistas do Álbum","HeaderCameraUploads": "Uploads da Câmera",@@ -51,8 +50,6 @@"NotificationOptionAudioPlayback": "Reprodução de áudio iniciada","NotificationOptionAudioPlaybackStopped": "Reprodução de áudio parada","NotificationOptionCameraImageUploaded": "Imagem de câmera enviada",- "NotificationOptionGamePlayback": "Reprodução de jogo iniciada",- "NotificationOptionGamePlaybackStopped": "Reprodução de jogo parada","NotificationOptionInstallationFailed": "Falha na instalação","NotificationOptionNewLibraryContent": "Novo conteúdo adicionado","NotificationOptionPluginError": "Falha de plugin",diff --git a/Emby.Server.Implementations/Localization/Core/pt-PT.json b/Emby.Server.Implementations/Localization/Core/pt-PT.jsonindex 59c25f0e3d..dc69d8af24 100644--- a/Emby.Server.Implementations/Localization/Core/pt-PT.json+++ b/Emby.Server.Implementations/Localization/Core/pt-PT.json@@ -14,7 +14,6 @@"FailedLoginAttemptWithUserName": "Failed login attempt from {0}","Favorites": "Favorites","Folders": "Folders",- "Games": "Games","Genres": "Genres","HeaderAlbumArtists": "Album Artists","HeaderCameraUploads": "Camera Uploads",@@ -51,8 +50,6 @@"NotificationOptionAudioPlayback": "Audio playback started","NotificationOptionAudioPlaybackStopped": "Audio playback stopped","NotificationOptionCameraImageUploaded": "Camera image uploaded",- "NotificationOptionGamePlayback": "Game playback started",- "NotificationOptionGamePlaybackStopped": "Game playback stopped","NotificationOptionInstallationFailed": "Installation failure","NotificationOptionNewLibraryContent": "New content added","NotificationOptionPluginError": "Plugin failure",diff --git a/Emby.Server.Implementations/Localization/Core/ru.json b/Emby.Server.Implementations/Localization/Core/ru.jsonindex 338141294c..d799fa50b5 100644--- a/Emby.Server.Implementations/Localization/Core/ru.json+++ b/Emby.Server.Implementations/Localization/Core/ru.json@@ -14,7 +14,6 @@"FailedLoginAttemptWithUserName": "{0} - попытка входа неудачна","Favorites": "Избранное","Folders": "Папки",- "Games": "Игры","Genres": "Жанры","HeaderAlbumArtists": "Исп-ли альбома","HeaderCameraUploads": "Камеры",@@ -51,8 +50,6 @@"NotificationOptionAudioPlayback": "Воспр-ие аудио зап-но","NotificationOptionAudioPlaybackStopped": "Восп-ие аудио ост-но","NotificationOptionCameraImageUploaded": "Произведена выкладка отснятого с камеры",- "NotificationOptionGamePlayback": "Воспр-ие игры зап-но",- "NotificationOptionGamePlaybackStopped": "Восп-ие игры ост-но","NotificationOptionInstallationFailed": "Сбой установки","NotificationOptionNewLibraryContent": "Новое содержание добавлено","NotificationOptionPluginError": "Сбой плагина",diff --git a/Emby.Server.Implementations/Localization/Core/sk.json b/Emby.Server.Implementations/Localization/Core/sk.jsonindex ed0c689522..bc7e7184e3 100644--- a/Emby.Server.Implementations/Localization/Core/sk.json+++ b/Emby.Server.Implementations/Localization/Core/sk.json@@ -14,7 +14,6 @@"FailedLoginAttemptWithUserName": "Neúspešný pokus o prihlásenie z {0}","Favorites": "Obľúbené","Folders": "Priečinky",- "Games": "Hry","Genres": "Žánre","HeaderAlbumArtists": "Album Artists","HeaderCameraUploads": "Camera Uploads",@@ -51,8 +50,6 @@"NotificationOptionAudioPlayback": "Spustené prehrávanie audia","NotificationOptionAudioPlaybackStopped": "Zastavené prehrávanie audia","NotificationOptionCameraImageUploaded": "Nahraný obrázok z fotoaparátu",- "NotificationOptionGamePlayback": "Game playback started",- "NotificationOptionGamePlaybackStopped": "Hra ukončená","NotificationOptionInstallationFailed": "Chyba inštalácie","NotificationOptionNewLibraryContent": "Pridaný nový obsah","NotificationOptionPluginError": "Chyba rozšírenia",diff --git a/Emby.Server.Implementations/Localization/Core/sl-SI.json b/Emby.Server.Implementations/Localization/Core/sl-SI.jsonindex 8fe279836b..e850257d4a 100644--- a/Emby.Server.Implementations/Localization/Core/sl-SI.json+++ b/Emby.Server.Implementations/Localization/Core/sl-SI.json@@ -14,7 +14,6 @@"FailedLoginAttemptWithUserName": "Failed login attempt from {0}","Favorites": "Favorites","Folders": "Folders",- "Games": "Games","Genres": "Genres","HeaderAlbumArtists": "Album Artists","HeaderCameraUploads": "Camera Uploads",@@ -51,8 +50,6 @@"NotificationOptionAudioPlayback": "Audio playback started","NotificationOptionAudioPlaybackStopped": "Audio playback stopped","NotificationOptionCameraImageUploaded": "Camera image uploaded",- "NotificationOptionGamePlayback": "Game playback started",- "NotificationOptionGamePlaybackStopped": "Game playback stopped","NotificationOptionInstallationFailed": "Installation failure","NotificationOptionNewLibraryContent": "New content added","NotificationOptionPluginError": "Plugin failure",diff --git a/Emby.Server.Implementations/Localization/Core/sv.json b/Emby.Server.Implementations/Localization/Core/sv.jsonindex 517d648bbe..fb2761a7db 100644--- a/Emby.Server.Implementations/Localization/Core/sv.json+++ b/Emby.Server.Implementations/Localization/Core/sv.json@@ -14,7 +14,6 @@"FailedLoginAttemptWithUserName": "Misslyckat inloggningsförsök från {0}","Favorites": "Favoriter","Folders": "Mappar",- "Games": "Spel","Genres": "Genrer","HeaderAlbumArtists": "Albumartister","HeaderCameraUploads": "Camera Uploads",@@ -51,8 +50,6 @@"NotificationOptionAudioPlayback": "Ljuduppspelning har påbörjats","NotificationOptionAudioPlaybackStopped": "Ljuduppspelning stoppad","NotificationOptionCameraImageUploaded": "Kamerabild har laddats upp",- "NotificationOptionGamePlayback": "Spel har startats",- "NotificationOptionGamePlaybackStopped": "Spel stoppat","NotificationOptionInstallationFailed": "Fel vid installation","NotificationOptionNewLibraryContent": "Nytt innehåll har lagts till","NotificationOptionPluginError": "Fel uppstod med tillägget",diff --git a/Emby.Server.Implementations/Localization/Core/tr.json b/Emby.Server.Implementations/Localization/Core/tr.jsonindex 9e86e2125b..495f82db6d 100644--- a/Emby.Server.Implementations/Localization/Core/tr.json+++ b/Emby.Server.Implementations/Localization/Core/tr.json@@ -14,7 +14,6 @@"FailedLoginAttemptWithUserName": "Failed login attempt from {0}","Favorites": "Favorites","Folders": "Folders",- "Games": "Games","Genres": "Genres","HeaderAlbumArtists": "Album Artists","HeaderCameraUploads": "Camera Uploads",@@ -51,8 +50,6 @@"NotificationOptionAudioPlayback": "Audio playback started","NotificationOptionAudioPlaybackStopped": "Audio playback stopped","NotificationOptionCameraImageUploaded": "Camera image uploaded",- "NotificationOptionGamePlayback": "Game playback started",- "NotificationOptionGamePlaybackStopped": "Game playback stopped","NotificationOptionInstallationFailed": "Installation failure","NotificationOptionNewLibraryContent": "New content added","NotificationOptionPluginError": "Plugin failure",diff --git a/Emby.Server.Implementations/Localization/Core/zh-CN.json b/Emby.Server.Implementations/Localization/Core/zh-CN.jsonindex 6d877ec171..8910a6bce8 100644--- a/Emby.Server.Implementations/Localization/Core/zh-CN.json+++ b/Emby.Server.Implementations/Localization/Core/zh-CN.json@@ -14,7 +14,6 @@"FailedLoginAttemptWithUserName": "来自 {0} 的失败登入","Favorites": "最爱","Folders": "文件夹",- "Games": "游戏","Genres": "风格","HeaderAlbumArtists": "专辑作家","HeaderCameraUploads": "相机上传",@@ -51,8 +50,6 @@"NotificationOptionAudioPlayback": "音频开始播放","NotificationOptionAudioPlaybackStopped": "音频播放已停止","NotificationOptionCameraImageUploaded": "相机图片已上传",- "NotificationOptionGamePlayback": "游戏开始",- "NotificationOptionGamePlaybackStopped": "游戏停止","NotificationOptionInstallationFailed": "安装失败","NotificationOptionNewLibraryContent": "已添加新内容","NotificationOptionPluginError": "插件失败",diff --git a/Emby.Server.Implementations/Localization/Core/zh-HK.json b/Emby.Server.Implementations/Localization/Core/zh-HK.jsonindex cad5700fde..387fc2b92b 100644--- a/Emby.Server.Implementations/Localization/Core/zh-HK.json+++ b/Emby.Server.Implementations/Localization/Core/zh-HK.json@@ -14,7 +14,6 @@"FailedLoginAttemptWithUserName": "Failed login attempt from {0}","Favorites": "Favorites","Folders": "Folders",- "Games": "Games","Genres": "Genres","HeaderAlbumArtists": "Album Artists","HeaderCameraUploads": "Camera Uploads",@@ -51,8 +50,6 @@"NotificationOptionAudioPlayback": "Audio playback started","NotificationOptionAudioPlaybackStopped": "Audio playback stopped","NotificationOptionCameraImageUploaded": "Camera image uploaded",- "NotificationOptionGamePlayback": "Game playback started",- "NotificationOptionGamePlaybackStopped": "Game playback stopped","NotificationOptionInstallationFailed": "Installation failure","NotificationOptionNewLibraryContent": "New content added","NotificationOptionPluginError": "Plugin failure",diff --git a/Emby.Server.Implementations/ServerApplicationPaths.cs b/Emby.Server.Implementations/ServerApplicationPaths.csindex edea10a074..67389536bf 100644--- a/Emby.Server.Implementations/ServerApplicationPaths.cs+++ b/Emby.Server.Implementations/ServerApplicationPaths.cs@@ -136,12 +136,6 @@ namespace Emby.Server.Implementationsreturn path;}- /// <summary>- /// Gets the game genre path.- /// </summary>- /// <value>The game genre path.</value>- public string GameGenrePath => Path.Combine(InternalMetadataPath, "GameGenre");-private string _internalMetadataPath;public string InternalMetadataPath{diff --git a/Emby.Server.Implementations/Sorting/GameSystemComparer.cs b/Emby.Server.Implementations/Sorting/GameSystemComparer.csdeleted file mode 100644index 2a04bae3c3..0000000000--- a/Emby.Server.Implementations/Sorting/GameSystemComparer.cs+++ /dev/null@@ -1,51 +0,0 @@-using System;-using MediaBrowser.Controller.Entities;-using MediaBrowser.Controller.Sorting;-using MediaBrowser.Model.Querying;--namespace Emby.Server.Implementations.Sorting-{- public class GameSystemComparer : IBaseItemComparer- {- /// <summary>- /// Compares the specified x.- /// </summary>- /// <param name="x">The x.</param>- /// <param name="y">The y.</param>- /// <returns>System.Int32.</returns>- public int Compare(BaseItem x, BaseItem y)- {- return string.Compare(GetValue(x), GetValue(y), StringComparison.CurrentCultureIgnoreCase);- }-- /// <summary>- /// Gets the value.- /// </summary>- /// <param name="x">The x.</param>- /// <returns>System.String.</returns>- private static string GetValue(BaseItem x)- {- var game = x as Game;-- if (game != null)- {- return game.GameSystem;- }-- var system = x as GameSystem;-- if (system != null)- {- return system.GameSystemName;- }-- return string.Empty;- }-- /// <summary>- /// Gets the name.- /// </summary>- /// <value>The name.</value>- public string Name => ItemSortBy.GameSystem;- }-}diff --git a/Emby.Server.Implementations/Sorting/PlayersComparer.cs b/Emby.Server.Implementations/Sorting/PlayersComparer.csdeleted file mode 100644index e3652f36b7..0000000000--- a/Emby.Server.Implementations/Sorting/PlayersComparer.cs+++ /dev/null@@ -1,43 +0,0 @@-using MediaBrowser.Controller.Entities;-using MediaBrowser.Controller.Sorting;-using MediaBrowser.Model.Querying;--namespace Emby.Server.Implementations.Sorting-{- public class PlayersComparer : IBaseItemComparer- {- /// <summary>- /// Compares the specified x.- /// </summary>- /// <param name="x">The x.</param>- /// <param name="y">The y.</param>- /// <returns>System.Int32.</returns>- public int Compare(BaseItem x, BaseItem y)- {- return GetValue(x).CompareTo(GetValue(y));- }-- /// <summary>- /// Gets the value.- /// </summary>- /// <param name="x">The x.</param>- /// <returns>System.String.</returns>- private static int GetValue(BaseItem x)- {- var game = x as Game;-- if (game != null)- {- return game.PlayersSupported ?? 0;- }-- return 0;- }-- /// <summary>- /// Gets the name.- /// </summary>- /// <value>The name.</value>- public string Name => ItemSortBy.Players;- }-}diff --git a/Emby.Server.Implementations/UserViews/CollectionFolderImageProvider.cs b/Emby.Server.Implementations/UserViews/CollectionFolderImageProvider.csindex 8788cfc263..ce6c2cd87d 100644--- a/Emby.Server.Implementations/UserViews/CollectionFolderImageProvider.cs+++ b/Emby.Server.Implementations/UserViews/CollectionFolderImageProvider.cs@@ -43,10 +43,6 @@ namespace Emby.Server.Implementations.UserViews{includeItemTypes = new string[] { "Book", "AudioBook" };}- else if (string.Equals(viewType, CollectionType.Games))- {- includeItemTypes = new string[] { "Game" };- }else if (string.Equals(viewType, CollectionType.BoxSets)){includeItemTypes = new string[] { "BoxSet" };diff --git a/MediaBrowser.Api/BaseApiService.cs b/MediaBrowser.Api/BaseApiService.csindex 8decea5a24..4a484b7185 100644--- a/MediaBrowser.Api/BaseApiService.cs+++ b/MediaBrowser.Api/BaseApiService.cs@@ -228,21 +228,6 @@ namespace MediaBrowser.Apireturn libraryManager.GetMusicGenre(name);}- protected GameGenre GetGameGenre(string name, ILibraryManager libraryManager, DtoOptions dtoOptions)- {- if (name.IndexOf(BaseItem.SlugChar) != -1)- {- var result = GetItemFromSlugName<GameGenre>(libraryManager, name, dtoOptions);-- if (result != null)- {- return result;- }- }-- return libraryManager.GetGameGenre(name);- }-protected Person GetPerson(string name, ILibraryManager libraryManager, DtoOptions dtoOptions){if (name.IndexOf(BaseItem.SlugChar) != -1)@@ -349,10 +334,6 @@ namespace MediaBrowser.Api{item = GetMusicGenre(name, libraryManager, dtoOptions);}- else if (type.IndexOf("GameGenre", StringComparison.OrdinalIgnoreCase) == 0)- {- item = GetGameGenre(name, libraryManager, dtoOptions);- }else if (type.IndexOf("Studio", StringComparison.OrdinalIgnoreCase) == 0){item = GetStudio(name, libraryManager, dtoOptions);diff --git a/MediaBrowser.Api/FilterService.cs b/MediaBrowser.Api/FilterService.csindex be80305f9c..9caf07cea2 100644--- a/MediaBrowser.Api/FilterService.cs+++ b/MediaBrowser.Api/FilterService.cs@@ -143,16 +143,6 @@ namespace MediaBrowser.Api}).ToArray();}- else if (string.Equals(request.IncludeItemTypes, "Game", StringComparison.OrdinalIgnoreCase) ||- string.Equals(request.IncludeItemTypes, "GameSystem", StringComparison.OrdinalIgnoreCase))- {- filters.Genres = _libraryManager.GetGameGenres(genreQuery).Items.Select(i => new NameGuidPair- {- Name = i.Item1.Name,- Id = i.Item1.Id-- }).ToArray();- }else{filters.Genres = _libraryManager.GetGenres(genreQuery).Items.Select(i => new NameGuidPairdiff --git a/MediaBrowser.Api/GamesService.cs b/MediaBrowser.Api/GamesService.csdeleted file mode 100644index bb908836ce..0000000000--- a/MediaBrowser.Api/GamesService.cs+++ /dev/null@@ -1,140 +0,0 @@-using System;-using System.IO;-using System.Linq;-using MediaBrowser.Controller.Dto;-using MediaBrowser.Controller.Entities;-using MediaBrowser.Controller.Library;-using MediaBrowser.Controller.Net;-using MediaBrowser.Controller.Persistence;-using MediaBrowser.Model.Dto;-using MediaBrowser.Model.Services;--namespace MediaBrowser.Api-{- /// <summary>- /// Class GetGameSystemSummaries- /// </summary>- [Route("/Games/SystemSummaries", "GET", Summary = "Finds games similar to a given game.")]- public class GetGameSystemSummaries : IReturn<GameSystemSummary[]>- {- /// <summary>- /// Gets or sets the user id.- /// </summary>- /// <value>The user id.</value>- [ApiMember(Name = "UserId", Description = "Optional. Filter by user id", IsRequired = false, DataType = "string", ParameterType = "query", Verb = "GET")]- public Guid UserId { get; set; }- }-- /// <summary>- /// Class GamesService- /// </summary>- [Authenticated]- public class GamesService : BaseApiService- {- /// <summary>- /// The _user manager- /// </summary>- private readonly IUserManager _userManager;-- /// <summary>- /// The _user data repository- /// </summary>- private readonly IUserDataManager _userDataRepository;- /// <summary>- /// The _library manager- /// </summary>- private readonly ILibraryManager _libraryManager;-- /// <summary>- /// The _item repo- /// </summary>- private readonly IItemRepository _itemRepo;- /// <summary>- /// The _dto service- /// </summary>- private readonly IDtoService _dtoService;-- private readonly IAuthorizationContext _authContext;-- /// <summary>- /// Initializes a new instance of the <see cref="GamesService" /> class.- /// </summary>- /// <param name="userManager">The user manager.</param>- /// <param name="userDataRepository">The user data repository.</param>- /// <param name="libraryManager">The library manager.</param>- /// <param name="itemRepo">The item repo.</param>- /// <param name="dtoService">The dto service.</param>- public GamesService(IUserManager userManager, IUserDataManager userDataRepository, ILibraryManager libraryManager, IItemRepository itemRepo, IDtoService dtoService, IAuthorizationContext authContext)- {- _userManager = userManager;- _userDataRepository = userDataRepository;- _libraryManager = libraryManager;- _itemRepo = itemRepo;- _dtoService = dtoService;- _authContext = authContext;- }-- /// <summary>- /// Gets the specified request.- /// </summary>- /// <param name="request">The request.</param>- /// <returns>System.Object.</returns>- public object Get(GetGameSystemSummaries request)- {- var user = request.UserId == null ? null : _userManager.GetUserById(request.UserId);- var query = new InternalItemsQuery(user)- {- IncludeItemTypes = new[] { typeof(GameSystem).Name },- DtoOptions = new DtoOptions(false)- {- EnableImages = false- }- };-- var result = _libraryManager.GetItemList(query)- .Cast<GameSystem>()- .Select(i => GetSummary(i, user))- .ToArray();-- return ToOptimizedResult(result);- }-- /// <summary>- /// Gets the summary.- /// </summary>- /// <param name="system">The system.</param>- /// <param name="user">The user.</param>- /// <returns>GameSystemSummary.</returns>- private GameSystemSummary GetSummary(GameSystem system, User user)- {- var summary = new GameSystemSummary- {- Name = system.GameSystemName,- DisplayName = system.Name- };-- var items = user == null ?- system.GetRecursiveChildren(i => i is Game) :- system.GetRecursiveChildren(user, new InternalItemsQuery(user)- {- IncludeItemTypes = new[] { typeof(Game).Name },- DtoOptions = new DtoOptions(false)- {- EnableImages = false- }- });-- var games = items.Cast<Game>().ToArray();-- summary.ClientInstalledGameCount = games.Count(i => i.IsPlaceHolder);-- summary.GameCount = games.Length;-- summary.GameFileExtensions = games.Where(i => !i.IsPlaceHolder).Select(i => Path.GetExtension(i.Path))- .Distinct(StringComparer.OrdinalIgnoreCase)- .ToArray();-- return summary;- }- }-}diff --git a/MediaBrowser.Api/Images/ImageService.cs b/MediaBrowser.Api/Images/ImageService.csindex 149e54f016..b5e23476ed 100644--- a/MediaBrowser.Api/Images/ImageService.cs+++ b/MediaBrowser.Api/Images/ImageService.cs@@ -95,8 +95,6 @@ namespace MediaBrowser.Api.Images[Route("/Artists/{Name}/Images/{Type}/{Index}", "GET")][Route("/Genres/{Name}/Images/{Type}", "GET")][Route("/Genres/{Name}/Images/{Type}/{Index}", "GET")]- [Route("/GameGenres/{Name}/Images/{Type}", "GET")]- [Route("/GameGenres/{Name}/Images/{Type}/{Index}", "GET")][Route("/MusicGenres/{Name}/Images/{Type}", "GET")][Route("/MusicGenres/{Name}/Images/{Type}/{Index}", "GET")][Route("/Persons/{Name}/Images/{Type}", "GET")]@@ -109,8 +107,6 @@ namespace MediaBrowser.Api.Images[Route("/Artists/{Name}/Images/{Type}/{Index}", "HEAD")][Route("/Genres/{Name}/Images/{Type}", "HEAD")][Route("/Genres/{Name}/Images/{Type}/{Index}", "HEAD")]- [Route("/GameGenres/{Name}/Images/{Type}", "HEAD")]- [Route("/GameGenres/{Name}/Images/{Type}/{Index}", "HEAD")][Route("/MusicGenres/{Name}/Images/{Type}", "HEAD")][Route("/MusicGenres/{Name}/Images/{Type}/{Index}", "HEAD")][Route("/Persons/{Name}/Images/{Type}", "HEAD")]diff --git a/MediaBrowser.Api/ItemLookupService.cs b/MediaBrowser.Api/ItemLookupService.csindex 0e7bdc0860..f3ea7907f6 100644--- a/MediaBrowser.Api/ItemLookupService.cs+++ b/MediaBrowser.Api/ItemLookupService.cs@@ -57,12 +57,6 @@ namespace MediaBrowser.Api{}- [Route("/Items/RemoteSearch/Game", "POST")]- [Authenticated]- public class GetGameRemoteSearchResults : RemoteSearchQuery<GameInfo>, IReturn<List<RemoteSearchResult>>- {- }-[Route("/Items/RemoteSearch/BoxSet", "POST")][Authenticated]public class GetBoxSetRemoteSearchResults : RemoteSearchQuery<BoxSetInfo>, IReturn<List<RemoteSearchResult>>@@ -173,13 +167,6 @@ namespace MediaBrowser.Apireturn ToOptimizedResult(result);}- public async Task<object> Post(GetGameRemoteSearchResults request)- {- var result = await _providerManager.GetRemoteSearchResults<Game, GameInfo>(request, CancellationToken.None).ConfigureAwait(false);-- return ToOptimizedResult(result);- }-public async Task<object> Post(GetBoxSetRemoteSearchResults request){var result = await _providerManager.GetRemoteSearchResults<BoxSet, BoxSetInfo>(request, CancellationToken.None).ConfigureAwait(false);diff --git a/MediaBrowser.Api/ItemUpdateService.cs b/MediaBrowser.Api/ItemUpdateService.csindex c386b25b82..3c8d4b4ff1 100644--- a/MediaBrowser.Api/ItemUpdateService.cs+++ b/MediaBrowser.Api/ItemUpdateService.cs@@ -154,11 +154,6 @@ namespace MediaBrowser.ApiName = "Books",Value = "books"});- list.Add(new NameValuePair- {- Name = "Games",- Value = "games"- });}list.Add(new NameValuePairdiff --git a/MediaBrowser.Api/Library/LibraryService.cs b/MediaBrowser.Api/Library/LibraryService.csindex 12d807a7e2..8e6d1febba 100644--- a/MediaBrowser.Api/Library/LibraryService.cs+++ b/MediaBrowser.Api/Library/LibraryService.cs@@ -265,7 +265,6 @@ namespace MediaBrowser.Api.Librarypublic string Id { get; set; }}- [Route("/Games/{Id}/Similar", "GET", Summary = "Finds games similar to a given game.")][Route("/Artists/{Id}/Similar", "GET", Summary = "Finds albums similar to a given album.")][Route("/Items/{Id}/Similar", "GET", Summary = "Gets similar items")][Route("/Albums/{Id}/Similar", "GET", Summary = "Finds albums similar to a given album.")]@@ -369,8 +368,6 @@ namespace MediaBrowser.Api.Libraryreturn new string[] { "Series", "Season", "Episode" };case CollectionType.Books:return new string[] { "Book" };- case CollectionType.Games:- return new string[] { "Game", "GameSystem" };case CollectionType.Music:return new string[] { "MusicAlbum", "MusicArtist", "Audio", "MusicVideo" };case CollectionType.HomeVideos:@@ -952,8 +949,6 @@ namespace MediaBrowser.Api.Library{AlbumCount = GetCount(typeof(MusicAlbum), user, request),EpisodeCount = GetCount(typeof(Episode), user, request),- GameCount = GetCount(typeof(Game), user, request),- GameSystemCount = GetCount(typeof(GameSystem), user, request),MovieCount = GetCount(typeof(Movie), user, request),SeriesCount = GetCount(typeof(Series), user, request),SongCount = GetCount(typeof(Audio), user, request),diff --git a/MediaBrowser.Api/Session/SessionsService.cs b/MediaBrowser.Api/Session/SessionsService.csindex c9a11c1172..f011e6e417 100644--- a/MediaBrowser.Api/Session/SessionsService.cs+++ b/MediaBrowser.Api/Session/SessionsService.cs@@ -194,7 +194,7 @@ namespace MediaBrowser.Api.Session[ApiMember(Name = "Id", Description = "Session Id", IsRequired = true, DataType = "string", ParameterType = "query", Verb = "POST")]public string Id { get; set; }- [ApiMember(Name = "PlayableMediaTypes", Description = "A list of playable media types, comma delimited. Audio, Video, Book, Game, Photo.", IsRequired = false, DataType = "string", ParameterType = "query", Verb = "POST")]+ [ApiMember(Name = "PlayableMediaTypes", Description = "A list of playable media types, comma delimited. Audio, Video, Book, Photo.", IsRequired = false, DataType = "string", ParameterType = "query", Verb = "POST")]public string PlayableMediaTypes { get; set; }[ApiMember(Name = "SupportedCommands", Description = "A list of supported remote control commands, comma delimited", IsRequired = false, DataType = "string", ParameterType = "query", Verb = "POST")]diff --git a/MediaBrowser.Api/UserLibrary/BaseItemsByNameService.cs b/MediaBrowser.Api/UserLibrary/BaseItemsByNameService.csindex 6e577c53e5..471b411279 100644--- a/MediaBrowser.Api/UserLibrary/BaseItemsByNameService.cs+++ b/MediaBrowser.Api/UserLibrary/BaseItemsByNameService.cs@@ -224,7 +224,6 @@ namespace MediaBrowser.Api.UserLibrarydto.TrailerCount = counts.TrailerCount;dto.AlbumCount = counts.AlbumCount;dto.SongCount = counts.SongCount;- dto.GameCount = counts.GameCount;dto.ArtistCount = counts.ArtistCount;}diff --git a/MediaBrowser.Api/UserLibrary/BaseItemsRequest.cs b/MediaBrowser.Api/UserLibrary/BaseItemsRequest.csindex 4cccc0cb5a..7af50c329a 100644--- a/MediaBrowser.Api/UserLibrary/BaseItemsRequest.cs+++ b/MediaBrowser.Api/UserLibrary/BaseItemsRequest.cs@@ -42,12 +42,6 @@ namespace MediaBrowser.Api.UserLibrary[ApiMember(Name = "MinIndexNumber", Description = "Optional filter by minimum index number.", IsRequired = false, DataType = "int", ParameterType = "query", Verb = "GET")]public int? MinIndexNumber { get; set; }- [ApiMember(Name = "MinPlayers", Description = "Optional filter by minimum number of game players.", IsRequired = false, DataType = "int", ParameterType = "query", Verb = "GET")]- public int? MinPlayers { get; set; }-- [ApiMember(Name = "MaxPlayers", Description = "Optional filter by maximum number of game players.", IsRequired = false, DataType = "int", ParameterType = "query", Verb = "GET")]- public int? MaxPlayers { get; set; }-[ApiMember(Name = "ParentIndexNumber", Description = "Optional filter by parent index number.", IsRequired = false, DataType = "int", ParameterType = "query", Verb = "GET")]public int? ParentIndexNumber { get; set; }diff --git a/MediaBrowser.Api/UserLibrary/GameGenresService.cs b/MediaBrowser.Api/UserLibrary/GameGenresService.csdeleted file mode 100644index 3e0d4aca4f..0000000000--- a/MediaBrowser.Api/UserLibrary/GameGenresService.cs+++ /dev/null@@ -1,105 +0,0 @@-using System;-using System.Collections.Generic;-using MediaBrowser.Controller.Dto;-using MediaBrowser.Controller.Entities;-using MediaBrowser.Controller.Library;-using MediaBrowser.Controller.Net;-using MediaBrowser.Controller.Persistence;-using MediaBrowser.Model.Dto;-using MediaBrowser.Model.Querying;-using MediaBrowser.Model.Services;--namespace MediaBrowser.Api.UserLibrary-{- [Route("/GameGenres", "GET", Summary = "Gets all Game genres from a given item, folder, or the entire library")]- public class GetGameGenres : GetItemsByName- {- }-- [Route("/GameGenres/{Name}", "GET", Summary = "Gets a Game genre, by name")]- public class GetGameGenre : IReturn<BaseItemDto>- {- /// <summary>- /// Gets or sets the name.- /// </summary>- /// <value>The name.</value>- [ApiMember(Name = "Name", Description = "The genre name", IsRequired = true, DataType = "string", ParameterType = "path", Verb = "GET")]- public string Name { get; set; }-- /// <summary>- /// Gets or sets the user id.- /// </summary>- /// <value>The user id.</value>- [ApiMember(Name = "UserId", Description = "Optional. Filter by user id, and attach user data", IsRequired = false, DataType = "string", ParameterType = "query", Verb = "GET")]- public Guid UserId { get; set; }- }-- [Authenticated]- public class GameGenresService : BaseItemsByNameService<GameGenre>- {- /// <summary>- /// Gets the specified request.- /// </summary>- /// <param name="request">The request.</param>- /// <returns>System.Object.</returns>- public object Get(GetGameGenre request)- {- var result = GetItem(request);-- return ToOptimizedResult(result);- }-- /// <summary>- /// Gets the item.- /// </summary>- /// <param name="request">The request.</param>- /// <returns>Task{BaseItemDto}.</returns>- private BaseItemDto GetItem(GetGameGenre request)- {- var dtoOptions = GetDtoOptions(AuthorizationContext, request);-- var item = GetGameGenre(request.Name, LibraryManager, dtoOptions);-- if (!request.UserId.Equals(Guid.Empty))- {- var user = UserManager.GetUserById(request.UserId);-- return DtoService.GetBaseItemDto(item, dtoOptions, user);- }-- return DtoService.GetBaseItemDto(item, dtoOptions);- }-- /// <summary>- /// Gets the specified request.- /// </summary>- /// <param name="request">The request.</param>- /// <returns>System.Object.</returns>- public object Get(GetGameGenres request)- {- var result = GetResultSlim(request);-- return ToOptimizedResult(result);- }-- protected override QueryResult<Tuple<BaseItem, ItemCounts>> GetItems(GetItemsByName request, InternalItemsQuery query)- {- return LibraryManager.GetGameGenres(query);- }-- /// <summary>- /// Gets all items.- /// </summary>- /// <param name="request">The request.</param>- /// <param name="items">The items.</param>- /// <returns>IEnumerable{Tuple{System.StringFunc{System.Int32}}}.</returns>- protected override IEnumerable<BaseItem> GetAllItems(GetItemsByName request, IList<BaseItem> items)- {- throw new NotImplementedException();- }-- public GameGenresService(IUserManager userManager, ILibraryManager libraryManager, IUserDataManager userDataRepository, IItemRepository itemRepository, IDtoService dtoService, IAuthorizationContext authorizationContext) : base(userManager, libraryManager, userDataRepository, itemRepository, dtoService, authorizationContext)- {- }- }-}diff --git a/MediaBrowser.Api/UserLibrary/GenresService.cs b/MediaBrowser.Api/UserLibrary/GenresService.csindex e20428eada..baf570d50f 100644--- a/MediaBrowser.Api/UserLibrary/GenresService.cs+++ b/MediaBrowser.Api/UserLibrary/GenresService.cs@@ -101,11 +101,6 @@ namespace MediaBrowser.Api.UserLibraryreturn LibraryManager.GetMusicGenres(query);}- if (string.Equals(viewType, CollectionType.Games))- {- return LibraryManager.GetGameGenres(query);- }-return LibraryManager.GetGenres(query);}diff --git a/MediaBrowser.Api/UserLibrary/ItemsService.cs b/MediaBrowser.Api/UserLibrary/ItemsService.csindex bf453576ca..3ae7da0073 100644--- a/MediaBrowser.Api/UserLibrary/ItemsService.cs+++ b/MediaBrowser.Api/UserLibrary/ItemsService.cs@@ -304,8 +304,6 @@ namespace MediaBrowser.Api.UserLibraryVideoTypes = request.GetVideoTypes(),AdjacentTo = request.AdjacentTo,ItemIds = GetGuids(request.Ids),- MinPlayers = request.MinPlayers,- MaxPlayers = request.MaxPlayers,MinCommunityRating = request.MinCommunityRating,MinCriticRating = request.MinCriticRating,ParentId = string.IsNullOrWhiteSpace(request.ParentId) ? Guid.Empty : new Guid(request.ParentId),diff --git a/MediaBrowser.Controller/Entities/Folder.cs b/MediaBrowser.Controller/Entities/Folder.csindex dab96509c7..8bfadbee6c 100644--- a/MediaBrowser.Controller/Entities/Folder.cs+++ b/MediaBrowser.Controller/Entities/Folder.cs@@ -1149,16 +1149,6 @@ namespace MediaBrowser.Controller.Entitiesreturn false;}- if (request.MinPlayers.HasValue)- {- return false;- }-- if (request.MaxPlayers.HasValue)- {- return false;- }-if (request.MinCommunityRating.HasValue){return false;diff --git a/MediaBrowser.Controller/Entities/Game.cs b/MediaBrowser.Controller/Entities/Game.csdeleted file mode 100644index eea1bf43df..0000000000--- a/MediaBrowser.Controller/Entities/Game.cs+++ /dev/null@@ -1,113 +0,0 @@-using System;-using System.Collections.Generic;-using MediaBrowser.Controller.Providers;-using MediaBrowser.Model.Configuration;-using MediaBrowser.Model.Entities;-using MediaBrowser.Model.IO;-using MediaBrowser.Model.Serialization;--namespace MediaBrowser.Controller.Entities-{- public class Game : BaseItem, IHasTrailers, IHasScreenshots, ISupportsPlaceHolders, IHasLookupInfo<GameInfo>- {- public Game()- {- MultiPartGameFiles = Array.Empty<string>();- RemoteTrailers = EmptyMediaUrlArray;- LocalTrailerIds = Array.Empty<Guid>();- RemoteTrailerIds = Array.Empty<Guid>();- }-- public Guid[] LocalTrailerIds { get; set; }- public Guid[] RemoteTrailerIds { get; set; }-- public override bool CanDownload()- {- return IsFileProtocol;- }-- [IgnoreDataMember]- public override bool SupportsThemeMedia => true;-- [IgnoreDataMember]- public override bool SupportsPeople => false;-- /// <summary>- /// Gets the type of the media.- /// </summary>- /// <value>The type of the media.</value>- [IgnoreDataMember]- public override string MediaType => Model.Entities.MediaType.Game;-- /// <summary>- /// Gets or sets the players supported.- /// </summary>- /// <value>The players supported.</value>- public int? PlayersSupported { get; set; }-- /// <summary>- /// Gets a value indicating whether this instance is place holder.- /// </summary>- /// <value><c>true</c> if this instance is place holder; otherwise, <c>false</c>.</value>- public bool IsPlaceHolder { get; set; }-- /// <summary>- /// Gets or sets the game system.- /// </summary>- /// <value>The game system.</value>- public string GameSystem { get; set; }-- /// <summary>- /// Gets or sets a value indicating whether this instance is multi part.- /// </summary>- /// <value><c>true</c> if this instance is multi part; otherwise, <c>false</c>.</value>- public bool IsMultiPart { get; set; }-- /// <summary>- /// Holds the paths to the game files in the event this is a multipart game- /// </summary>- public string[] MultiPartGameFiles { get; set; }-- public override List<string> GetUserDataKeys()- {- var list = base.GetUserDataKeys();- var id = this.GetProviderId(MetadataProviders.Gamesdb);-- if (!string.IsNullOrEmpty(id))- {- list.Insert(0, "Game-Gamesdb-" + id);- }- return list;- }-- public override IEnumerable<FileSystemMetadata> GetDeletePaths()- {- if (!IsInMixedFolder)- {- return new[] {- new FileSystemMetadata- {- FullName = System.IO.Path.GetDirectoryName(Path),- IsDirectory = true- }- };- }-- return base.GetDeletePaths();- }-- public override UnratedItem GetBlockUnratedType()- {- return UnratedItem.Game;- }-- public GameInfo GetLookupInfo()- {- var id = GetItemLookupInfo<GameInfo>();-- id.GameSystem = GameSystem;-- return id;- }- }-}diff --git a/MediaBrowser.Controller/Entities/GameGenre.cs b/MediaBrowser.Controller/Entities/GameGenre.csdeleted file mode 100644index c0fd4ae893..0000000000--- a/MediaBrowser.Controller/Entities/GameGenre.cs+++ /dev/null@@ -1,109 +0,0 @@-using System;-using System.Collections.Generic;-using MediaBrowser.Controller.Extensions;-using MediaBrowser.Model.Serialization;-using Microsoft.Extensions.Logging;--namespace MediaBrowser.Controller.Entities-{- public class GameGenre : BaseItem, IItemByName- {- public override List<string> GetUserDataKeys()- {- var list = base.GetUserDataKeys();-- list.Insert(0, GetType().Name + "-" + (Name ?? string.Empty).RemoveDiacritics());- return list;- }-- public override string CreatePresentationUniqueKey()- {- return GetUserDataKeys()[0];- }-- public override double GetDefaultPrimaryImageAspectRatio()- {- return 1;- }-- /// <summary>- /// Returns the folder containing the item.- /// If the item is a folder, it returns the folder itself- /// </summary>- /// <value>The containing folder path.</value>- [IgnoreDataMember]- public override string ContainingFolderPath => Path;-- [IgnoreDataMember]- public override bool SupportsAncestors => false;-- public override bool IsSaveLocalMetadataEnabled()- {- return true;- }-- public override bool CanDelete()- {- return false;- }-- public IList<BaseItem> GetTaggedItems(InternalItemsQuery query)- {- query.GenreIds = new[] { Id };- query.IncludeItemTypes = new[] { typeof(Game).Name };-- return LibraryManager.GetItemList(query);- }-- [IgnoreDataMember]- public override bool SupportsPeople => false;-- public static string GetPath(string name)- {- return GetPath(name, true);- }-- public static string GetPath(string name, bool normalizeName)- {- // Trim the period at the end because windows will have a hard time with that- var validName = normalizeName ?- FileSystem.GetValidFilename(name).Trim().TrimEnd('.') :- name;-- return System.IO.Path.Combine(ConfigurationManager.ApplicationPaths.GameGenrePath, validName);- }-- private string GetRebasedPath()- {- return GetPath(System.IO.Path.GetFileName(Path), false);- }-- public override bool RequiresRefresh()- {- var newPath = GetRebasedPath();- if (!string.Equals(Path, newPath, StringComparison.Ordinal))- {- Logger.LogDebug("{0} path has changed from {1} to {2}", GetType().Name, Path, newPath);- return true;- }- return base.RequiresRefresh();- }-- /// <summary>- /// This is called before any metadata refresh and returns true or false indicating if changes were made- /// </summary>- public override bool BeforeMetadataRefresh(bool replaceAllMetdata)- {- var hasChanges = base.BeforeMetadataRefresh(replaceAllMetdata);-- var newPath = GetRebasedPath();- if (!string.Equals(Path, newPath, StringComparison.Ordinal))- {- Path = newPath;- hasChanges = true;- }-- return hasChanges;- }- }-}diff --git a/MediaBrowser.Controller/Entities/GameSystem.cs b/MediaBrowser.Controller/Entities/GameSystem.csdeleted file mode 100644index 63f830d256..0000000000--- a/MediaBrowser.Controller/Entities/GameSystem.cs+++ /dev/null@@ -1,77 +0,0 @@-using System;-using System.Collections.Generic;-using MediaBrowser.Controller.Providers;-using MediaBrowser.Model.Configuration;-using MediaBrowser.Model.Serialization;-using MediaBrowser.Model.Users;--namespace MediaBrowser.Controller.Entities-{- /// <summary>- /// Class GameSystem- /// </summary>- public class GameSystem : Folder, IHasLookupInfo<GameSystemInfo>- {- /// <summary>- /// Return the id that should be used to key display prefs for this item.- /// Default is based on the type for everything except actual generic folders.- /// </summary>- /// <value>The display prefs id.</value>- [IgnoreDataMember]- public override Guid DisplayPreferencesId => Id;-- [IgnoreDataMember]- public override bool SupportsPlayedStatus => false;-- [IgnoreDataMember]- public override bool SupportsInheritedParentImages => false;-- public override double GetDefaultPrimaryImageAspectRatio()- {- double value = 16;- value /= 9;-- return value;- }-- /// <summary>- /// Gets or sets the game system.- /// </summary>- /// <value>The game system.</value>- public string GameSystemName { get; set; }-- public override List<string> GetUserDataKeys()- {- var list = base.GetUserDataKeys();-- if (!string.IsNullOrEmpty(GameSystemName))- {- list.Insert(0, "GameSystem-" + GameSystemName);- }- return list;- }-- protected override bool GetBlockUnratedValue(UserPolicy config)- {- // Don't block. Determine by game- return false;- }-- public override UnratedItem GetBlockUnratedType()- {- return UnratedItem.Game;- }-- public GameSystemInfo GetLookupInfo()- {- var id = GetItemLookupInfo<GameSystemInfo>();-- id.Path = Path;-- return id;- }-- [IgnoreDataMember]- public override bool SupportsPeople => false;- }-}diff --git a/MediaBrowser.Controller/Entities/Genre.cs b/MediaBrowser.Controller/Entities/Genre.csindex 3f3ab35513..44cb62d225 100644--- a/MediaBrowser.Controller/Entities/Genre.cs+++ b/MediaBrowser.Controller/Entities/Genre.cs@@ -56,7 +56,7 @@ namespace MediaBrowser.Controller.Entitiespublic IList<BaseItem> GetTaggedItems(InternalItemsQuery query){query.GenreIds = new[] { Id };- query.ExcludeItemTypes = new[] { typeof(Game).Name, typeof(MusicVideo).Name, typeof(Audio.Audio).Name, typeof(MusicAlbum).Name, typeof(MusicArtist).Name };+ query.ExcludeItemTypes = new[] { typeof(MusicVideo).Name, typeof(Audio.Audio).Name, typeof(MusicAlbum).Name, typeof(MusicArtist).Name };return LibraryManager.GetItemList(query);}diff --git a/MediaBrowser.Controller/Entities/InternalItemsQuery.cs b/MediaBrowser.Controller/Entities/InternalItemsQuery.csindex 4b7af53910..78f8590696 100644--- a/MediaBrowser.Controller/Entities/InternalItemsQuery.cs+++ b/MediaBrowser.Controller/Entities/InternalItemsQuery.cs@@ -95,9 +95,6 @@ namespace MediaBrowser.Controller.Entitiespublic bool? IsKids { get; set; }public bool? IsNews { get; set; }public bool? IsSeries { get; set; }-- public int? MinPlayers { get; set; }- public int? MaxPlayers { get; set; }public int? MinIndexNumber { get; set; }public int? AiredDuringSeason { get; set; }public double? MinCriticRating { get; set; }diff --git a/MediaBrowser.Controller/Entities/UserView.cs b/MediaBrowser.Controller/Entities/UserView.csindex de4105df97..3e2191376b 100644--- a/MediaBrowser.Controller/Entities/UserView.cs+++ b/MediaBrowser.Controller/Entities/UserView.cs@@ -150,7 +150,6 @@ namespace MediaBrowser.Controller.Entitiesprivate static string[] OriginalFolderViewTypes = new string[]{- MediaBrowser.Model.Entities.CollectionType.Games,MediaBrowser.Model.Entities.CollectionType.Books,MediaBrowser.Model.Entities.CollectionType.MusicVideos,MediaBrowser.Model.Entities.CollectionType.HomeVideos,diff --git a/MediaBrowser.Controller/Entities/UserViewBuilder.cs b/MediaBrowser.Controller/Entities/UserViewBuilder.csindex 0b0134669e..683218a9e9 100644--- a/MediaBrowser.Controller/Entities/UserViewBuilder.cs+++ b/MediaBrowser.Controller/Entities/UserViewBuilder.cs@@ -848,52 +848,6 @@ namespace MediaBrowser.Controller.Entities}}- if (query.MinPlayers.HasValue)- {- var filterValue = query.MinPlayers.Value;-- var game = item as Game;-- if (game != null)- {- var players = game.PlayersSupported ?? 1;-- var ok = players >= filterValue;-- if (!ok)- {- return false;- }- }- else- {- return false;- }- }-- if (query.MaxPlayers.HasValue)- {- var filterValue = query.MaxPlayers.Value;-- var game = item as Game;-- if (game != null)- {- var players = game.PlayersSupported ?? 1;-- var ok = players <= filterValue;-- if (!ok)- {- return false;- }- }- else- {- return false;- }- }-if (query.MinCommunityRating.HasValue){var val = query.MinCommunityRating.Value;diff --git a/MediaBrowser.Controller/IServerApplicationPaths.cs b/MediaBrowser.Controller/IServerApplicationPaths.csindex 2b43513b7a..15d7e9f625 100644--- a/MediaBrowser.Controller/IServerApplicationPaths.cs+++ b/MediaBrowser.Controller/IServerApplicationPaths.cs@@ -46,12 +46,6 @@ namespace MediaBrowser.Controller/// <value>The music genre path.</value>string MusicGenrePath { get; }- /// <summary>- /// Gets the game genre path.- /// </summary>- /// <value>The game genre path.</value>- string GameGenrePath { get; }-/// <summary>/// Gets the path to the Studio directory/// </summary>diff --git a/MediaBrowser.Controller/Library/ILibraryManager.cs b/MediaBrowser.Controller/Library/ILibraryManager.csindex 9d404ba1a6..60c183d041 100644--- a/MediaBrowser.Controller/Library/ILibraryManager.cs+++ b/MediaBrowser.Controller/Library/ILibraryManager.cs@@ -88,13 +88,6 @@ namespace MediaBrowser.Controller.Library/// <returns>Task{MusicGenre}.</returns>MusicGenre GetMusicGenre(string name);- /// <summary>- /// Gets the game genre.- /// </summary>- /// <param name="name">The name.</param>- /// <returns>Task{GameGenre}.</returns>- GameGenre GetGameGenre(string name);-/// <summary>/// Gets a Year/// </summary>@@ -521,8 +514,6 @@ namespace MediaBrowser.Controller.LibraryGuid GetMusicGenreId(string name);- Guid GetGameGenreId(string name);-Task AddVirtualFolder(string name, string collectionType, LibraryOptions options, bool refreshLibrary);Task RemoveVirtualFolder(string name, bool refreshLibrary);void AddMediaPath(string virtualFolderName, MediaPathInfo path);@@ -531,7 +522,6 @@ namespace MediaBrowser.Controller.LibraryQueryResult<Tuple<BaseItem, ItemCounts>> GetGenres(InternalItemsQuery query);QueryResult<Tuple<BaseItem, ItemCounts>> GetMusicGenres(InternalItemsQuery query);- QueryResult<Tuple<BaseItem, ItemCounts>> GetGameGenres(InternalItemsQuery query);QueryResult<Tuple<BaseItem, ItemCounts>> GetStudios(InternalItemsQuery query);QueryResult<Tuple<BaseItem, ItemCounts>> GetArtists(InternalItemsQuery query);QueryResult<Tuple<BaseItem, ItemCounts>> GetAlbumArtists(InternalItemsQuery query);diff --git a/MediaBrowser.Controller/Persistence/IItemRepository.cs b/MediaBrowser.Controller/Persistence/IItemRepository.csindex 0d086fd7e9..5156fce11e 100644--- a/MediaBrowser.Controller/Persistence/IItemRepository.cs+++ b/MediaBrowser.Controller/Persistence/IItemRepository.cs@@ -143,13 +143,11 @@ namespace MediaBrowser.Controller.PersistenceQueryResult<Tuple<BaseItem, ItemCounts>> GetGenres(InternalItemsQuery query);QueryResult<Tuple<BaseItem, ItemCounts>> GetMusicGenres(InternalItemsQuery query);- QueryResult<Tuple<BaseItem, ItemCounts>> GetGameGenres(InternalItemsQuery query);QueryResult<Tuple<BaseItem, ItemCounts>> GetStudios(InternalItemsQuery query);QueryResult<Tuple<BaseItem, ItemCounts>> GetArtists(InternalItemsQuery query);QueryResult<Tuple<BaseItem, ItemCounts>> GetAlbumArtists(InternalItemsQuery query);QueryResult<Tuple<BaseItem, ItemCounts>> GetAllArtists(InternalItemsQuery query);- List<string> GetGameGenreNames();List<string> GetMusicGenreNames();List<string> GetStudioNames();List<string> GetGenreNames();diff --git a/MediaBrowser.Controller/Providers/GameInfo.cs b/MediaBrowser.Controller/Providers/GameInfo.csdeleted file mode 100644index 1f3eb40b72..0000000000--- a/MediaBrowser.Controller/Providers/GameInfo.cs+++ /dev/null@@ -1,11 +0,0 @@-namespace MediaBrowser.Controller.Providers-{- public class GameInfo : ItemLookupInfo- {- /// <summary>- /// Gets or sets the game system.- /// </summary>- /// <value>The game system.</value>- public string GameSystem { get; set; }- }-}diff --git a/MediaBrowser.Controller/Providers/GameSystemInfo.cs b/MediaBrowser.Controller/Providers/GameSystemInfo.csdeleted file mode 100644index 796486b829..0000000000--- a/MediaBrowser.Controller/Providers/GameSystemInfo.cs+++ /dev/null@@ -1,11 +0,0 @@-namespace MediaBrowser.Controller.Providers-{- public class GameSystemInfo : ItemLookupInfo- {- /// <summary>- /// Gets or sets the path.- /// </summary>- /// <value>The path.</value>- public string Path { get; set; }- }-}diff --git a/MediaBrowser.LocalMetadata/Images/LocalImageProvider.cs b/MediaBrowser.LocalMetadata/Images/LocalImageProvider.csindex 0a4928ed7f..b13e77ebde 100644--- a/MediaBrowser.LocalMetadata/Images/LocalImageProvider.cs+++ b/MediaBrowser.LocalMetadata/Images/LocalImageProvider.cs@@ -128,7 +128,6 @@ namespace MediaBrowser.LocalMetadata.Imagesvar added = false;var isEpisode = item is Episode;var isSong = item.GetType() == typeof(Audio);- var isGame = item is Game;var isPerson = item is Person;// Logo@@ -157,7 +156,7 @@ namespace MediaBrowser.LocalMetadata.Imagesadded = AddImage(files, images, "disc", imagePrefix, isInMixedFolder, ImageType.Disc);}}- else if (isGame || item is Video || item is BoxSet)+ else if (item is Video || item is BoxSet){added = AddImage(files, images, "disc", imagePrefix, isInMixedFolder, ImageType.Disc);@@ -172,19 +171,6 @@ namespace MediaBrowser.LocalMetadata.Images}}- if (isGame)- {- AddImage(files, images, "box", imagePrefix, isInMixedFolder, ImageType.Box);- AddImage(files, images, "menu", imagePrefix, isInMixedFolder, ImageType.Menu);-- added = AddImage(files, images, "back", imagePrefix, isInMixedFolder, ImageType.BoxRear);-- if (!added)- {- added = AddImage(files, images, "boxrear", imagePrefix, isInMixedFolder, ImageType.BoxRear);- }- }-// Bannerif (!isEpisode && !isSong && !isPerson){diff --git a/MediaBrowser.LocalMetadata/Parsers/GameSystemXmlParser.cs b/MediaBrowser.LocalMetadata/Parsers/GameSystemXmlParser.csdeleted file mode 100644index a4997270f4..0000000000--- a/MediaBrowser.LocalMetadata/Parsers/GameSystemXmlParser.cs+++ /dev/null@@ -1,66 +0,0 @@-using System.Threading;-using System.Threading.Tasks;-using System.Xml;-using MediaBrowser.Controller.Entities;-using MediaBrowser.Controller.Providers;-using MediaBrowser.Model.Entities;-using MediaBrowser.Model.IO;-using MediaBrowser.Model.Xml;-using Microsoft.Extensions.Logging;--namespace MediaBrowser.LocalMetadata.Parsers-{- public class GameSystemXmlParser : BaseItemXmlParser<GameSystem>- {- public Task FetchAsync(MetadataResult<GameSystem> item, string metadataFile, CancellationToken cancellationToken)- {- Fetch(item, metadataFile, cancellationToken);-- cancellationToken.ThrowIfCancellationRequested();-- return Task.CompletedTask;- }-- /// <summary>- /// Fetches the data from XML node.- /// </summary>- /// <param name="reader">The reader.</param>- /// <param name="result">The result.</param>- protected override void FetchDataFromXmlNode(XmlReader reader, MetadataResult<GameSystem> result)- {- var item = result.Item;-- switch (reader.Name)- {- case "GameSystem":- {- var val = reader.ReadElementContentAsString();- if (!string.IsNullOrWhiteSpace(val))- {- item.GameSystemName = val;- }- break;- }-- case "GamesDbId":- {- var val = reader.ReadElementContentAsString();- if (!string.IsNullOrWhiteSpace(val))- {- item.SetProviderId(MetadataProviders.Gamesdb, val);- }- break;- }--- default:- base.FetchDataFromXmlNode(reader, result);- break;- }- }-- public GameSystemXmlParser(ILogger logger, IProviderManager providerManager, IXmlReaderSettingsFactory xmlReaderSettingsFactory, IFileSystem fileSystem) : base(logger, providerManager, xmlReaderSettingsFactory, fileSystem)- {- }- }-}diff --git a/MediaBrowser.LocalMetadata/Parsers/GameXmlParser.cs b/MediaBrowser.LocalMetadata/Parsers/GameXmlParser.csdeleted file mode 100644index df7c51f279..0000000000--- a/MediaBrowser.LocalMetadata/Parsers/GameXmlParser.cs+++ /dev/null@@ -1,85 +0,0 @@-using System.Globalization;-using System.Threading;-using System.Threading.Tasks;-using System.Xml;-using MediaBrowser.Controller.Entities;-using MediaBrowser.Controller.Providers;-using MediaBrowser.Model.Entities;-using MediaBrowser.Model.IO;-using MediaBrowser.Model.Xml;-using Microsoft.Extensions.Logging;--namespace MediaBrowser.LocalMetadata.Parsers-{- /// <summary>- /// Class EpisodeXmlParser- /// </summary>- public class GameXmlParser : BaseItemXmlParser<Game>- {- private readonly CultureInfo _usCulture = new CultureInfo("en-US");-- public Task FetchAsync(MetadataResult<Game> item, string metadataFile, CancellationToken cancellationToken)- {- Fetch(item, metadataFile, cancellationToken);-- cancellationToken.ThrowIfCancellationRequested();-- return Task.CompletedTask;- }-- /// <summary>- /// Fetches the data from XML node.- /// </summary>- /// <param name="reader">The reader.</param>- /// <param name="result">The result.</param>- protected override void FetchDataFromXmlNode(XmlReader reader, MetadataResult<Game> result)- {- var item = result.Item;-- switch (reader.Name)- {- case "GameSystem":- {- var val = reader.ReadElementContentAsString();- if (!string.IsNullOrWhiteSpace(val))- {- item.GameSystem = val;- }- break;- }-- case "GamesDbId":- {- var val = reader.ReadElementContentAsString();- if (!string.IsNullOrWhiteSpace(val))- {- item.SetProviderId(MetadataProviders.Gamesdb, val);- }- break;- }-- case "Players":- {- var val = reader.ReadElementContentAsString();- if (!string.IsNullOrWhiteSpace(val))- {- if (int.TryParse(val, NumberStyles.Integer, _usCulture, out var num))- {- item.PlayersSupported = num;- }- }- break;- }--- default:- base.FetchDataFromXmlNode(reader, result);- break;- }- }-- public GameXmlParser(ILogger logger, IProviderManager providerManager, IXmlReaderSettingsFactory xmlReaderSettingsFactory, IFileSystem fileSystem) : base(logger, providerManager, xmlReaderSettingsFactory, fileSystem)- {- }- }-}diff --git a/MediaBrowser.LocalMetadata/Providers/GameSystemXmlProvider.cs b/MediaBrowser.LocalMetadata/Providers/GameSystemXmlProvider.csdeleted file mode 100644index 62f31d4fa7..0000000000--- a/MediaBrowser.LocalMetadata/Providers/GameSystemXmlProvider.cs+++ /dev/null@@ -1,36 +0,0 @@-using System.IO;-using System.Threading;-using MediaBrowser.Controller.Entities;-using MediaBrowser.Controller.Providers;-using MediaBrowser.LocalMetadata.Parsers;-using MediaBrowser.Model.IO;-using MediaBrowser.Model.Xml;-using Microsoft.Extensions.Logging;--namespace MediaBrowser.LocalMetadata.Providers-{- public class GameSystemXmlProvider : BaseXmlProvider<GameSystem>- {- private readonly ILogger _logger;- private readonly IProviderManager _providerManager;- private readonly IXmlReaderSettingsFactory _xmlSettings;-- public GameSystemXmlProvider(IFileSystem fileSystem, ILogger logger, IProviderManager providerManager, IXmlReaderSettingsFactory xmlSettings)- : base(fileSystem)- {- _logger = logger;- _providerManager = providerManager;- _xmlSettings = xmlSettings;- }-- protected override void Fetch(MetadataResult<GameSystem> result, string path, CancellationToken cancellationToken)- {- new GameSystemXmlParser(_logger, _providerManager, _xmlSettings, FileSystem).Fetch(result, path, cancellationToken);- }-- protected override FileSystemMetadata GetXmlFile(ItemInfo info, IDirectoryService directoryService)- {- return directoryService.GetFile(Path.Combine(info.Path, "gamesystem.xml"));- }- }-}diff --git a/MediaBrowser.LocalMetadata/Providers/GameXmlProvider.cs b/MediaBrowser.LocalMetadata/Providers/GameXmlProvider.csdeleted file mode 100644index acdbb0a29b..0000000000--- a/MediaBrowser.LocalMetadata/Providers/GameXmlProvider.cs+++ /dev/null@@ -1,39 +0,0 @@-using System.IO;-using System.Threading;-using MediaBrowser.Controller.Entities;-using MediaBrowser.Controller.Providers;-using MediaBrowser.LocalMetadata.Parsers;-using MediaBrowser.Model.IO;-using MediaBrowser.Model.Xml;-using Microsoft.Extensions.Logging;--namespace MediaBrowser.LocalMetadata.Providers-{- public class GameXmlProvider : BaseXmlProvider<Game>- {- private readonly ILogger _logger;- private readonly IProviderManager _providerManager;- private readonly IXmlReaderSettingsFactory _xmlSettings;-- public GameXmlProvider(IFileSystem fileSystem, ILogger logger, IProviderManager providerManager, IXmlReaderSettingsFactory xmlSettings)- : base(fileSystem)- {- _logger = logger;- _providerManager = providerManager;- _xmlSettings = xmlSettings;- }-- protected override void Fetch(MetadataResult<Game> result, string path, CancellationToken cancellationToken)- {- new GameXmlParser(_logger, _providerManager, _xmlSettings, FileSystem).Fetch(result, path, cancellationToken);- }-- protected override FileSystemMetadata GetXmlFile(ItemInfo info, IDirectoryService directoryService)- {- var specificFile = Path.ChangeExtension(info.Path, ".xml");- var file = FileSystem.GetFileInfo(specificFile);-- return info.IsInMixedFolder || file.Exists ? file : FileSystem.GetFileInfo(Path.Combine(Path.GetDirectoryName(info.Path), "game.xml"));- }- }-}diff --git a/MediaBrowser.LocalMetadata/Savers/GameSystemXmlSaver.cs b/MediaBrowser.LocalMetadata/Savers/GameSystemXmlSaver.csdeleted file mode 100644index cf123171aa..0000000000--- a/MediaBrowser.LocalMetadata/Savers/GameSystemXmlSaver.cs+++ /dev/null@@ -1,48 +0,0 @@-using System.IO;-using System.Xml;-using MediaBrowser.Controller.Configuration;-using MediaBrowser.Controller.Entities;-using MediaBrowser.Controller.Library;-using MediaBrowser.Model.IO;-using MediaBrowser.Model.Xml;-using Microsoft.Extensions.Logging;--namespace MediaBrowser.LocalMetadata.Savers-{- public class GameSystemXmlSaver : BaseXmlSaver- {- public GameSystemXmlSaver(IFileSystem fileSystem, IServerConfigurationManager configurationManager, ILibraryManager libraryManager, IUserManager userManager, IUserDataManager userDataManager, ILogger logger, IXmlReaderSettingsFactory xmlReaderSettingsFactory) : base(fileSystem, configurationManager, libraryManager, userManager, userDataManager, logger, xmlReaderSettingsFactory)- {- }-- public override bool IsEnabledFor(BaseItem item, ItemUpdateType updateType)- {- if (!item.SupportsLocalMetadata)- {- return false;- }-- return item is GameSystem && updateType >= ItemUpdateType.MetadataDownload;- }-- protected override void WriteCustomElements(BaseItem item, XmlWriter writer)- {- var gameSystem = (GameSystem)item;-- if (!string.IsNullOrEmpty(gameSystem.GameSystemName))- {- writer.WriteElementString("GameSystem", gameSystem.GameSystemName);- }- }-- protected override string GetLocalSavePath(BaseItem item)- {- return Path.Combine(item.Path, "gamesystem.xml");- }-- protected override string GetRootElementName(BaseItem item)- {- return "Item";- }- }-}diff --git a/MediaBrowser.LocalMetadata/Savers/GameXmlSaver.cs b/MediaBrowser.LocalMetadata/Savers/GameXmlSaver.csdeleted file mode 100644index 3b79296182..0000000000--- a/MediaBrowser.LocalMetadata/Savers/GameXmlSaver.cs+++ /dev/null@@ -1,68 +0,0 @@-using System.Globalization;-using System.IO;-using System.Xml;-using MediaBrowser.Controller.Configuration;-using MediaBrowser.Controller.Entities;-using MediaBrowser.Controller.Library;-using MediaBrowser.Model.IO;-using MediaBrowser.Model.Xml;-using Microsoft.Extensions.Logging;--namespace MediaBrowser.LocalMetadata.Savers-{- /// <summary>- /// Saves game.xml for games- /// </summary>- public class GameXmlSaver : BaseXmlSaver- {- private readonly CultureInfo UsCulture = new CultureInfo("en-US");-- public override bool IsEnabledFor(BaseItem item, ItemUpdateType updateType)- {- if (!item.SupportsLocalMetadata)- {- return false;- }-- return item is Game && updateType >= ItemUpdateType.MetadataDownload;- }-- protected override void WriteCustomElements(BaseItem item, XmlWriter writer)- {- var game = (Game)item;-- if (!string.IsNullOrEmpty(game.GameSystem))- {- writer.WriteElementString("GameSystem", game.GameSystem);- }- if (game.PlayersSupported.HasValue)- {- writer.WriteElementString("Players", game.PlayersSupported.Value.ToString(UsCulture));- }- }-- protected override string GetLocalSavePath(BaseItem item)- {- return GetGameSavePath((Game)item);- }-- protected override string GetRootElementName(BaseItem item)- {- return "Item";- }-- public static string GetGameSavePath(Game item)- {- if (item.IsInMixedFolder)- {- return Path.ChangeExtension(item.Path, ".xml");- }-- return Path.Combine(item.ContainingFolderPath, "game.xml");- }-- public GameXmlSaver(IFileSystem fileSystem, IServerConfigurationManager configurationManager, ILibraryManager libraryManager, IUserManager userManager, IUserDataManager userDataManager, ILogger logger, IXmlReaderSettingsFactory xmlReaderSettingsFactory) : base(fileSystem, configurationManager, libraryManager, userManager, userDataManager, logger, xmlReaderSettingsFactory)- {- }- }-}diff --git a/MediaBrowser.Model/Channels/ChannelMediaContentType.cs b/MediaBrowser.Model/Channels/ChannelMediaContentType.csindex 010ff80486..fc7c217069 100644--- a/MediaBrowser.Model/Channels/ChannelMediaContentType.cs+++ b/MediaBrowser.Model/Channels/ChannelMediaContentType.cs@@ -16,8 +16,6 @@ namespace MediaBrowser.Model.ChannelsMovieExtra = 6,- TvExtra = 7,-- GameExtra = 8+ TvExtra = 7}}diff --git a/MediaBrowser.Model/Configuration/UnratedItem.cs b/MediaBrowser.Model/Configuration/UnratedItem.csindex 2d0bce47f5..107b4e520b 100644--- a/MediaBrowser.Model/Configuration/UnratedItem.cs+++ b/MediaBrowser.Model/Configuration/UnratedItem.cs@@ -6,7 +6,6 @@ namespace MediaBrowser.Model.ConfigurationTrailer,Series,Music,- Game,Book,LiveTvChannel,LiveTvProgram,diff --git a/MediaBrowser.Model/Dto/BaseItemDto.cs b/MediaBrowser.Model/Dto/BaseItemDto.csindex 3e267a39d9..b382d9d4ab 100644--- a/MediaBrowser.Model/Dto/BaseItemDto.cs+++ b/MediaBrowser.Model/Dto/BaseItemDto.cs@@ -116,16 +116,8 @@ namespace MediaBrowser.Model.Dto/// <value>The critic rating.</value>public float? CriticRating { get; set; }- /// <summary>- /// Gets or sets the game system.- /// </summary>- /// <value>The game system.</value>- public string GameSystem { get; set; }-public string[] ProductionLocations { get; set; }- public string[] MultiPartGameFiles { get; set; }-/// <summary>/// Gets or sets the path./// </summary>@@ -604,11 +596,6 @@ namespace MediaBrowser.Model.Dto/// <value>The episode count.</value>public int? EpisodeCount { get; set; }/// <summary>- /// Gets or sets the game count.- /// </summary>- /// <value>The game count.</value>- public int? GameCount { get; set; }- /// <summary>/// Gets or sets the song count./// </summary>/// <value>The song count.</value>diff --git a/MediaBrowser.Model/Dto/GameSystemSummary.cs b/MediaBrowser.Model/Dto/GameSystemSummary.csdeleted file mode 100644index e2400a7443..0000000000--- a/MediaBrowser.Model/Dto/GameSystemSummary.cs+++ /dev/null@@ -1,48 +0,0 @@-using System;--namespace MediaBrowser.Model.Dto-{- /// <summary>- /// Class GameSystemSummary- /// </summary>- public class GameSystemSummary- {- /// <summary>- /// Gets or sets the name.- /// </summary>- /// <value>The name.</value>- public string Name { get; set; }-- /// <summary>- /// Gets or sets the name.- /// </summary>- /// <value>The name.</value>- public string DisplayName { get; set; }-- /// <summary>- /// Gets or sets the game count.- /// </summary>- /// <value>The game count.</value>- public int GameCount { get; set; }-- /// <summary>- /// Gets or sets the game extensions.- /// </summary>- /// <value>The game extensions.</value>- public string[] GameFileExtensions { get; set; }-- /// <summary>- /// Gets or sets the client installed game count.- /// </summary>- /// <value>The client installed game count.</value>- public int ClientInstalledGameCount { get; set; }-- /// <summary>- /// Initializes a new instance of the <see cref="GameSystemSummary"/> class.- /// </summary>- public GameSystemSummary()- {- GameFileExtensions = Array.Empty<string>();- }- }-}diff --git a/MediaBrowser.Model/Dto/ItemCounts.cs b/MediaBrowser.Model/Dto/ItemCounts.csindex da941d2582..ec5adab85a 100644--- a/MediaBrowser.Model/Dto/ItemCounts.cs+++ b/MediaBrowser.Model/Dto/ItemCounts.cs@@ -20,19 +20,9 @@ namespace MediaBrowser.Model.Dto/// </summary>/// <value>The episode count.</value>public int EpisodeCount { get; set; }- /// <summary>- /// Gets or sets the game count.- /// </summary>- /// <value>The game count.</value>- public int GameCount { get; set; }public int ArtistCount { get; set; }public int ProgramCount { get; set; }/// <summary>- /// Gets or sets the game system count.- /// </summary>- /// <value>The game system count.</value>- public int GameSystemCount { get; set; }- /// <summary>/// Gets or sets the trailer count./// </summary>/// <value>The trailer count.</value>diff --git a/MediaBrowser.Model/Entities/CollectionType.cs b/MediaBrowser.Model/Entities/CollectionType.csindex bda1661184..e26d1b8c3b 100644--- a/MediaBrowser.Model/Entities/CollectionType.cs+++ b/MediaBrowser.Model/Entities/CollectionType.cs@@ -18,7 +18,6 @@ namespace MediaBrowser.Model.Entitiespublic const string Books = "books";public const string Photos = "photos";- public const string Games = "games";public const string LiveTv = "livetv";public const string Playlists = "playlists";public const string Folders = "folders";diff --git a/MediaBrowser.Model/Entities/MediaType.cs b/MediaBrowser.Model/Entities/MediaType.csindex af233e61ec..c56c8f8f22 100644--- a/MediaBrowser.Model/Entities/MediaType.cs+++ b/MediaBrowser.Model/Entities/MediaType.cs@@ -14,10 +14,6 @@ namespace MediaBrowser.Model.Entities/// </summary>public const string Audio = "Audio";/// <summary>- /// The game- /// </summary>- public const string Game = "Game";- /// <summary>/// The photo/// </summary>public const string Photo = "Photo";diff --git a/MediaBrowser.Model/Entities/MetadataProviders.cs b/MediaBrowser.Model/Entities/MetadataProviders.csindex 3999616036..e9802cf460 100644--- a/MediaBrowser.Model/Entities/MetadataProviders.cs+++ b/MediaBrowser.Model/Entities/MetadataProviders.cs@@ -5,7 +5,6 @@ namespace MediaBrowser.Model.Entities/// </summary>public enum MetadataProviders{- Gamesdb = 1,/// <summary>/// The imdb/// </summary>diff --git a/MediaBrowser.Model/Notifications/NotificationType.cs b/MediaBrowser.Model/Notifications/NotificationType.csindex 9d16e4a169..38b519a14b 100644--- a/MediaBrowser.Model/Notifications/NotificationType.cs+++ b/MediaBrowser.Model/Notifications/NotificationType.cs@@ -5,10 +5,8 @@ namespace MediaBrowser.Model.NotificationsApplicationUpdateAvailable,ApplicationUpdateInstalled,AudioPlayback,- GamePlayback,VideoPlayback,AudioPlaybackStopped,- GamePlaybackStopped,VideoPlaybackStopped,InstallationFailed,PluginError,diff --git a/MediaBrowser.Model/Providers/RemoteSearchResult.cs b/MediaBrowser.Model/Providers/RemoteSearchResult.csindex 88e3bc69c7..6e46b1556d 100644--- a/MediaBrowser.Model/Providers/RemoteSearchResult.cs+++ b/MediaBrowser.Model/Providers/RemoteSearchResult.cs@@ -30,8 +30,6 @@ namespace MediaBrowser.Model.Providerspublic string ImageUrl { get; set; }public string SearchProviderName { get; set; }-- public string GameSystem { get; set; }public string Overview { get; set; }public RemoteSearchResult AlbumArtist { get; set; }diff --git a/MediaBrowser.Model/Querying/ItemSortBy.cs b/MediaBrowser.Model/Querying/ItemSortBy.csindex 1b20f43ac8..6a71e3bb3e 100644--- a/MediaBrowser.Model/Querying/ItemSortBy.cs+++ b/MediaBrowser.Model/Querying/ItemSortBy.cs@@ -71,8 +71,6 @@ namespace MediaBrowser.Model.Queryingpublic const string VideoBitRate = "VideoBitRate";public const string AirTime = "AirTime";public const string Studio = "Studio";- public const string Players = "Players";- public const string GameSystem = "GameSystem";public const string IsFavoriteOrLiked = "IsFavoriteOrLiked";public const string DateLastContentAdded = "DateLastContentAdded";public const string SeriesDatePlayed = "SeriesDatePlayed";diff --git a/MediaBrowser.Providers/GameGenres/GameGenreMetadataService.cs b/MediaBrowser.Providers/GameGenres/GameGenreMetadataService.csdeleted file mode 100644index 2034848de4..0000000000--- a/MediaBrowser.Providers/GameGenres/GameGenreMetadataService.cs+++ /dev/null@@ -1,23 +0,0 @@-using MediaBrowser.Controller.Configuration;-using MediaBrowser.Controller.Entities;-using MediaBrowser.Controller.Library;-using MediaBrowser.Controller.Providers;-using MediaBrowser.Model.Entities;-using MediaBrowser.Model.IO;-using MediaBrowser.Providers.Manager;-using Microsoft.Extensions.Logging;--namespace MediaBrowser.Providers.GameGenres-{- public class GameGenreMetadataService : MetadataService<GameGenre, ItemLookupInfo>- {- protected override void MergeData(MetadataResult<GameGenre> source, MetadataResult<GameGenre> target, MetadataFields[] lockedFields, bool replaceData, bool mergeMetadataSettings)- {- ProviderUtils.MergeBaseItemData(source, target, lockedFields, replaceData, mergeMetadataSettings);- }-- public GameGenreMetadataService(IServerConfigurationManager serverConfigurationManager, ILogger logger, IProviderManager providerManager, IFileSystem fileSystem, IUserDataManager userDataManager, ILibraryManager libraryManager) : base(serverConfigurationManager, logger, providerManager, fileSystem, userDataManager, libraryManager)- {- }- }-}diff --git a/MediaBrowser.Providers/Games/GameMetadataService.cs b/MediaBrowser.Providers/Games/GameMetadataService.csdeleted file mode 100644index 764394a21f..0000000000--- a/MediaBrowser.Providers/Games/GameMetadataService.cs+++ /dev/null@@ -1,36 +0,0 @@-using MediaBrowser.Controller.Configuration;-using MediaBrowser.Controller.Entities;-using MediaBrowser.Controller.Library;-using MediaBrowser.Controller.Providers;-using MediaBrowser.Model.Entities;-using MediaBrowser.Model.IO;-using MediaBrowser.Providers.Manager;-using Microsoft.Extensions.Logging;--namespace MediaBrowser.Providers.Games-{- public class GameMetadataService : MetadataService<Game, GameInfo>- {- protected override void MergeData(MetadataResult<Game> source, MetadataResult<Game> target, MetadataFields[] lockedFields, bool replaceData, bool mergeMetadataSettings)- {- ProviderUtils.MergeBaseItemData(source, target, lockedFields, replaceData, mergeMetadataSettings);-- var sourceItem = source.Item;- var targetItem = target.Item;-- if (replaceData || string.IsNullOrEmpty(targetItem.GameSystem))- {- targetItem.GameSystem = sourceItem.GameSystem;- }-- if (replaceData || !targetItem.PlayersSupported.HasValue)- {- targetItem.PlayersSupported = sourceItem.PlayersSupported;- }- }-- public GameMetadataService(IServerConfigurationManager serverConfigurationManager, ILogger logger, IProviderManager providerManager, IFileSystem fileSystem, IUserDataManager userDataManager, ILibraryManager libraryManager) : base(serverConfigurationManager, logger, providerManager, fileSystem, userDataManager, libraryManager)- {- }- }-}diff --git a/MediaBrowser.Providers/Games/GameSystemMetadataService.cs b/MediaBrowser.Providers/Games/GameSystemMetadataService.csdeleted file mode 100644index 5bca4731c2..0000000000--- a/MediaBrowser.Providers/Games/GameSystemMetadataService.cs+++ /dev/null@@ -1,31 +0,0 @@-using MediaBrowser.Controller.Configuration;-using MediaBrowser.Controller.Entities;-using MediaBrowser.Controller.Library;-using MediaBrowser.Controller.Providers;-using MediaBrowser.Model.Entities;-using MediaBrowser.Model.IO;-using MediaBrowser.Providers.Manager;-using Microsoft.Extensions.Logging;--namespace MediaBrowser.Providers.Games-{- public class GameSystemMetadataService : MetadataService<GameSystem, GameSystemInfo>- {- protected override void MergeData(MetadataResult<GameSystem> source, MetadataResult<GameSystem> target, MetadataFields[] lockedFields, bool replaceData, bool mergeMetadataSettings)- {- ProviderUtils.MergeBaseItemData(source, target, lockedFields, replaceData, mergeMetadataSettings);-- var sourceItem = source.Item;- var targetItem = target.Item;-- if (replaceData || string.IsNullOrEmpty(targetItem.GameSystemName))- {- targetItem.GameSystemName = sourceItem.GameSystemName;- }- }-- public GameSystemMetadataService(IServerConfigurationManager serverConfigurationManager, ILogger logger, IProviderManager providerManager, IFileSystem fileSystem, IUserDataManager userDataManager, ILibraryManager libraryManager) : base(serverConfigurationManager, logger, providerManager, fileSystem, userDataManager, libraryManager)- {- }- }-}diff --git a/MediaBrowser.Providers/Manager/ProviderManager.cs b/MediaBrowser.Providers/Manager/ProviderManager.csindex eda5163f00..f26087fda3 100644--- a/MediaBrowser.Providers/Manager/ProviderManager.cs+++ b/MediaBrowser.Providers/Manager/ProviderManager.cs@@ -471,8 +471,6 @@ namespace MediaBrowser.Providers.Manager{return new MetadataPluginSummary[]{- GetPluginSummary<Game>(),- GetPluginSummary<GameSystem>(),GetPluginSummary<Movie>(),GetPluginSummary<BoxSet>(),GetPluginSummary<Book>(),diff --git a/MediaBrowser.XbmcMetadata/Savers/BaseNfoSaver.cs b/MediaBrowser.XbmcMetadata/Savers/BaseNfoSaver.csindex 96b906b3cd..9613c35590 100644--- a/MediaBrowser.XbmcMetadata/Savers/BaseNfoSaver.cs+++ b/MediaBrowser.XbmcMetadata/Savers/BaseNfoSaver.cs@@ -82,7 +82,6 @@ namespace MediaBrowser.XbmcMetadata.Savers"lockedfields","zap2itid","tvrageid",- "gamesdbid","musicbrainzartistid","musicbrainzalbumartistid",@@ -737,13 +736,6 @@ namespace MediaBrowser.XbmcMetadata.SaverswrittenProviderIds.Add(MetadataProviders.MusicBrainzReleaseGroup.ToString());}- externalId = item.GetProviderId(MetadataProviders.Gamesdb);- if (!string.IsNullOrEmpty(externalId))- {- writer.WriteElementString("gamesdbid", externalId);- writtenProviderIds.Add(MetadataProviders.Gamesdb.ToString());- }-externalId = item.GetProviderId(MetadataProviders.TvRage);if (!string.IsNullOrEmpty(externalId)){