mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-07-05 20:51:11 -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:
|
||||
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':
|
||||
base_url = '{0}{1}:{2}{3}/api/{4}/'.format(protocol, host, port, web_root, apikey)
|
||||
if section == 'Radarr':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue