Open f0o opened 2 months ago
PKC Settings -> Advanced -> "Reset the database and optionally reset PlexKodiConnect"
Refreshing all fanart.tv Artwork (not just missing) yields TMDBMovieScraper error:
PLEX.utils: Error encountered: - __init__() takes 4 positional arguments but 5 were given
Steps to reproduce the behavior:
metadata.themoviedb.org.python-3.0.1
metadata.tvshows.themoviedb.org.python-1.6.6
2024-09-04 14:55:07.348 T:3976 info <general>: PLEX.sync: Start downloading additional metadata with refresh True 2024-09-04 14:55:07.350 T:5250 info <general>: PLEX.sync.metadata: Starting MetadataThread 2024-09-04 14:55:07.434 T:5250 error <general>: PLEX.utils: Error encountered: - __init__() takes 4 positional arguments but 5 were given 2024-09-04 14:55:07.435 T:5250 error <general>: PLEX.utils: _____________________________________________________________ 2024-09-04 14:55:07.436 T:5250 error <general>: PLEX.utils: Traceback (most recent call last): 2024-09-04 14:55:07.436 T:5250 error <general>: PLEX.utils: File "/home/osmc/.kodi/addons/plugin.video.plexkodiconnect/resources/lib/library_sync/additional_metadata.py", line 88, in run 2024-09-04 14:55:07.436 T:5250 error <general>: PLEX.utils: self._run() 2024-09-04 14:55:07.436 T:5250 error <general>: PLEX.utils: File "/home/osmc/.kodi/addons/plugin.video.plexkodiconnect/resources/lib/library_sync/additional_metadata.py", line 74, in _run 2024-09-04 14:55:07.437 T:5250 error <general>: PLEX.utils: self._loop() 2024-09-04 14:55:07.437 T:5250 error <general>: PLEX.utils: File "/home/osmc/.kodi/addons/plugin.video.plexkodiconnect/resources/lib/library_sync/additional_metadata.py", line 68, in _loop 2024-09-04 14:55:07.437 T:5250 error <general>: PLEX.utils: self._process_in_batches(item_getter, processor, plex_type) 2024-09-04 14:55:07.437 T:5250 error <general>: PLEX.utils: File "/home/osmc/.kodi/addons/plugin.video.plexkodiconnect/resources/lib/library_sync/additional_metadata.py", line 58, in _process_in_batches 2024-09-04 14:55:07.437 T:5250 error <general>: PLEX.utils: processor(plex_id, plex_type, self.refresh) 2024-09-04 14:55:07.438 T:5250 error <general>: PLEX.utils: File "/home/osmc/.kodi/addons/plugin.video.plexkodiconnect/resources/lib/library_sync/additional_metadata_tmdb.py", line 79, in process_trailers 2024-09-04 14:55:07.438 T:5250 error <general>: PLEX.utils: trailer = get_tmdb_details(api.guids) 2024-09-04 14:55:07.438 T:5250 error <general>: PLEX.utils: File "/home/osmc/.kodi/addons/plugin.video.plexkodiconnect/resources/lib/library_sync/additional_metadata_tmdb.py", line 41, in get_tmdb_details 2024-09-04 14:55:07.438 T:5250 error <general>: PLEX.utils: details = get_tmdb_scraper(settings).get_details(unique_ids) 2024-09-04 14:55:07.438 T:5250 error <general>: PLEX.utils: File "/home/osmc/.kodi/addons/plugin.video.plexkodiconnect/resources/lib/library_sync/additional_metadata_tmdb.py", line 34, in get_tmdb_scraper 2024-09-04 14:55:07.438 T:5250 error <general>: PLEX.utils: return tmdb.TMDBMovieScraper(settings, language, certcountry, search_language) 2024-09-04 14:55:07.439 T:5250 error <general>: PLEX.utils: TypeError: __init__() takes 4 positional arguments but 5 were given 2024-09-04 14:55:07.439 T:5250 error <general>: PLEX.utils: _____________________________________________________________
Not getting a stackdump would be a start ;)
./.
Commenting out https://github.com/croneter/PlexKodiConnect/blob/python3-beta/resources/lib/library_sync/additional_metadata_tmdb.py#L33-L35 solved the issue.
Help yourself
PKC Settings -> Advanced -> "Reset the database and optionally reset PlexKodiConnect"
and then hitting YES, NO ✅Describe the bug
Refreshing all fanart.tv Artwork (not just missing) yields TMDBMovieScraper error:
To Reproduce
Steps to reproduce the behavior:
metadata.themoviedb.org.python-3.0.1
&&metadata.tvshows.themoviedb.org.python-1.6.6
at the time of writing)Expected behavior
Not getting a stackdump would be a start ;)
You need to attach a KODI LOG FILE!
./.