Fix movie id lookup

This commit is contained in:
mza921 2020-11-03 17:10:44 -08:00
parent 02ab94e06f
commit 12de3f1c37
3 changed files with 3 additions and 3 deletions

View file

@ -1,5 +1,5 @@
# Plex Auto Collections
##### Version 2.3.0
##### Version 2.3.1
Plex Auto Collections is a Python 3 script that works off a configuration file to create/update Plex collections. Collection management with this tool can be automated in a varying degree of customizability. Supports IMDB, TMDb, and Trakt lists as well as built in Plex filters such as actors, genres, year, studio and more.
![https://i.imgur.com/iHAYFIZ.png](https://i.imgur.com/iHAYFIZ.png)

View file

@ -620,7 +620,7 @@ print("| | _/| |/ -_)\ \ / / _ \| || || _|/ _ \ | (__ / _ \| || |/ -_)/ _|
print("| |_| |_|\___|/_\_\ /_/ \_\\\\_,_| \__|\___/ \___|\___/|_||_|\___|\__| \__||_|\___/|_||_|/__/ |")
print("| |")
print("|===================================================================================================|")
print("| Version 2.3.0")
print("| Version 2.3.1")
print("| Locating config...")
config_path = None
app_dir = os.path.dirname(os.path.abspath(__file__))

View file

@ -293,7 +293,7 @@ def alt_id_lookup(plex, value):
guid = urlparse(guid_tag['id']).netloc
if agent == 'imdb':
imdb_id = guid
elif agent == 'tmdb':
if agent == 'tmdb':
tmdb_id = guid
return imdb_id, tmdb_id