mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-19 21:03:14 -07:00
Update movies.py
Check for an updated dir_name in case IMDB id was appended.
This commit is contained in:
parent
0c564243c2
commit
4c512051f7
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ def process(section, dir_name, input_name=None, status=0, client_agent='manual',
|
||||||
else:
|
else:
|
||||||
extract = int(cfg.get('extract', 0))
|
extract = int(cfg.get('extract', 0))
|
||||||
|
|
||||||
imdbid = find_imdbid(dir_name, input_name, omdbapikey)
|
imdbid, dir_name = find_imdbid(dir_name, input_name, omdbapikey)
|
||||||
if section == 'CouchPotato':
|
if section == 'CouchPotato':
|
||||||
base_url = '{0}{1}:{2}{3}/api/{4}/'.format(protocol, host, port, web_root, apikey)
|
base_url = '{0}{1}:{2}{3}/api/{4}/'.format(protocol, host, port, web_root, apikey)
|
||||||
if section == 'Radarr':
|
if section == 'Radarr':
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue