Scraping from TMDB based on the IMDB Id (Kodi 21.1)



While scraping my movies from TMDB with the Python scraper using the IMDB Id inside the filename, Kodi switch to a search based on the name and year for 2 files.
The 2 files are :
Family Guy Presents – Something, Something, Something, Dark Side (2009) {imdb=tt1329665} – ENFR – (STENFR).mkv
The School for Good and Evil (2022) {imdb=tt2935622} – FR.mkv
In these 2 cases,
– The IMDB Id have been verified.
– It is stored in the TMDB database.
All my movies are based on this naming schema : “name (year) {imdb=id} – languages.ext” and this is apparently working correctly for all of them (around 16000) except this 2.

The complete uploaded logfile (https://paste.kodi.tv/apazefohoh.kodi) contain the scraping of 3 movies :
– one working correctly, included to be able to compare.
— 28 Days (2000) {imdb=tt0191754} – ENFR – (STENFR).mkv (going from line 2679 to line 2913)
– the 2 with bad behavior :
— Family Guy Presents – Something, Something, Something, Dark Side (2009) {imdb=tt1329665} – ENFR – (STENFR).mkv (going from line 2921 to line 3156)
— The School for Good and Evil (2022) {imdb=tt2935622} – FR.mkv (going from line 3174 to line 3444)

For these 2 movies, this is not critical as there are no duplicate using the name and the year, but this will not be the same if this happen when there is a duplicate.

What is blocking the scraper from using the IMDB Id in these cases ?