diff options
| author | LukePulverenti <luke.pulverenti@gmail.com> | 2013-03-16 15:27:54 -0400 |
|---|---|---|
| committer | LukePulverenti <luke.pulverenti@gmail.com> | 2013-03-16 15:27:54 -0400 |
| commit | c494cb67daad35e099829a09716c6e5e9e866e3a (patch) | |
| tree | 4bb814fd9d60a3e17070ebc4ad78e42d1b436ce2 | |
| parent | bae89ee8243fea06ba1e17c1f1ed6da890e9f08c (diff) | |
#6 - Click on the Performers tab will crash the mbt
| -rw-r--r-- | MediaBrowser.Api/UserLibrary/GenresService.cs | 2 | ||||
| -rw-r--r-- | MediaBrowser.Api/UserLibrary/PersonsService.cs | 2 | ||||
| -rw-r--r-- | MediaBrowser.Api/UserLibrary/StudiosService.cs | 2 | ||||
| -rw-r--r-- | MediaBrowser.Api/UserLibrary/YearsService.cs | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/MediaBrowser.Api/UserLibrary/GenresService.cs b/MediaBrowser.Api/UserLibrary/GenresService.cs index 43dcf2a31..1962dff5c 100644 --- a/MediaBrowser.Api/UserLibrary/GenresService.cs +++ b/MediaBrowser.Api/UserLibrary/GenresService.cs @@ -11,7 +11,7 @@ namespace MediaBrowser.Api.UserLibrary /// <summary> /// Class GetGenres /// </summary> - [Route("/Users/{UserId}/Items/{Id}/Genres", "GET")] + [Route("/Users/{UserId}/Items/{ParentId}/Genres", "GET")] [Route("/Users/{UserId}/Items/Root/Genres", "GET")] [ServiceStack.ServiceHost.Api(Description = "Gets all genres from a given item, folder, or the entire library")] public class GetGenres : GetItemsByName diff --git a/MediaBrowser.Api/UserLibrary/PersonsService.cs b/MediaBrowser.Api/UserLibrary/PersonsService.cs index 81c0b2b7e..0c6f807bf 100644 --- a/MediaBrowser.Api/UserLibrary/PersonsService.cs +++ b/MediaBrowser.Api/UserLibrary/PersonsService.cs @@ -11,7 +11,7 @@ namespace MediaBrowser.Api.UserLibrary /// <summary> /// Class GetPersons /// </summary> - [Route("/Users/{UserId}/Items/{Id}/Persons", "GET")] + [Route("/Users/{UserId}/Items/{ParentId}/Persons", "GET")] [Route("/Users/{UserId}/Items/Root/Persons", "GET")] [ServiceStack.ServiceHost.Api(Description = "Gets all persons from a given item, folder, or the entire library")] public class GetPersons : GetItemsByName diff --git a/MediaBrowser.Api/UserLibrary/StudiosService.cs b/MediaBrowser.Api/UserLibrary/StudiosService.cs index 197abd0c5..3c3d1a504 100644 --- a/MediaBrowser.Api/UserLibrary/StudiosService.cs +++ b/MediaBrowser.Api/UserLibrary/StudiosService.cs @@ -11,7 +11,7 @@ namespace MediaBrowser.Api.UserLibrary /// <summary> /// Class GetStudios /// </summary> - [Route("/Users/{UserId}/Items/{Id}/Studios", "GET")] + [Route("/Users/{UserId}/Items/{ParentId}/Studios", "GET")] [Route("/Users/{UserId}/Items/Root/Studios", "GET")] [ServiceStack.ServiceHost.Api(Description = "Gets all studios from a given item, folder, or the entire library")] public class GetStudios : GetItemsByName diff --git a/MediaBrowser.Api/UserLibrary/YearsService.cs b/MediaBrowser.Api/UserLibrary/YearsService.cs index c3e3c8366..99ea08cda 100644 --- a/MediaBrowser.Api/UserLibrary/YearsService.cs +++ b/MediaBrowser.Api/UserLibrary/YearsService.cs @@ -12,7 +12,7 @@ namespace MediaBrowser.Api.UserLibrary /// <summary> /// Class GetYears /// </summary> - [Route("/Users/{UserId}/Items/{Id}/Years", "GET")] + [Route("/Users/{UserId}/Items/{ParentId}/Years", "GET")] [Route("/Users/{UserId}/Items/Root/Years", "GET")] [ServiceStack.ServiceHost.Api(Description = "Gets all years from a given item, folder, or the entire library")] public class GetYears : GetItemsByName |
