|
|
|
@ -25,6 +25,7 @@ namespace Lidarr.Api.V1.Artist
|
|
|
|
|
public class ArtistModule : LidarrRestModuleWithSignalR<ArtistResource, NzbDrone.Core.Music.Artist>,
|
|
|
|
|
IHandle<AlbumImportedEvent>,
|
|
|
|
|
IHandle<AlbumEditedEvent>,
|
|
|
|
|
IHandle<AlbumDeletedEvent>,
|
|
|
|
|
IHandle<TrackFileDeletedEvent>,
|
|
|
|
|
IHandle<ArtistUpdatedEvent>,
|
|
|
|
|
IHandle<ArtistEditedEvent>,
|
|
|
|
@ -259,6 +260,11 @@ namespace Lidarr.Api.V1.Artist
|
|
|
|
|
BroadcastResourceChange(ModelAction.Updated, GetArtistResource(message.Album.Artist.Value));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void Handle(AlbumDeletedEvent message)
|
|
|
|
|
{
|
|
|
|
|
BroadcastResourceChange(ModelAction.Updated, GetArtistResource(message.Album.Artist.Value));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void Handle(TrackFileDeletedEvent message)
|
|
|
|
|
{
|
|
|
|
|
if (message.Reason == DeleteMediaFileReason.Upgrade)
|
|
|
|
|