mirror of
https://github.com/Radarr/Radarr
synced 2026-05-07 11:51:00 +02:00
Update TorrentFreeboxDownload.cs
This commit is contained in:
parent
71dc83f8a2
commit
658cb30ebc
1 changed files with 3 additions and 1 deletions
|
|
@ -126,15 +126,17 @@ public override IEnumerable<DownloadClientItem> GetItems()
|
|||
|
||||
return queueItems;
|
||||
}
|
||||
|
||||
|
||||
protected override string AddFromMagnetLink(RemoteMovie remoteMovie, string hash, string magnetLink)
|
||||
{
|
||||
return _proxy.AddTaskFromUrl(magnetLink, GetDownloadDirectory(remoteMovie).EncodeBase64(), ToBePaused(), ToBeQueuedFirst(remoteMovie), GetSeedRatio(remoteMovie), Settings);
|
||||
}
|
||||
|
||||
protected override string AddFromTorrentFile(RemoteMovie remoteMovie, string hash, string filename, byte[] fileContent)
|
||||
{
|
||||
return _proxy.AddTaskFromFile(filename, fileContent, GetDownloadDirectory(remoteMovie).EncodeBase64(), ToBePaused(), ToBeQueuedFirst(remoteMovie), GetSeedRatio(remoteMovie), Settings);
|
||||
}
|
||||
|
||||
public override void RemoveItem(DownloadClientItem item, bool deleteData)
|
||||
{
|
||||
_proxy.DeleteTask(item.DownloadId, deleteData, Settings);
|
||||
|
|
|
|||
Loading…
Reference in a new issue