v21 Multipart Episode scraping is broken for local scraper
#1
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 1x02 and 1x04, 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)
Reply
#2
I wanted to be absolutely sure that this is not a user caused Problem, but indeed a bug in Kodi, I fired up my Windows VM and made 3 portable installs. One for Kodi V20, V21, and V22 nightly.
Only thing I changed on all three installs, switch to expert mode in settings so I can use the db export feature.

Here are my findings:

V21 behaves as described (now in english, since I didn't change language everything else is the same), scrape everything with python scraper, export to nfo, rescrape with local nfo, ep 2 and 4 are missing data.
V20 behaves as expected, started with fresh dummy media, scraped with python scraper, exported nfo files, switched to local scraper, all ep are there.
V22 Alpha, this is where it gets interesting, here also everything behaves as expected. After scraping, exporting, rescraping, every episode is there.

So it seems there *is* a bug in kodi 21, which got fixed for 22. Could you please port that fix back to 21? As this is a real showstopper right now.  Edit: I finally tried an Omega nightly as well (latest I found), and it seems that here everything seems to work as well.
Guess I have to wait for 21.1 then.
Reply
#3
(2024-07-12, 15:08)Canuma Wrote: So it seems there *is* a bug in kodi 21, which got fixed for 22.
and backported for v21.1 when it is realeased. You can install a v21 nightly to get the fix.
See... https://forum.kodi.tv/showthread.php?tid=377480
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
#4
Ah, sorry, didn't search hard enough then. Nightly is out of question unfortunately, it is a coreelec box and I am not sure if they deliver also kodi nightlys with their nightly builds.
Reply

Logout Mark Read Team Forum Stats Members Help
Multipart Episode scraping is broken for local scraper0