You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
1.3 KiB
36 lines
1.3 KiB
using System.Collections.Generic;
|
|
using NzbDrone.Common.Messaging;
|
|
using NzbDrone.Core.Download;
|
|
using NzbDrone.Core.Music;
|
|
|
|
namespace NzbDrone.Core.MediaFiles.Events
|
|
{
|
|
public class AlbumImportedEvent : IEvent
|
|
{
|
|
public Artist Artist { get; private set; }
|
|
public Album Album { get; private set; }
|
|
public AlbumRelease AlbumRelease { get; private set; }
|
|
public List<TrackFile> ImportedTracks { get; private set; }
|
|
public List<TrackFile> OldFiles { get; private set; }
|
|
public bool NewDownload { get; private set; }
|
|
public DownloadClientItemClientInfo DownloadClientInfo { get; set; }
|
|
public string DownloadId { get; private set; }
|
|
|
|
public AlbumImportedEvent(Artist artist, Album album, AlbumRelease release, List<TrackFile> importedTracks, List<TrackFile> oldFiles, bool newDownload, DownloadClientItem downloadClientItem)
|
|
{
|
|
Artist = artist;
|
|
Album = album;
|
|
AlbumRelease = release;
|
|
ImportedTracks = importedTracks;
|
|
OldFiles = oldFiles;
|
|
NewDownload = newDownload;
|
|
|
|
if (downloadClientItem != null)
|
|
{
|
|
DownloadClientInfo = downloadClientItem.DownloadClientInfo;
|
|
DownloadId = downloadClientItem.DownloadId;
|
|
}
|
|
}
|
|
}
|
|
}
|