Add files manually with Thumbnail URL in Mysql database
#1
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
Reply
#2
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.
Reply
#3
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
Reply
#4
(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
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply

Logout Mark Read Team Forum Stats Members Help
Add files manually with Thumbnail URL in Mysql database0