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:
parent
d3b9ebf86c
commit
ffffd8ca69
1 changed files with 9 additions and 0 deletions
|
@ -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…
Reference in a new issue