Plex-Auto-Collections
Plex-Auto-Collections copied to clipboard
plex_tools.alt_id_lookup crashes from malformed URL
When building the request to call Plex, the line req = Request('{}{}'.format(plex.url, movie.key)) isn't stripping the leading backslash from the movie.key params so we end up with something like 'http://192.168.1.100:32400//library/metadata/730' when it should look like 'http://192.168.1.100:32400/library/metadata/730'.
This causes Plex to return a 404 and the script to exit.
development here has stalled check out the updated Plex Meta Manager.