1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-27 02:07:41 +00:00

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

View file

@ -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))