Kodi Community Forum

Full Version: Overwriting certain tags in TVDB-scraped series
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi guys, I've read all the help pretty extensively but can't figure this one out. I have a number of series that scrape correctly from TVDB, but I'd like to add custom series tags to them - I know I can do this from the GUI but I've found this to be a bit fragile; I've already lost all my tags three times due to various re-scraping mishaps and it's a pain to remember from the top down which series go under which - I'd rather have them safely established in nfo files so if I have to re-add the series I know they'll come back in automatically.

Is there a way currently to override only certain fields with an nfo file? I've tried adding an nfo file with just the tags but the only options seem to be either just use the nfo (in which case all other series info is lost) or just use TVDB and ignore the nfo file. From the documentation (ie https://kodi.wiki/view/NFO_files#Parsing_nfo) it seems like the way to do this should be a combination nfo file, but TVDB has currently broken the parsing functionality, is that right?
Hello @holybladder

(2018-08-19, 22:52)holybladder Wrote: [ -> ]but TVDB has currently broken the parsing functionality, is that right?
Yes, TheTVDB have made changes that broke a lot of functions. The parsing is an issue, but more so for non-English languages. If you are scraping in English, it may still work for you. (no guarantee, though)

What exactly are you trying to add or change?

I find using Chorus2 an easier way to make changes than the kodi GUI... https://kodi.wiki/view/Web_interface
Ah, I see. I'm trying to just add series tags (ie https://kodi.wiki/view/Video_library_tags). So my example XML file for the web series Binging with Babish is:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<tvshow>
    <tag clear="true">Cooking</tag>
</tvshow>
https://www.thetvdb.com/?tab=series&id=326036&lid=7
Oh, for goodness sake...I put it back in place just while I was copying it for this thread, and it's actually worked this time Big Grin I think I had the folder structure wrong before. Looks like the combination file in English does work for the time being, so problem solved! Thanks for your time anyway...
The <tag> XML tag does not use the clear attribute. Only those listed in the table here... https://kodi.wiki/view/NFO_files#Combination_nfo

Doesn't seem to work for me either. It is the new slugs that are used by TheTVDB. If you are interested, the last two posts here are a discussion of the problem... https://forum.kodi.tv/showthread.php?tid=332812 scudlee is the scraper developer and darklightindigo is from TheTVDB

In that same thread, look at post number 4 and you will see some screenshots of the Chorus2 Web Interface. The last image shows Tags and how simple they are to change.
That's weird...if you see my previous post, it actually worked for me! I had to have the episodes in "Season 1" and "Season 2" folders but then it seemed to work.

I'm sure Chorus2 is great - my issue isn't with the ease of adding tags, it's the fact that they are lost very easily if you re-add series.
I should have refreshed the screen. I opened your post then went off to make a coffee, so I didn't see your next post. Still didn't work for me. But as long as it works for you, great!

(2018-08-20, 07:57)holybladder Wrote: [ -> ]it's the fact that they are lost very easily if you re-add series.
Then once you have everything set up as you want it, ensure you perform an Export to Separate Files. If you lose your library, it is easily and quickly rebuilt with all the changes you made previously. See the link in My Signature below.
update the table karellen, clear works on <tag> as well. it works for anything that is parsed additively, ie stuff you can have multiple of.
Thanks @spiff