Posts: 3,212
Joined: May 2008
Reputation:
111
olympia
Team-Kodi Member
Posts: 3,212
I don't agree with your first comment about logging - the ones who can help and fix know how to read the logs. Logs doesn't necessarily need to be user (even if advanced user like you) interpret-able under and for all circumstances...
...and if you are don't know/ unsure on how to read, then you shouldn't go far based on assumptions, definitely shouldn't come to a conclusion and ultimately is better to not post all over (i.e. immediately pull the trigger with a guess on tvdb forums.)
Your second comment on how Kodi parses JSON is valid from an angle.
...and Kodi will address this from the next version by introducing python scrapers and subsequently proper JSON parser.
However, the regexp based XML scraping engine proved it's power over the past decade and that facility made/ make it possible to develop and maintain scrapers by any non-coder, advanced user.
This era will change and time will tell...
Posts: 3,212
Joined: May 2008
Reputation:
111
olympia
Team-Kodi Member
Posts: 3,212
....and the log was correct.
As I explained in one of my previous post, the scraper addon parses the site, then generates an XML from the collected data what XML then gets parsed by Kodi core. So for Kodi core it is an XML just as how the log suggested.
While I agree that if you only pick out the word "XML" from the context of the log, then it's misleading, hence I said you need to know what you are reading before making any conclusions.
You are right in saying we all start being unfamiliar, but in case you are interested, lets ask it here, discuss it here, at least let's wait 24 hours if someone reacts or maybe even fix the issue.
Actually you did mentioned that Kodi expects an XML response on tvdb API, but let's get over that.
For the rest, thank you for the pitch in your 3. post in the forum suggesting that my 10 years work on non RFC compliant scrapers is a piece of shit.
Maybe it's time to stop fixing things what I really don't like or use (e.g. tvdb in overall).
Posts: 8
Joined: Feb 2017
Reputation:
0
Many thanks - just got the update for Jarvis this morning, and it cleared up a couple of issues here. That was quick! Tip o' the hat to the volunteer developers.
Posts: 9
Joined: Apr 2015
Reputation:
0
In particular, metadata.tvdb.com-2.1.4.zip allowed me to add two new shows that were previously not in my Kodi libary, and which yesterday (and the day before) refused to add due to thetvdb API shenanigans. Now that I have installed (from zip) that version of the scraper, new shows add once again; new episodes of shows added (previously or just now) scrape as well.
Thanks VERY VERY much for releasing the one-liner pattern change in the scraper logic that facilitates this.
It is MUCH appreciated.