invalid literal for int() with base 10: when doing movies
theeddie opened this issue · 1 comments
theeddie commented
Version Number
2.0
What branch are you on?
master
Describe the Bug
errors out during movie for trak. does tv just fine
Relevant Collection/Overlay/Playlist Definition
Mapping Error | local://1300628 | No match in Plex for "Chronicle Mysteries Vines That Bind" |
| Traceback (most recent call last): |
| File "//kometa.py", line 656, in run_libraries |
| library.map_guids(temp_items) |
| File "/modules/library.py", line 375, in map_guids |
| id_type, main_id, imdb_id = self.config.Convert.get_id(item, self) |
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| File "/modules/convert.py", line 250, in get_id |
| elif url_parsed.scheme == "tmdb": tmdb_id.append(int(url_parsed.netloc)) |
| ^^^^^^^^^^^^^^^^^^^^^^ |
| ValueError: invalid literal for int() with base 10: 'tt24478470' |
| |
| invalid literal for int() with base 10: 'tt24478470' |
| |
Logs
No response
chazlarson commented
This is addressed in the develop branch. Plex has bad metadata for the movie "City Hunter" [Plex provides an IMDB ID when you ask for the TMDB ID] and this is the result.