mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-13 18:16:52 -07:00
Fix Syno Parser #1671
This commit is contained in:
parent
b793ce7933
commit
0fa2a80bf6
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ def parse_synods(args):
|
||||||
input_hash = os.getenv('TR_TORRENT_HASH')
|
input_hash = os.getenv('TR_TORRENT_HASH')
|
||||||
if not input_name: # No info passed. Assume manual download.
|
if not input_name: # No info passed. Assume manual download.
|
||||||
return input_directory, input_name, input_category, input_hash, input_id
|
return input_directory, input_name, input_category, input_hash, input_id
|
||||||
input_id = 'dbid_'.format(os.getenv('TR_TORRENT_ID'))
|
input_id = 'dbid_{0}'.format(os.getenv('TR_TORRENT_ID'))
|
||||||
#res = core.TORRENT_CLASS.tasks_list(additional_param='detail')
|
#res = core.TORRENT_CLASS.tasks_list(additional_param='detail')
|
||||||
res = core.TORRENT_CLASS.tasks_info(input_id, additional_param='detail')
|
res = core.TORRENT_CLASS.tasks_info(input_id, additional_param='detail')
|
||||||
logger.debug('result from syno {0}'.format(res))
|
logger.debug('result from syno {0}'.format(res))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue