Minix XBMC 16.3 (20160911) tmdb and tvdb scraper fixes

augur

New member
#1
I was posting 'fixed' versions of these addons on the old site, might as well do it here too.

The short version of why they fail regularly is that at some point the version numbers within the addons changed their format, it used to be of the format 673.9.4 and is now 3.9.4. One side affect of this is that if you have manually installed a fixed addon it will never be auto-updated because 673 is always greater than 3, and even if it was it wouldn't work because Minix XBMC 16.3 doesn't understand the changed format.

It might seem like a minor detail but unless Minix XBMC 16.3 gets patched (and it's been 17 months so very unlikely) every time tvdb or tmdb change something on their API which requires the addons to be updated to work again the patched versions we're using will become broken.


Here's how to 'fix' the addons yourself, since I'll only notice when it stops working for me which for tv is a few days and for films could be up to a couple of weeks.

Download the latest version of each addon from these folders
https://mirrors.kodi.tv/addons/jarvis/metadata.common.themoviedb.org/
https://mirrors.kodi.tv/addons/jarvis/metadata.themoviedb.org/
https://mirrors.kodi.tv/addons/jarvis/metadata.tvdb.com/

As of today that is.
metadata.common.themoviedb.org-3.1.8
metadata.themoviedb.org-4.1.5
metadata.tvdb.com-2.0.18

Put all the addons into one folder (It makes it easier for the drag and drops).
Do the following for each addon.

open with winrar
drag out addon.xml
drag into a text editor such as editpad or notepad++

insert 67 so
version="3.1.8"
is changed to
version="673.1.8"

Save and close.

Drag modified addon.xml back into zip so it overwrites the original (watch the file date, size, and crc32 change)
Delete the dragged out addon.xml

Repeat for each addon

Add to Kodi using Install from zip file
System->Settings->Add-ons->Install from zip file
I personally have a NAS with a shared folder added as a source in System->File Manager, makes it quicker to access the folder.

Enjoy Kodi able to scrape again.
 

Attachments

Last edited:

augur

New member
#6
Given that the tvdb update to API v3 went 'poorly' and had to be rolled back there is still an issue causing the addon to crash Kodi when run.

The major issue though is that the tvdb API is currently returning no artwork at all.
The LoadArt function expects when it requests (say) "Posters" that it either gets all posters, or it gets a 404 error (when there are none), so there was no reason to expect the keyType field to ever be empty. (The function doesn't run when it 404s.)
Since it currently is empty, the function ends up reusing the previous contents of the buffer as output, which happens to be the call to itself, resulting in an infinite loop, which carries on until eventually it crashes.

Do note, that even with the fix, if you refresh a whole show, you will lose all artwork, because the API is currently returning none.
https://forum.kodi.tv/showthread.php?tid=345935&pid=2873832#pid2873832

I've modified the tvdb.xml within the zip as explained in the link above so at least Kodi doesn't crash.
There should be no need to replace with the previous version of 2.0.18 from December 2018 when tvdb fix their API returning a null value.
 

Attachments

Top