mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-07 13:32:17 -07:00
Log TrackImport and TrackFileDeleted to History
This commit is contained in:
parent
ab9a9232cf
commit
729d1142b0
12 changed files with 94 additions and 44 deletions
|
@ -6,6 +6,7 @@ using NzbDrone.Core.Download;
|
|||
using NzbDrone.Core.History;
|
||||
using Lidarr.Api.V3.Albums;
|
||||
using Lidarr.Api.V3.Artist;
|
||||
using Lidarr.Api.V3.Tracks;
|
||||
using Lidarr.Http;
|
||||
using Lidarr.Http.Extensions;
|
||||
|
||||
|
@ -35,6 +36,7 @@ namespace Lidarr.Api.V3.History
|
|||
|
||||
resource.Artist = model.Artist.ToResource();
|
||||
resource.Album = model.Album.ToResource();
|
||||
resource.Track = model.Track.ToResource();
|
||||
|
||||
if (model.Artist != null)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue