mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-20 21:54:25 -04:00
Partially implemented ArtistRefreshCommand. In order to move forward, API may need to be switched to Spotify.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user