Release TheMovieDB movie scraper - PYTHON version
(2020-12-21, 20:55)Karellen Wrote: Open your database, check the Tag table. Is the Tag table clean or full of your old tags?

Scraping "Tenet", even with the scraper set NOT to create tags from keywords, created a tag called "fire engine" anyway. Let's verify:
MariaDB [MyVideos119]> select * from tag where name = "fire engine";
| tag_id | name        |
|    197 | fire engine |
1 row in set (0.001 sec)

Now I'll go delete the "fire engine" tag with Tag Overview and verify it in Kodi's logfile:
2020-12-21 11:43:37.669 T:1286    DEBUG <general>: CDialogTagOverview tagSelected delete tag
2020-12-21 11:43:40.853 T:1286    DEBUG <general>: CDialogTagOverview deletetag tag_id:
2020-12-21 11:43:40.853 T:1286    DEBUG <general>: ('197',)
2020-12-21 11:43:40.853 T:1286    DEBUG <general>: CVideoDatabase Removetag_link: sql:delete from tag_link where tag_id = %s
2020-12-21 11:43:40.858 T:1286    DEBUG <general>: CVideoDatabase RemoveTag: sql:delete from tag where tag_id = %s
2020-12-21 11:43:40.859 T:1286    DEBUG <general>: CDialogTagOverview buildList

At this point Tag Overview has removed the tag link to any movies it was linked to, the tag itself from the tag list, and has started repopulating the tag list. Let's verify the tag was deleted from the tag list:
MariaDB [MyVideos119]> select * from tag where name = "fire engine";
Empty set (0.001 sec)

Now that we know Tag Overview does in fact delete tags from the database, that brings us back to the scraper not honoring "create tags from keywords" = false.

Messages In This Thread
RE: TheMovieDB movie scraper - PYTHON version - by teriyaki - 2020-12-21, 22:11

Logout Mark Read Team Forum Stats Members Help
TheMovieDB movie scraper - PYTHON version0
This forum uses Lukasz Tkacz MyBB addons.