No posters or thumbnails using local media agent

Server Version#: 1.27.2.5929

Hello,

I have several libraries setup. The libraries that use web resources (movies and tv shows) all show the metadata and artwork correctly. All personal media libraries do not have posters or artwork for the 99% of the entries. Until about 6 months ago this was not the case. The local media had posters.

I’m running PMS on Windows Server 2019. It’s not using ReFS. Drives are NTFS.

File naming could be better, but I’ve tested with just a few files and the results are the same.

I’ve cleaned the bundles, refreshed metadata, created new libraries only using a few files, optimized libraries and I am not really sure what else to try. I just want some default posters. I do not want to spend hours creating folders and generating cover artwork.

I went through the logs.
In com.plexapp.agents.localmedia.log I found a few critical messages:

2022-07-07 14:29:15,009 (21d4) : INFO (core:349) - Starting framework core - Version: 2.6.3, Build: a806c59 (Mon Jun 27 08:38:09 UTC 2022)
2022-07-07 14:29:15,009 (21d4) : DEBUG (core:361) - Using the elevated policy
2022-07-07 14:29:15,009 (21d4) : DEBUG (core:450) - Starting runtime component.
2022-07-07 14:29:15,022 (21d4) : DEBUG (core:450) - Starting caching component.
2022-07-07 14:29:15,022 (21d4) : DEBUG (core:450) - Starting data component.
2022-07-07 14:29:15,022 (21d4) : DEBUG (core:450) - Starting networking component.
2022-07-07 14:29:15,022 (21d4) : DEBUG (networking:261) - Loaded HTTP cookies
2022-07-07 14:29:15,026 (21d4) : DEBUG (networking:428) - Setting the default network timeout to 20.0
2022-07-07 14:29:15,026 (21d4) : DEBUG (core:450) - Starting localization component.
2022-07-07 14:29:15,029 (21d4) : INFO (localization:409) - Setting the default locale to en-us
2022-07-07 14:29:15,029 (21d4) : DEBUG (core:450) - Starting messaging component.
2022-07-07 14:29:15,029 (21d4) : DEBUG (core:450) - Starting debugging component.
2022-07-07 14:29:15,029 (21d4) : DEBUG (core:450) - Starting services component.
2022-07-07 14:29:15,029 (21d4) : DEBUG (core:450) - Starting myplex component.
2022-07-07 14:29:15,029 (22e4) : DEBUG (networking:143) - Requesting ‘http://127.0.0.1:32400/system/messaging/clear_events/com.plexapp.agents.localmedia
2022-07-07 14:29:15,033 (21d4) : DEBUG (core:450) - Starting notifications component.
2022-07-07 14:29:15,253 (21d4) : DEBUG (accessor:68) - Creating a new model access point for provider com.plexapp.agents.localmedia in namespace ‘metadata’
2022-07-07 14:29:15,266 (21d4) : DEBUG (networking:143) - Requesting ‘http://127.0.0.1:32400/:/plugins/com.plexapp.system/resourceHashes
2022-07-07 14:29:15,278 (21d4) : ERROR (networking:196) - Error opening URL ‘http://127.0.0.1:32400/:/plugins/com.plexapp.system/resourceHashes
2022-07-07 14:29:15,282 (21d4) : CRITICAL (core:574) - Exception getting hosted resource hashes (most recent call last):
File “C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-a806c5905\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\runtime.py”, line 1293, in get_resource_hashes
json = self._core.networking.http_request(“http://127.0.0.1:32400/:/plugins/com.plexapp.system/resourceHashes”, timeout=10).content
File “C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-a806c5905\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\networking.py”, line 242, in content
return self.str()
File “C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-a806c5905\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\networking.py”, line 220, in str
self.load()
File “C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-a806c5905\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\networking.py”, line 158, in load
f = self._opener.open(req, timeout=self._timeout)
File “C:\Program Files (x86)\Plex\Plex Media Server\python27.zip\urllib2.py”, line 435, in open
response = meth(req, response)
File “C:\Program Files (x86)\Plex\Plex Media Server\python27.zip\urllib2.py”, line 548, in http_response
‘http’, request, response, code, msg, hdrs)
File “C:\Program Files (x86)\Plex\Plex Media Server\python27.zip\urllib2.py”, line 473, in error
return self._call_chain(*args)
File “C:\Program Files (x86)\Plex\Plex Media Server\python27.zip\urllib2.py”, line 407, in _call_chain
result = func(*args)
File “C:\Program Files (x86)\Plex\Plex Media Server\python27.zip\urllib2.py”, line 556, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 404: Not Found

Later on this message comes up:
2022-07-07 14:29:16,822 (21d4) : CRITICAL (sandbox:298) - Function named ‘Start’ couldn’t be found in the current environment

Similarly in com.plexapp.agents.none.log:
2022-07-07 14:01:27,809 (1e38) : CRITICAL (core:574) - Exception getting hosted resource hashes (most recent call last):
File “C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-a806c5905\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\runtime.py”, line 1293, in get_resource_hashes
json = self._core.networking.http_request(“http://127.0.0.1:32400/:/plugins/com.plexapp.system/resourceHashes”, timeout=10).content
File “C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-a806c5905\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\networking.py”, line 242, in content
return self.str()
File “C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-a806c5905\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\networking.py”, line 220, in str
self.load()
File “C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-a806c5905\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\networking.py”, line 158, in load
f = self._opener.open(req, timeout=self._timeout)
File “C:\Program Files (x86)\Plex\Plex Media Server\python27.zip\urllib2.py”, line 435, in open
response = meth(req, response)
File “C:\Program Files (x86)\Plex\Plex Media Server\python27.zip\urllib2.py”, line 548, in http_response
‘http’, request, response, code, msg, hdrs)
File “C:\Program Files (x86)\Plex\Plex Media Server\python27.zip\urllib2.py”, line 473, in error
return self._call_chain(*args)
File “C:\Program Files (x86)\Plex\Plex Media Server\python27.zip\urllib2.py”, line 407, in _call_chain
result = func(*args)
File “C:\Program Files (x86)\Plex\Plex Media Server\python27.zip\urllib2.py”, line 556, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 404: Not Found

2022-07-07 14:29:12,549 (6e8) : CRITICAL (core:574) - Exception deserializing Movie with guid ‘com.plexapp.agents.none://8ac9f844143dbcffbbf8e92ff1e61aabf5086811?lang=xn’ (C:\Users\Administrator\AppData\Local\Plex Media Server\Metadata\Movies\d\c4918b630fa3740f14b68f799f2e740996cf93b.bundle\Contents\com.plexapp.agents.none) (most recent call last):
File “C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-a806c5905\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\modelling\model.py”, line 202, in _read
try: self._deserialize(path)
File “C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-a806c5905\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\modelling\model.py”, line 248, in _deserialize
attr._deserialize(os.path.join(path, attr_el.tag), attr_el)
File “C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-a806c5905\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\modelling\attributes.py”, line 202, in _deserialize
self._value = datetime.datetime.strptime(content_str, “%Y-%m-%d”).date()
AttributeError: ‘module’ object has no attribute ‘_strptime’

2022-07-07 14:29:12,549 (11b4) : CRITICAL (core:574) - Exception deserializing Movie with guid ‘com.plexapp.agents.none://1175125deb7fbddaad0ece0818d0738824adba40?lang=xn’ (C:\Users\Administrator\AppData\Local\Plex Media Server\Metadata\Movies\2\78adcc6f5058e2844bd7a9affa88a60907f8ce3.bundle\Contents\com.plexapp.agents.none) (most recent call last):
File “C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-a806c5905\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\modelling\model.py”, line 202, in _read
try: self._deserialize(path)
File “C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-a806c5905\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\modelling\model.py”, line 248, in _deserialize
attr._deserialize(os.path.join(path, attr_el.tag), attr_el)
File “C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-a806c5905\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\modelling\attributes.py”, line 202, in _deserialize
self._value = datetime.datetime.strptime(content_str, “%Y-%m-%d”).date()
AttributeError: ‘module’ object has no attribute ‘_strptime’

That error is harmless. Are you using your own posters along side your video files? That’s what the LMA looks for. For personal media you actually want the “com.plexapp.agents.none.log” file.

PMS should be taking 3 screengrab from your video. Check the posters and see if you have 3. The default is to use the first image, which is taken from near the start of the video. If your videos are black in the beginning, you may get a black sceengrab. Here is an example I have. The file is short and starts with a black screen for a few seconds.

If you don’t see any images, you can “analyze” the file and it will try to generate them again. It is possible PMS could have failed to create the screen grab, but if it’s happening for your entire library something is wrong. This does work for me. I have an entire library of random video files and they all have images. Ok, a few don’t but that’s because the files are bad so it’s expected.

I am not using my own posters, just want Plex to generate some for me.

In my test library that I’m working with 1 has a poster. The other 11 have no poster options at all.

I went through “com.plexapp.agents.none.log” and found these messages:

CRITICAL (core:574) - Exception getting hosted resource hashes (most recent call last):

CRITICAL (core:574) - Exception deserializing Movie with guid

Neither of those messages are related to the poster generation. Please provide me the full log file so I can check.

I uploaded the complete log. The only file that has a poster is SR71 Tribute.

com.plexapp.agents.none.log (46.9 KB)

@anon18523487 I have a similar issue Analyze media creates video thumbnails but fails to set them where plex isnt generating/and or setting them.

@CenturionHome Oh sorry. The log I need is the scanner.log file. Do you still have that for the same time period? If not, I’ll need you to Plex Dance the file and get me the new scanner log from that.

No problem, see attached

Plex Media Scanner.1.log (328.4 KB)

Ok, the logs report that the scanner was unable to extract the image from the file. Can you PM me 1 file that isn’t too large so I can have this tested? Upload the file to a sharing site then PM me the link.

Hmm. Got the file and it worked fine for me.

I wonder if your codec is corrupted. There is a message in your log related to codecs. Stop PMS, find this folder and delete all of it’s contents, restart PMS, Plex Dance the file again.

C:\Users\Administrator\AppData\Local\Plex\ Media\ Server\Codecs

I tried this twice and still don’t have posters. Any other ideas?

Your logs were complaining about that so maybe check the permissions for that and it’s parent folders?

Went through the permissions and everything looks normal. System, Administrator, and Administrators (a set of users) have full access to all the files.

I am able to open, modify and delete any of the files in the PMS AppData folder as long as they aren’t in use.

Some of the codecs have redownloaded to the codecs folder

Can you open Window task manager, then go to the details tab. Scroll down to where the Plex programs are listed. Take a screen shot and PM that to me.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.