ZeroQI / Lambda.bundle

Local Media Export, a reverse Plex 'Local Media Assets' agent to export metadata locally
GNU General Public License v3.0
134 stars 18 forks source link

Missing nfo files at only some Movies...but why? #34

Closed Marco4223 closed 2 years ago

Marco4223 commented 2 years ago

Hi, many thx for this addon. I now have all my movies taged and saved all infomations on the hardtdrive.

But for any reason some movies are missing these nfo files. (Covers are all generated). I have Plex running on a synology nas and for example the movie Titanic is not getting an nfo file. Files is named like this: \volume1\video\Movies\HighQuality\Titanic (1997)

I found this in the logs but I'm not sure if this is the problem: ` 2021-11-01 14:34:57,955 (7f2ad4d1bb38) : ERROR (networking:196) - Error opening URL 'http://127.0.0.1:32400/:/plugins/com.plexapp.agents.lambda/messaging/function/X0FnZ...'

2021-11-01 14:34:57,956 (7f2ad4d1bb38) : CRITICAL (runtime:298) - Exception in task thread (most recent call last): File "/volume1/@appstore/PlexMediaServer/Resources/Plug-ins-8dcc73a59/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/runtime.py", line 296, in _start obj._exec() File "/volume1/@appstore/PlexMediaServer/Resources/Plug-ins-8dcc73a59/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/runtime.py", line 243, in _exec self._result = self._f(*self._args, *self._kwargs) File "/volume1/@appstore/PlexMediaServer/Resources/Plug-ins-8dcc73a59/System.bundle/Contents/Code/agentservice.py", line 1294, in agent_update_metadata kwargs=kwargs File "/volume1/@appstore/PlexMediaServer/Resources/Plug-ins-8dcc73a59/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/messaging.py", line 86, in call_external_function packed_result = self._core.networking.http_request(url, cacheTime=0, timeout=None, immediate=True).content File "/volume1/@appstore/PlexMediaServer/Resources/Plug-ins-8dcc73a59/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 346, in http_request return HTTPRequest(self._core, url, data, h, url_cache, encoding, errors, timeout, immediate, sleep, opener, follow_redirects, method) File "/volume1/@appstore/PlexMediaServer/Resources/Plug-ins-8dcc73a59/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 118, in init self.load() File "/volume1/@appstore/PlexMediaServer/Resources/Plug-ins-8dcc73a59/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 158, in load f = self._opener.open(req, timeout=self._timeout) File "/volume1/@appstore/PlexMediaServer/Resources/Python/python27.zip/urllib2.py", line 435, in open response = meth(req, response) File "/volume1/@appstore/PlexMediaServer/Resources/Python/python27.zip/urllib2.py", line 548, in http_response 'http', request, response, code, msg, hdrs) File "/volume1/@appstore/PlexMediaServer/Resources/Python/python27.zip/urllib2.py", line 473, in error return self._call_chain(args) File "/volume1/@appstore/PlexMediaServer/Resources/Python/python27.zip/urllib2.py", line 407, in _call_chain result = func(*args) File "/volume1/@appstore/PlexMediaServer/Resources/Python/python27.zip/urllib2.py", line 556, in http_error_default raise HTTPError(req.get_full_url(), code, msg, hdrs, fp) HTTPError: HTTP Error 500: Internal Server Error`

Hope you can help me out. Many thx Marco

ZeroQI commented 2 years ago

It could explain, but hte error is not located in the agent code, is a Plex error Possibly corrupted database: https://support.plex.tv/articles/repair-a-corrupted-database/

Marco4223 commented 2 years ago

Looks like it works now. Many thx for your help :)