diff --git a/MediaBrowser.Api/ChannelService.cs b/MediaBrowser.Api/ChannelService.cs
index a6407349d8..d71db929fe 100644
--- a/MediaBrowser.Api/ChannelService.cs
+++ b/MediaBrowser.Api/ChannelService.cs
@@ -37,6 +37,12 @@ namespace MediaBrowser.Api
[ApiMember(Name = "SupportsLatestItems", Description = "Optional. Filter by channels that support getting latest items.", IsRequired = false, DataType = "boolean", ParameterType = "query", Verb = "GET")]
public bool? SupportsLatestItems { get; set; }
+
+ ///
+ /// Gets or sets a value indicating whether this instance is favorite.
+ ///
+ /// null if [is favorite] contains no value, true if [is favorite]; otherwise, false.
+ public bool? IsFavorite { get; set; }
}
[Route("/Channels/{Id}/Features", "GET", Summary = "Gets features for a channel")]
@@ -202,7 +208,8 @@ namespace MediaBrowser.Api
Limit = request.Limit,
StartIndex = request.StartIndex,
UserId = request.UserId,
- SupportsLatestItems = request.SupportsLatestItems
+ SupportsLatestItems = request.SupportsLatestItems,
+ IsFavorite = request.IsFavorite
}, CancellationToken.None).Result;
diff --git a/MediaBrowser.Api/ItemUpdateService.cs b/MediaBrowser.Api/ItemUpdateService.cs
index 92e6a098d2..d7182d68ef 100644
--- a/MediaBrowser.Api/ItemUpdateService.cs
+++ b/MediaBrowser.Api/ItemUpdateService.cs
@@ -1,4 +1,5 @@
-using MediaBrowser.Controller.Entities;
+using System.Collections.Generic;
+using MediaBrowser.Controller.Entities;
using MediaBrowser.Controller.Entities.Audio;
using MediaBrowser.Controller.Entities.TV;
using MediaBrowser.Controller.Library;
@@ -209,7 +210,7 @@ namespace MediaBrowser.Api
if (song != null)
{
song.Album = request.Album;
- song.AlbumArtist = request.AlbumArtist;
+ song.AlbumArtists = string.IsNullOrWhiteSpace(request.AlbumArtist) ? new List() : new List { request.AlbumArtist };
song.Artists = request.Artists.ToList();
}
diff --git a/MediaBrowser.Api/Music/AlbumsService.cs b/MediaBrowser.Api/Music/AlbumsService.cs
index d8abf81ba9..0732c951a8 100644
--- a/MediaBrowser.Api/Music/AlbumsService.cs
+++ b/MediaBrowser.Api/Music/AlbumsService.cs
@@ -76,35 +76,13 @@ namespace MediaBrowser.Api.Music
var artists1 = album1.GetRecursiveChildren()
.OfType