Problem Metadata

Server Version#: 1.31.0.6654
Player Version#:window: 11

Good evening everyone.
I’ve been having a problem with my server for a few days now.
I created a section with Disney films for my son, which until a few days ago was fine with the films playing without problems, but now for a few days it has been giving me an error continuously, regardless of the film he can choose.
The strange thing is that if the movies in this folder remain without metadata inserted, they work perfectly, but if I update their metadata, inserting the poster and info with the Plex agent, it irreparably gives me an error.
What do you think?!

What error is it you get?
Do you get the same issue on different Plex apps or just the windows desktop app?

HI,
thanks for the quick reply.^^
The error is as follows: “An unexpected error occurred while loading the item to play.” and it occurs to me with all Plex apps, but only with the aforementioned folder and only if with the metadata inserted. If the movies are not associated, they play without problems. :frowning:

I guess your server logs might show some hints of what’s going wrong.

I’ll post the log from a few moments ago:

2023-02-11 03:09:27,234 (314c) : INFO (core:349) - Starting framework core - Version: 2.6.3, Build: 02189b0 (Mon Jan 30 20:17:43 UTC 2023)
2023-02-11 03:09:27,234 (314c) : DEBUG (core:361) - Using the elevated policy
2023-02-11 03:09:27,234 (314c) : DEBUG (core:450) - Starting runtime component.
2023-02-11 03:09:27,237 (314c) : DEBUG (core:450) - Starting caching component.
2023-02-11 03:09:27,237 (314c) : DEBUG (core:450) - Starting data component.
2023-02-11 03:09:27,237 (314c) : DEBUG (core:450) - Starting networking component.
2023-02-11 03:09:27,239 (314c) : DEBUG (networking:261) - Loaded HTTP cookies
2023-02-11 03:09:27,240 (314c) : DEBUG (networking:428) - Setting the default network timeout to 20.0
2023-02-11 03:09:27,240 (314c) : DEBUG (core:450) - Starting localization component.
2023-02-11 03:09:27,240 (314c) : INFO (localization:409) - Setting the default locale to en-us
2023-02-11 03:09:27,240 (314c) : DEBUG (core:450) - Starting messaging component.
2023-02-11 03:09:27,240 (314c) : DEBUG (core:450) - Starting debugging component.
2023-02-11 03:09:27,240 (314c) : DEBUG (core:450) - Starting services component.
2023-02-11 03:09:27,240 (314c) : DEBUG (core:450) - Starting myplex component.
2023-02-11 03:09:27,240 (6a4) : DEBUG (networking:143) - Requesting ‘http://127.0.0.1:32400/system/messaging/clear_events/com.plexapp.agents.fanarttv
2023-02-11 03:09:27,240 (314c) : DEBUG (core:450) - Starting notifications component.
2023-02-11 03:09:27,302 (314c) : DEBUG (accessor:68) - Creating a new model access point for provider com.plexapp.agents.fanarttv in namespace ‘metadata’
2023-02-11 03:09:27,305 (314c) : DEBUG (networking:143) - Requesting ‘http://127.0.0.1:32400/:/plugins/com.plexapp.system/resourceHashes
2023-02-11 03:09:27,403 (314c) : ERROR (networking:196) - Error opening URL ‘http://127.0.0.1:32400/:/plugins/com.plexapp.system/resourceHashes
2023-02-11 03:09:27,404 (314c) : CRITICAL (core:574) - Exception getting hosted resource hashes (most recent call last):
File “C:\Program Files\Plex\Plex Media Server\Resources\Plug-ins-02189b09f\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\Plex\Plex Media Server\Resources\Plug-ins-02189b09f\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\networking.py”, line 242, in content
return self.str()
File “C:\Program Files\Plex\Plex Media Server\Resources\Plug-ins-02189b09f\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\networking.py”, line 220, in str
self.load()
File “C:\Program Files\Plex\Plex Media Server\Resources\Plug-ins-02189b09f\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\Plex\Plex Media Server\python27.zip\urllib2.py”, line 435, in open
response = meth(req, response)
File “C:\Program Files\Plex\Plex Media Server\python27.zip\urllib2.py”, line 548, in http_response
‘http’, request, response, code, msg, hdrs)
File “C:\Program Files\Plex\Plex Media Server\python27.zip\urllib2.py”, line 473, in error
return self._call_chain(*args)
File “C:\Program Files\Plex\Plex Media Server\python27.zip\urllib2.py”, line 407, in _call_chain
result = func(*args)
File “C:\Program Files\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

That snippet won’t be helping all that much.
Can you download the entire logs bundle and attach it here (see the instructions from the linked support article in my post above)? Also… please include a short reference what movie you’re attempting to start that fails to stream.

Plex Media Server.log (6.9 MB)

Good morning.
I put the entire log this time. In the final part you can view the problem I was talking about. The film in question is Rebel - The Brave.

From the log (which are still not the entire server logs we asked for) I am seeing a little bit that might hint to what is going on.

Feb 12, 2023 12:22:28.385 [8504] DEBUG - [Req#27b0] Migrating metadata settings from plex://movie/5d7768a247dd6e001f6bca0e -> local://109191

Feb 12, 2023 12:22:28.385 [8504] DEBUG - [Req#27b0] -> Simply giving existing setting new GUID.

Feb 12, 2023 12:22:28.389 [8504] DEBUG - [Req#27b0] Updating metadata item (save) (Ribelle - The Brave) with ID 109191

Feb 12, 2023 12:22:28.401 [8504] DEBUG - [Req#27b0] Matching 'Ribelle - The Brave' (ID 109191) with agent tv.plex.agents.none

Plex isnt matching the file, and is actively unmatching them. I dont have the scanner logs, but I am going to guess its a file naming issue.

I would recommend using a format like Brave (2012) {imdb-tt1217209}

My canned response is to see https://support.plex.tv/articles/naming-and-organizing-your-tv-show-files/ and:
If you want to save yourself a lot of time I would recommend using Download - tinyMediaManager and use ${title} (${year}) {imdb-${imdb}} as the new name format.

Folder format:
${title} (${year})

(Please note I linked to the v3 which is free to use)

Plex Media Server Logs_2023-02-12_12-23-24.zip (3.3 MB)

Thanks for the reply.
The problem is not caused by names written incorrectly or differently from how Plex wants them, given that the server perfectly associates the file, putting the poster and info of the film, but does not reproduce it. Up until a few days ago it did, but now It does not work anymore.
Anyway I tried renaming the file, but it didn’t help…always associated correctly, but it gives me an error in playback.
Anyway, I put all the zip file of the log that I downloaded, I thought you only needed the one linked before, sorry :frowning:

You have a corrupt database that needs to be repaired
https://support.plex.tv/articles/202485658-restore-a-database-backed-up-via-scheduled-tasks/

https://support.plex.tv/articles/repair-a-corrupted-database/

ERROR - [Req#a8c] SQLITE3:0x7ff69d7a6040, 11, database corruption at line 88814 of [1b256d97b5]
ERROR - Got exception from request handler: sqlite3_statement_backend::loadRS: database disk image is malformed

1 Like

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