Some Posters not showing up and disappears

@drzoidberg33 as an FYI…

I ran into a variation of this problem today. I was doing some filebot rename to add some square bracket optional text to my filenames and for some movies the folders and filenames themselves changes. One example…
Airplane (1980) {tmdb-813}\Airplane (1980).mp4
became
Airplane! (1980) {tmdb-813}\Airplane! (1980).mp4

Upon a metadata scan and refresh I then got this for any movies which changed the top level movie folder …

I also have Airplane! (1980) {tmdb-813}\fanart.jpg and Airplane! (1980) {tmdb-813}\fanart.jpg within my movie folders. Enable verbose log I can see these in the Plex Media Scanner Matcher.log found fine but they are never loaded.

Jun 10, 2023 19:22:07.788 [140710762699584] DEBUG - Scanner: found local media asset "/data/MediaServer/14b-Movies/Movies from -> 0-D/Airplane! (1980) {tmdb-813}/fanart.jpg"
Jun 10, 2023 19:22:07.788 [140710762699584] DEBUG - Scanner: found local media asset "/data/MediaServer/14b-Movies/Movies from -> 0-D/Airplane! (1980) {tmdb-813}/poster.jpg"

Attempted doing server restart, clean-out of server cache, clear bundles etc… and no matter how many force refresh I do both the poster and background remained blank.

Found two workarounds:

  1. edit the movie in question using the plex ui and select the poster and background tabs and then cancel to close the dialog. Then force refresh the metadata. The local assets then load.
  2. rename fanart.jpg and poster.jpg to some dummy filenames afanart.jpg and aposter.jpg. Force refresh the movie and the default plex ones will load. Then rename the local assets back to fanart.jpg and poster.jpg and again force refresh. The local assets then load.

It appears from these tests that when plex remaps a movie after a rename that the local assets get messed up.