From ee60e85bfc3cd60a7439e63bd9dc574e89123be8 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Mon, 10 Jun 2013 23:56:39 -0400 Subject: [PATCH] default item types on music genre service --- MediaBrowser.Api/UserLibrary/MusicGenresService.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/MediaBrowser.Api/UserLibrary/MusicGenresService.cs b/MediaBrowser.Api/UserLibrary/MusicGenresService.cs index 81d284915..0b482aaf4 100644 --- a/MediaBrowser.Api/UserLibrary/MusicGenresService.cs +++ b/MediaBrowser.Api/UserLibrary/MusicGenresService.cs @@ -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")]