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

pull/6/head
Mark McDowall 9 years ago
parent d3b9ebf86c
commit ffffd8ca69

@ -13,6 +13,7 @@ using NzbDrone.Core.MediaFiles.TorrentInfo;
using NzbDrone.Core.Organizer; using NzbDrone.Core.Organizer;
using NzbDrone.Core.Parser.Model; using NzbDrone.Core.Parser.Model;
using NzbDrone.Core.RemotePathMappings; using NzbDrone.Core.RemotePathMappings;
using NzbDrone.Core.ThingiProvider;
namespace NzbDrone.Core.Download.Clients.TorrentBlackhole 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() public override IEnumerable<DownloadClientItem> GetItems()
{ {
foreach (var folder in _diskProvider.GetDirectories(Settings.WatchFolder)) foreach (var folder in _diskProvider.GetDirectories(Settings.WatchFolder))

Loading…
Cancel
Save