Fixed: Get actual file names from QBittorrent API (#5226)

* Fixed: Get actual file names from QBittorrent API

Previously we were assuming that the output filename was the category
output dir + the torrent name.  This isn't true if the torrent has
been renamed or sanitized.
This commit is contained in:
ta264
2020-11-14 05:27:07 +00:00
parent 6791787655
commit eb50b4f09f
15 changed files with 272 additions and 14 deletions
@@ -62,6 +62,12 @@ namespace NzbDrone.Core.Download
public abstract string Download(RemoteBook remoteBook);
public abstract IEnumerable<DownloadClientItem> GetItems();
public virtual DownloadClientItem GetImportItem(DownloadClientItem item, DownloadClientItem previousImportAttempt)
{
return item;
}
public abstract void RemoveItem(string downloadId, bool deleteData);
public abstract DownloadClientInfo GetStatus();