default item types on music genre service
This commit is contained in:
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…
Reference in New Issue
Block a user