New: Warning message that Torrent Blackhole will move files, not copy or hard link

This commit is contained in:
Mark McDowall 2015-08-25 23:33:09 -07:00
parent d3b9ebf86c
commit ffffd8ca69
1 changed files with 9 additions and 0 deletions

View File

@ -13,6 +13,7 @@ using NzbDrone.Core.MediaFiles.TorrentInfo;
using NzbDrone.Core.Organizer;
using NzbDrone.Core.Parser.Model;
using NzbDrone.Core.RemotePathMappings;
using NzbDrone.Core.ThingiProvider;
namespace NzbDrone.Core.Download.Clients.TorrentBlackhole
{
@ -63,6 +64,14 @@ namespace NzbDrone.Core.Download.Clients.TorrentBlackhole
}
}
public override ProviderMessage Message
{
get
{
return new ProviderMessage("Sonarr will move files from the Watch folder, it will not hardlink or copy", ProviderMessageType.Warning);
}
}
public override IEnumerable<DownloadClientItem> GetItems()
{
foreach (var folder in _diskProvider.GetDirectories(Settings.WatchFolder))