Multipart Episode scraping is broken for local scraper



Yeah, I know, the title is a bold statement, as this definitely should have been noticed as Kodi 21 is out there for a while, but while I still can’t rule out a user mistake, it really seems that there is something broken in the local nfo scraper for multipart episodes.
Starting point is, I am slowly migrating my old kodi 18 boxes to kodi 21. There is a mariadb as backend, but that is not the problem. I need to rebuild all dbs from scratch, I can’t use the db upgrade feature (I could, but only for “master user” but now I need profiles and such…) All movies and tv shows have proper nfo files, which I exported from kodi 18. I then run a selfmade backup/restore tool, which basically just sets playcount, lastplayed and resume points and this is when I noticed that all multipart episodes have just scraped the first episode in the nfo file. To make a long story short and to show a reproducible scenario, I went to my Dev Kodi Setup (running flatpak v21 and local sqlite db)

this is what I did:
add new Folder Pogo 1104
in this folder, add new dummyfiles, S01E01E02.avi and S01E03E04.avi but no nfo files!
change the mediafolder containing the Pogo 1104 from local scraping to TMDb TV Shows.
Let kodi refresh the db.
Now all shows in this folder are scraped with the TMDB scraper.
Every Episode is now correctly scraped, with title, plot etc.
Now make a backup from kodi, so that nfo files are written.
change the db folder from tmdb to local scraping
Kodi does refresh the show, reads from nfo but is missing ep 2 and 4, they are visible as 1×02 and 1×04, but are missing every other content like plot or title.

So, to me (unless I am missing something else here) it seems that multipart scraping in kodi 21 is indeed broken (but works fine at least on kodi 18)