[Resolved] Local Media Assets not detected for TV Shows (Ubuntu 20.04)

Server Version#: 1.21.1.3876
Player Version#: 4.47.3

We’ll use WandaVision as an example. I have a show poster and a season poster. While it appears that the Show poster is detected as expected, the season is not. Here’s my setup (Ubuntu 20.04 server):

The season’s poster is currently the show’s selected poster. There should be a season poster available to select but its not there.

Here’s what I’ve tried:

  • Move Season-01-Poster.jpg to Season 01/poster.jpg and Season 01/Season01.jpg
    – Naming it poster.jpg under the season folder also makes it available as the show poster
  • Move Season-01-Poster.jpg to Season01-poster.jpg
  • Manually refresh metadata
  • Remove the show, empty trash, and readd show

I’ve read through several forum posts already but either those posts end up unanswered or are very specific bugs for platforms I’m not using. Any recommendations?

Name it season01.jpg https://support.plex.tv/articles/200220717-local-media-assets-tv-shows/#toc-1

  1. Removed show from filesystem
  2. Emptied library trash
  3. Renamed file on different machine
  4. Readded show to server
  5. Updated permissions on image files to 775
  6. Refresh metadata in plex web app

Show poster shows up, season poster does not.

I’ve also tried the below with no avail…

WandaVision (2021)/

WandaVision (2021)/Season 01/

OK. Maybe some bug on linux. Is it is possible to see your local media assets log so I can make a report.

We’ve confirmed , not a bug on Linux – HOWEVER –

  1. They are placed how BigWheel states.
  2. Scan the files (to add the files)
  3. Analyze the series (to wake up the LMA so it associates them)
  4. Now Edit the show and select the poster.

OK, I did the following:

  1. Removed files from file system
  2. Emptied trash in library
  3. Reuploaded files with season poster as [Show]/season01.jpg
  4. Scan Library for files
  5. Analyze series
  6. Edit season. Poster still not available, but the show is

I’ll edit this post with my local media assets log once I find it

To confirm what I have so you have something to go by:

[chuck@lizum Star Trek The Next Generation.558]$ ls -la
total 52
drwsrwsrwx  9 chuck chuck  4096 Jan 19 21:12 ./
drwxr-xr-x 45 chuck chuck  4096 Jan 18 22:49 ../
drwsrwsrwx  2 chuck chuck  4096 Jan 19 20:50 Season 01/
-rw-rw-r--  1 chuck chuck 11575 Jan 19 20:45 season01.png
drwsrwsrwx  2 chuck chuck  4096 Aug  3  2019 Season 02/
drwsrwsrwx  2 chuck chuck  4096 Aug  3  2019 Season 03/
drwsrwsrwx  3 chuck chuck  4096 Aug  5 02:22 Season 04/
drwsrwsrwx  2 chuck chuck  4096 Aug  3  2019 Season 05/
drwsrwsrwx  2 chuck chuck  4096 Aug  3  2019 Season 06/
drwsrwsrwx  2 chuck chuck  4096 Aug  3  2019 Season 07/
[chuck@lizum Star Trek The Next Generation.559]$

Thanks for the reference. This is what I currently have.

Currently tracking down the media assets log, but here’s the full Plex Media Server log just in case it has something you could use:
Plex Media Server.log (1.3 MB)

Files look good.

  1. Scan files
  2. when done - Analyze the series
  3. Go into the series -> Season
  4. Edit the season
  5. Poster tab
  6. Scroll down and see your poster
  7. Select it

its in the logs/PMS plugin logs directory com.plexapp.agents.localmedia.log

1 Like

Followed the instructions exactly and still nothing showing up in posters. Here’s the local media assets log immediately after doing that

com.plexapp.agents.localmedia.log (68.0 KB)

Here’s also a log dump from the server after performing those steps

Plex Media Server Logs_2021-01-19_20-18-26.zip (2.9 MB)

Based on this line in the local media assets log

2021-01-19 20:17:43,911 (7f80a97fa700) : INFO (localmedia:225) - Found 1 valid things for pattern season-?0?1[-a-z]?(-poster)? (ext: ['jpg', 'png', 'jpeg', 'tbn'])

It appears that the poster is found, but for some reason isn’t showing up when I edit the season

Yeah this is odd. sees it but doing nothing with it. Wondering if maybe you should delete everything in the local media http cache. it is in Plex Media Server/plug-in support/caches/com.plexapp.agents.localmedia/HTTP.system

Jan 19, 2021 20:17:41.287 [0x7fc2ed2f3bc0] VERBOSE -     * Taking directory 'WandaVision (2021)' (3041) out of the map (370 left)
Jan 19, 2021 20:17:41.287 [0x7fc2ed2f3bc0] VERBOSE - Adding file for scanner: "/media/plexuser/Ansimos3/Media/TV Shows/WandaVision (2021)/.DS_Store"
Jan 19, 2021 20:17:41.287 [0x7fc2ed2f3bc0] VERBOSE - Adding file for scanner: "/media/plexuser/Ansimos3/Media/TV Shows/WandaVision (2021)/show.jpg"
Jan 19, 2021 20:17:41.287 [0x7fc2ed2f3bc0] VERBOSE - Adding file for scanner: "/media/plexuser/Ansimos3/Media/TV Shows/WandaVision (2021)/season01.jpg"
Jan 19, 2021 20:17:41.287 [0x7fc2ed2f3bc0] VERBOSE - Adding subdirectory for scanner: "/media/plexuser/Ansimos3/Media/TV Shows/WandaVision (2021)/Season 01"
Jan 19, 2021 20:17:41.290 [0x7fc2ed2f3bc0] DEBUG - Skipping over directory 'WandaVision (2021)', as nothing has changed; removing 0 media items from map.```

To confirm, you want me to remove everything inside Plex Media Server/plug-in support/caches/com.plexapp.agents.localmedia/HTTP.system ?

And I assume rerun the scan library + analyze steps?

yes. may want to clean bundles as well. ( in server menu)

Screen Shot 2021-01-19 at 6.41.30 PM

I deleted everything in the above cache, cleaned bundles via the Troubleshooting menu (I don’t have Clean Bundles in the Manage Server context menu in your screenshot). I then rescanned the library and analyzed the show. Still no poster in the season

Plex Media Server Logs_2021-01-19_20-48-08.zip (3.2 MB)
com.plexapp.agents.localmedia.log (84.3 KB)

Note that the cache folder is still empty after performing the above. I’ll try removing the files and readding again to see if anything has changed

No luck after removing files, readding, scan, analyze. The cache folder is now filling again though (I managed to fat finger the delete and change the owner. After fixing that, the cache is filling again)

com.plexapp.agents.localmedia.log (132.7 KB)
Plex Media Server Logs_2021-01-19_21-02-50.zip (3.0 MB)

Seeing the same thing BigWheel pointed out above

Jan 19, 2021 21:00:11.555 [0x7f540e6e1bc0] DEBUG - Scanner: Processing directory /media/plexuser/Ansimos3/Media/TV Shows/WandaVision (2021) (parent: yes)
Jan 19, 2021 21:00:11.555 [0x7f540e6e1bc0] VERBOSE -     * Noting that 'WandaVision (2021)' was updated at 2021-01-19 20:55:10
Jan 19, 2021 21:00:11.555 [0x7f540e6e1bc0] VERBOSE -     * Taking directory 'WandaVision (2021)' (3041) out of the map (370 left)
Jan 19, 2021 21:00:11.555 [0x7f540e6e1bc0] VERBOSE - Adding file for scanner: "/media/plexuser/Ansimos3/Media/TV Shows/WandaVision (2021)/.DS_Store"
Jan 19, 2021 21:00:11.555 [0x7f540e6e1bc0] VERBOSE - Adding file for scanner: "/media/plexuser/Ansimos3/Media/TV Shows/WandaVision (2021)/show.jpg"
Jan 19, 2021 21:00:11.555 [0x7f540e6e1bc0] VERBOSE - Adding file for scanner: "/media/plexuser/Ansimos3/Media/TV Shows/WandaVision (2021)/season01.jpg"
Jan 19, 2021 21:00:11.555 [0x7f540e6e1bc0] VERBOSE - Adding subdirectory for scanner: "/media/plexuser/Ansimos3/Media/TV Shows/WandaVision (2021)/Season 01"
Jan 19, 2021 21:00:11.557 [0x7f540e6e1bc0] DEBUG - Skipping over directory 'WandaVision (2021)', as nothing has changed; removing 0 media items from map.