Partially implemented ArtistRefreshCommand. In order to move forward, API may need to be switched to Spotify.

This commit is contained in:
Joseph Milazzo
2017-05-07 11:58:24 -05:00
parent fa80bca2c9
commit b481bc6e45
14 changed files with 420 additions and 33 deletions
@@ -0,0 +1,26 @@
using NzbDrone.Core.Messaging.Commands;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NzbDrone.Core.Music.Commands
{
public class RefreshArtistCommand : Command
{
public int? ArtistId { get; set; }
public RefreshArtistCommand()
{
}
public RefreshArtistCommand(int? artistId)
{
ArtistId = artistId;
}
public override bool SendUpdatesToClient => true;
public override bool UpdateScheduledTask => !ArtistId.HasValue;
}
}