From 57449f62c16a23448770375b04c4786431170c84 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Mon, 1 Jul 2013 13:17:33 -0400 Subject: added GameGenre --- MediaBrowser.Server.Implementations/Library/LibraryManager.cs | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'MediaBrowser.Server.Implementations/Library/LibraryManager.cs') diff --git a/MediaBrowser.Server.Implementations/Library/LibraryManager.cs b/MediaBrowser.Server.Implementations/Library/LibraryManager.cs index 762be2e9e..810f54c26 100644 --- a/MediaBrowser.Server.Implementations/Library/LibraryManager.cs +++ b/MediaBrowser.Server.Implementations/Library/LibraryManager.cs @@ -662,6 +662,17 @@ namespace MediaBrowser.Server.Implementations.Library return GetItemByName(ConfigurationManager.ApplicationPaths.MusicGenrePath, name, CancellationToken.None, allowSlowProviders); } + /// + /// Gets the game genre. + /// + /// The name. + /// if set to true [allow slow providers]. + /// Task{GameGenre}. + public Task GetGameGenre(string name, bool allowSlowProviders = false) + { + return GetItemByName(ConfigurationManager.ApplicationPaths.GameGenrePath, name, CancellationToken.None, allowSlowProviders); + } + /// /// Gets a Genre /// -- cgit v1.2.3