diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-05-12 11:27:56 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-05-12 11:27:56 -0400 |
| commit | 5c873d3ed17b9291ed437b80b8ef66d4a4f2f960 (patch) | |
| tree | a4d358d500672be7e885557feba37dd205a05f37 /MediaBrowser.Api/UserLibrary/ItemByNameUserDataService.cs | |
| parent | 57d7e9fccc1434d51876ab9baf23c20c80140706 (diff) | |
fixes #232 - '/' in artist causes issues.
Diffstat (limited to 'MediaBrowser.Api/UserLibrary/ItemByNameUserDataService.cs')
| -rw-r--r-- | MediaBrowser.Api/UserLibrary/ItemByNameUserDataService.cs | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/MediaBrowser.Api/UserLibrary/ItemByNameUserDataService.cs b/MediaBrowser.Api/UserLibrary/ItemByNameUserDataService.cs index a3f36afe9..835db6a17 100644 --- a/MediaBrowser.Api/UserLibrary/ItemByNameUserDataService.cs +++ b/MediaBrowser.Api/UserLibrary/ItemByNameUserDataService.cs @@ -212,19 +212,19 @@ namespace MediaBrowser.Api.UserLibrary if (string.Equals(type, "Persons")) { - item = await LibraryManager.GetPerson(name).ConfigureAwait(false); + item = await GetPerson(name, LibraryManager).ConfigureAwait(false); } else if (string.Equals(type, "Artists")) { - item = await LibraryManager.GetArtist(name).ConfigureAwait(false); + item = await GetArtist(name, LibraryManager).ConfigureAwait(false); } else if (string.Equals(type, "Genres")) { - item = await LibraryManager.GetGenre(name).ConfigureAwait(false); + item = await GetGenre(name, LibraryManager).ConfigureAwait(false); } else if (string.Equals(type, "Studios")) { - item = await LibraryManager.GetStudio(name).ConfigureAwait(false); + item = await GetStudio(name, LibraryManager).ConfigureAwait(false); } else { @@ -256,19 +256,19 @@ namespace MediaBrowser.Api.UserLibrary if (string.Equals(type, "Persons")) { - item = await LibraryManager.GetPerson(name).ConfigureAwait(false); + item = await GetPerson(name, LibraryManager).ConfigureAwait(false); } else if (string.Equals(type, "Artists")) { - item = await LibraryManager.GetArtist(name).ConfigureAwait(false); + item = await GetArtist(name, LibraryManager).ConfigureAwait(false); } else if (string.Equals(type, "Genres")) { - item = await LibraryManager.GetGenre(name).ConfigureAwait(false); + item = await GetGenre(name, LibraryManager).ConfigureAwait(false); } else if (string.Equals(type, "Studios")) { - item = await LibraryManager.GetStudio(name).ConfigureAwait(false); + item = await GetStudio(name, LibraryManager).ConfigureAwait(false); } else { |
