Posts: 208
Joined: Jun 2017
Reputation:
5
Anyone have handy the SELECT statement for missing posters for movies? I'm looking for the MyVideos119.db SQL statement.
Posts: 14,208
Joined: Nov 2009
Reputation:
710
Klojum
Lost connection
Posts: 14,208
2022-09-18, 16:41
(This post was last modified: 2022-09-18, 16:43 by Klojum.)
You mention MySQL in the thread title, but the fanart cache is also handled via the local SQLite Textures13.db file.
So what exactly are trying to find, as in "missing how?"
(Thread also moved away from the Video support forum section).
Posts: 208
Joined: Jun 2017
Reputation:
5
2022-09-18, 20:20
(This post was last modified: 2022-09-18, 20:23 by Longtime Collector.)
I'm looking for the equivalent of the below for movie posters (and fanart) ... i used the below example to backfill missing artist thumbs and fanart for my music collection. Once I get a list of posters missing for my movie collection I will upload them to the appropriate scraping site (i have an extensive collection of posters I collected when Kodi used to be Meedio and there was no scraping). I figured textures13 was somehow involved so I couldn't clone my music sql.
SELECT artist.idArtist, strArtist
FROM artist
WHERE EXISTS (SELECT 1 FROM album_artist
WHERE album_artist.idArtist = artist.idArtist)
AND
NOT EXISTS (SELECT 1 FROM art
WHERE art.media_id = artist.idArtist
AND art.media_type = "artist"
AND art.type = "fanart")