mirror of
https://github.com/mza921/Plex-Auto-Collections
synced 2024-11-14 16:27:22 +00:00
Fix movie id lookup
This commit is contained in:
parent
02ab94e06f
commit
12de3f1c37
3 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||
|
|
|
@ -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__))
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue