Refresh Show Information
#1
I posted this in the add-on support section

Quote:Is there an addon that will refresh TV Show info?

I ask because sometimes, especially with newer content, descriptions of episodes and ratings are blank fields. If you refresh later, they are often populated. Wanted to see if there was an automated solution.

Based on the crickets over there, I am assuming the answer is that nothing exists. So I might try to develop something.

I think there are three steps to achieve this:

1) Query the database (mysql db?) finding episodes that meet the requirements (summary = '' or rating = '')
2) Using the episodes from above, go out to the scraping service of the users choice and re scrape that episode
3) Update the database with that new data.

Is that correct? Any places that are recommended to start at? What parts of kodi do I need to take a look at to achieve the above?

Thanks for any guidance.
Reply
#2
Something like that. Only the official way of interacting with the Kodi database is via Kodi JSON-RPC API.
Reply
#3
Great.

Where do I look to find the existing code that is used when new shows are added? I will steal this for parts 2 and 3 or just directly call the methods if possible.
Reply

Logout Mark Read Team Forum Stats Members Help
Refresh Show Information0