default item types on music genre service

This commit is contained in:
Luke Pulverenti 2013-06-10 23:56:39 -04:00
parent be1fcf1682
commit ee60e85bfc

View File

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