Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
web interface shows thumbnails instead of posters
#1
hi all

in the web interface for movies, i would like the thumbnail shown to be the poster by default (instead of the thumb). this is because the 'thumb.jpg's that have been scraped are 1000 × 562 sort of size and get cropped or squished depending on the web interface. is there an option to make this happen?

programatically - the web interface posts a request for the "thumbnail" property to the JSON-RPC API and receives art in the following order of precedence "thumb" > "poster" > "fanart". i would rather kodi chose the poster over the thumb.

thanks
ben
Reply
#2
workaround: delete all thumbs

find . -type f -name 'thumb.jpg' -delete
MyVideos93.db - delete from art WHERE url LIKE '%thumb.jpg' and type IN ('thumb')
Reply
#3
Thanks for the solution. My web interface was showing thumbnails that didn't exist anymore, for like 700+ movies. 
It took me a bit to figure out how to do the sql query and thought it might be of use for someone. In my case Kodi is installed on a raspberry pi 4 with libreelec.

Login to ssh

Navigate to the kodi database folder:
Code:
cd ~/.kodi/userdata/Database

To login to the database do:
Code:
sqlite3 MyVideos116.db

Do the query:
Code:
delete from art WHERE url LIKE '%thumb.jpg' and type IN ('thumb')

Logout of sqlite3:
Code:
.quit

That worked perfectly, now all old links to the thumbs are removed and the web interface shows the correct poster images! Big Grin
Reply

Logout Mark Read Team Forum Stats Members Help
web interface shows thumbnails instead of posters0