aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/UserLibrary/ItemByNameUserDataService.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Api/UserLibrary/ItemByNameUserDataService.cs')
-rw-r--r--MediaBrowser.Api/UserLibrary/ItemByNameUserDataService.cs16
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
{