Force re-apply/reset collection posters
d3mystified
I have an issue that causes collection posters to not show in Plex after some time (they just 404 even though they exist on disk just fine). This happens only for collection posters set by Kometa and not other images. The only "fix" is to have Kometa set the posters to something else and then run it again with the correct posters -- effectively doing a reset.
It would be nice to have a flag or setting where this behavior can always be forced.
Yozora
Not at all dismissing your request here, but I don't think you should be using Kometa to patch a Plex issue in this way - something must be going on if your images uploaded by Kometa start ratndomly 404'ing. Have you ran the DBRepair tool to see if there's any corruption happening? Maybe there's something in the Plex logs about why those images are disappearing.
d3mystified
Yozora Yeah I did the db repair (though there was no corruption reported) per https://support.plex.tv/articles/repair-a-corrupted-database/.
I've also tried debugging this quite a bit. In the logs what I see when requesting the poster is:
Calculated media file path for path: <path to poster on disk>
That's then followed by a 404 error.
The path exists, permissions are alright, and the file is the correct poster. There's nothing more I've been able to deduce.
Chaz Larson
d3mystified: Is the URL that produces the 404 listed in the log?
d3mystified
Chaz Larson Yes.- it converts the URL to some hash, and then to a file on disk.
Chaz Larson
d3mystified: My point is that a missing file typically won't produce a 404 when accessed as a file path, only when it's being accessed via a web server. I saw something very similar to this when someone used URLs for images which were not accessible to Plex, so it seems like that may be a promising angle to pursue when trying to figure out why these things produce 404 rather than the expected OS-level file-not-found errors.
Kometa isn't doing anything differently to the UI when uploading these images or URLs, it's just saying "Hey, Plex, use this image or URL for the art on this thing." and once Plex accepts it Kometa's involvement ends. This is the same thing as if you went into the UI and entered a URL or dragged in an image.
Just curious what the URL in the log looks like.
d3mystified
Chaz Larson I think you misunderstand the ask here. The poster is set just fine, but Plex itself raises 404 for the thumb image after a few days/weeks. The ask here is to allow Kometa to force re-set the poster to the one in the config file (which is valid and accessible).