When the script attempts to process a movie which isn't listed on tmdb it will fail with the error below:
Processing movie: "Top Gear the Great Adventures 3"
Traceback (most recent call last):
File "PlexUnify.py", line 1143, in <module>
main()
File "PlexUnify.py", line 389, in main
collection = get_collection_data()
File "PlexUnify.py", line 281, in get_collection_data
current_collection_metadata_holder = get_metadata_holder()
File "PlexUnify.py", line 190, in get_metadata_holder
get_tmdb_movie_metadata(movie)
File "PlexUnify.py", line 1003, in get_tmdb_movie_metadata
if movie['tmdb_id'] is None:
KeyError: 'tmdb_id'
When the script attempts to process a movie which isn't listed on tmdb it will fail with the error below:
Could the script be adapted to skip such movies rather than terminating?