mirror of
https://github.com/rembo10/headphones.git
synced 2026-05-07 12:19:29 +01:00
Set Move-To Path for General Setting
- setTorrentPath was called only in case DELUGE_DONE_DIRECTORY was set, forgot about the more general DOWNLOAD_TORRENT_DIR option. Thought about it in deluge.py, forgot about it in searcher.py. This should fix #2557
This commit is contained in:
@@ -917,7 +917,7 @@ def send_to_downloader(data, bestqual, album):
|
||||
deluge.setSeedRatio({'hash': torrentid, 'ratio': seed_ratio})
|
||||
|
||||
# Set move-to directory
|
||||
if headphones.CONFIG.DELUGE_DONE_DIRECTORY:
|
||||
if headphones.CONFIG.DELUGE_DONE_DIRECTORY or headphones.CONFIG.DOWNLOAD_TORRENT_DIR:
|
||||
deluge.setTorrentPath({'hash': torrentid})
|
||||
|
||||
# Get folder name from Deluge, it's usually the torrent name
|
||||
|
||||
Reference in New Issue
Block a user