Change AlbumSearchCommand to take a list of ids instead of a single id

This commit is contained in:
Daniel Underwood
2017-08-03 22:48:18 -04:00
parent 163a2f7495
commit 8bde4b660c
3 changed files with 21 additions and 7 deletions
@@ -1,11 +1,21 @@
using NzbDrone.Core.Messaging.Commands;
using System.Collections.Generic;
using NzbDrone.Core.Messaging.Commands;
namespace NzbDrone.Core.IndexerSearch
{
class AlbumSearchCommand : Command
{
public int AlbumId { get; set; }
public List<int> AlbumIds { get; set; }
public override bool SendUpdatesToClient => true;
public AlbumSearchCommand()
{
}
public AlbumSearchCommand(List<int> albumIds)
{
AlbumIds = albumIds;
}
}
}