How do I set remove_html_tables for ComicTagger?

Information and Tutorials on features in Mylar and how to use it
Post Reply
senorsmartypants
Posts: 9
Joined: Sun Sep 02, 2018 10:00 pm

How do I set remove_html_tables for ComicTagger?

Post by senorsmartypants » Wed Sep 05, 2018 8:46 pm

Looking in the source code for CT I found the setting I need to get rid of the "List of Covers" from the comic summary

Code: Select all

remove_html_tables = true 
But where do I set that? mylar/config? mylar/lib/comictaggerlib/ct_settings/settings.ini?

Also, I tried googling for the ninjas.walk.alone fork of ComicTagger but it only pointed to mylar source. Is there a separate source (github?) for this or is it just the name of the internal CT to mylar?

User avatar
evilhero
Site Admin
Posts: 2254
Joined: Sat Apr 20, 2013 3:43 pm
Contact:

Re: How do I set remove_html_tables for ComicTagger?

Post by evilhero » Thu Sep 06, 2018 3:23 pm

Well, the ninjas fork is the internal version of CT specific to Mylar. It has some custom modifications that allow it to be used with the program, as well as using a different method of unraring files as opposed to the main branch of current CT.

The reason why the difference? When it was forked, years ago - CT was dead and development had stopped. Thus the ninjas fork whereby I was able to get things working and up-to-speed for general usage. Then CT resumed development and decided to use a different method of unraring files, which if implemented within Mylar would impact the usage / problems heavily. So the option to not use the different method was used in order to try and minimize the amount of problems for Mylar users.

But yes, you can set the remove_html_tables = True in the settings.ini file and it should accept it as a valid setting. However it has to be formatted into the comicvine subsection like so:

Code: Select all

[comicvine]
remove_html_tables = True

senorsmartypants
Posts: 9
Joined: Sun Sep 02, 2018 10:00 pm

Re: How do I set remove_html_tables for ComicTagger?

Post by senorsmartypants » Wed Sep 12, 2018 6:47 pm

I updated my config.ini to look like this. remove_html_tables setting displays as true in the config_dump on the website. But I'm still getting the list of tables in the description.

Code: Select all

[CV]
cv_verify = True
cv_only = True
cvinfo = False
blacklisted_publishers = None
comicvine_api = <APIKEY>
cv_onetimer = True
cvapi_rate = 2
remove_html_tables = True

User avatar
evilhero
Site Admin
Posts: 2254
Joined: Sat Apr 20, 2013 3:43 pm
Contact:

Re: How do I set remove_html_tables for ComicTagger?

Post by evilhero » Wed Sep 12, 2018 7:10 pm

You need to add that snippet I pasted into your settings.ini file located in the ct_settings folder within the comictaggerlib subdirectory, not the main config.ini.

It also has to be exactly as I structured it as well, meaning it has to have a [comicvine] section or else it won't be be able to use the remove_html_tables variable.

Post Reply