Kodi Community Forum

Full Version: Add files manually with Thumbnail URL in Mysql database
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

I want to add file in Kodi manually with mysql.
Everything work : Title, Summary, Url from the file on Internet.
But I can not add pictures for these files.

In Mysql>MyVideos>episode I insert the thumb tag with the url of the image in c06. 
It is the same code of another file that works but no image appears that I select the file.
<thumb>http://thetvdb.com/banners/episodes/269642/4705391.jpg</thumb>

Can you help me ?

Thank you
It's not just an SQL insertion. During the scraping of a video, fanart pics / thumbs are picked up and created into a thumbnail for the Kodi cache folder. The path to that thumbnail is calculated from the original path into a hash number, and given as a filename to the thumbnail in the cache folder. That routine is not performed separately after the fact.

A separate nfo file with all details which can be read when you re-scrape the tvshow would be better IMO.
Thank you for your answer

For all my local files I use Kodi's scrapping process which works well.

But I have some remote files in HTTP that can't be scanned by Kodi, no need to go into details.

For the database I focused on the episode table but there was another "art" table and it was this that needed to be filled in.

For an episode it looks something like this and it works now.
Image

More info : https://kodi.wiki/view/Databases/MyVideos#art
(2022-06-10, 20:45)zed200 Wrote: [ -> ]But I have some remote files in HTTP that can't be scanned by Kodi
https://github.com/xbmc/xbmc/issues/21348