diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-07-10 16:06:11 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-07-10 16:06:11 -0400 |
| commit | 9821faf5661f4ed06fbc46219bfa843885a1c9bd (patch) | |
| tree | 78108ca55d29910ba17b98843f67b55438c5f8e3 /MediaBrowser.Api/UserLibrary/ItemsService.cs | |
| parent | d97a1af2631a3c86ccbb9a4d5b56389315c96e23 (diff) | |
Added new theme song/video endpoints
Diffstat (limited to 'MediaBrowser.Api/UserLibrary/ItemsService.cs')
| -rw-r--r-- | MediaBrowser.Api/UserLibrary/ItemsService.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/MediaBrowser.Api/UserLibrary/ItemsService.cs b/MediaBrowser.Api/UserLibrary/ItemsService.cs index 8497901f6..b52696efa 100644 --- a/MediaBrowser.Api/UserLibrary/ItemsService.cs +++ b/MediaBrowser.Api/UserLibrary/ItemsService.cs @@ -425,6 +425,13 @@ namespace MediaBrowser.Api.UserLibrary return artists.Any(album.HasArtist); } + var musicVideo = i as MusicVideo; + + if (musicVideo != null) + { + return artists.Any(musicVideo.HasArtist); + } + return false; }); } |
