default item types on music genre service

pull/702/head
Luke Pulverenti 12 years ago
parent be1fcf1682
commit ee60e85bfc

@ -17,6 +17,10 @@ namespace MediaBrowser.Api.UserLibrary
[Api(Description = "Gets all music genres from a given item, folder, or the entire library")] [Api(Description = "Gets all music genres from a given item, folder, or the entire library")]
public class GetMusicGenres : GetItemsByName public class GetMusicGenres : GetItemsByName
{ {
public GetMusicGenres()
{
IncludeItemTypes = typeof (Audio).Name;
}
} }
[Route("/MusicGenres/{Name}/Counts", "GET")] [Route("/MusicGenres/{Name}/Counts", "GET")]

Loading…
Cancel
Save