(2023-03-18, 13:01)HeresJohnny Wrote: All issues seem to have been resolved and the Video Database Cleaner appears to be fully functioning. The project is coming along nicely! I noticed, though, that after scraping new items into the movie database that KSC immediately finds new items to clean, especially in the actor and *-link tables. I wonder if that's scraper related.
It is likely scraper related but is this scraping something new or rescraping an existing media file ? I wouldn't expect something new to do this but I could easily see a rescrape where the actor information may have gotten updated and some actors were removed. If it is happening on new items I'd compare what it wants to clean to whether those actors are really aligned to the newly scraped media. It is possible there is an SQL query issue in my code but I am not seeing it with my Mezzmo scraper which syncs to Kodi.
If you get something specific, I can look at it. I'd need a CSV export of the actor table and the actor_link table (which I need to add the link tables to the KSC tool) before and after a scrape along with a CSV output of the analyzer table analysis when it sees new stuff to clean. From that I can dig into what is happening in detail. I'll add some of the link tables to the CSV exporter in the next day or so.
I appreciate the feedback on the tool. While I will rarely use it, I hope it helps folks maintain their databases better and provide more visibility. A few things I have as other potential features are:
- Complete the media browser section where you can selectively delete things in your library and the tool will clean out all relevant entries vs. leaving orphaned entries (potentially including deleting the media file itself).
- A media comparison routine where it will scan your library looking for missing media files. This would likely be slow and I'd need a progress bar.
- Finish the music database analyzer
I am open to suggestions and preferences, as time permits. I presume the analyzer / cleaner is running pretty quick now with the shared cursor code change ?
Thanks,
Jeff