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

I'm not sure why Lambda is not exporting #23

Open Dabu-dot opened 3 years ago

Dabu-dot commented 3 years ago

Hey, First of, thanks for this tool. Even if Plex dropped down plugins support, Lambda is still really useful for a lot of people today including me.

My main issue is that Lambda is not exporting anymore. It is activated and worked before as it exported a library with success as a previous test. I went to the agent settings of Lambda to add some additional files that I forgot to export but it doesn't seems to export anymore. (Neither the library that worked or a new one that I never tested before).

After investigating my logs, I saw a Critical Error popping at line 1117 without fully understanding it.

You can find my log joined here, thanks to anyone willing to help me.

com.plexapp.agents.lambda (1).log

Dabu-dot commented 3 years ago

Alright, I managed to fix it by doing a fresh install of Webtools and reinstalling the package through the method UAS. I still have a problem though: no matter the source (Local or Plex), the metadatas downloaded are not corresponding to the ones used in Plex.

Here's a new log com.plexapp.agents.lambda (2).log

ZeroQI commented 3 years ago

I couldn't see an error in the first log but on my phone so tricky ...

You have to give me the series name and which metadata does not match and the corresponding metadata in the log file attached for me to have a chance at solving it

Dabu-dot commented 3 years ago

Understood, I'll try to give the maximum informations that I have.

For example, these are the metadata assets that I want to extract (TV Show is American Gods): Screenshot_11

Here are the assets pulled of from Plex: poster Season01 Season02

I'm not sure from where it is pulled of, but it seems like it's the default poster given by the agent of Plex but not the custom one that I used.

Here's the most recent log and line mentionning the TV Show. ("American Gods" is not mentionned in any logs. By looking at my logs, I'm pretty sure the entry was deleted due to a high numbers of TV Shows and was replaced by the TV Shows following it. I'll do a second part with a more recent scanned Content that would also be present in the logs).


TV Show - Westworld. Media Assets expected: Screenshot_12

Media Assets exported: poster (1) Season01 (1) Season02 (1) Season03

Here is the log containing the entry of WestWorld: com.plexapp.agents.lambda.log

You can find the first request made for WestWorld at line 637, including the ignored metadatas and the ones that are scraped.

Dabu-dot commented 3 years ago

And here are my settings for Lambda btw: Screenshot_16 Screenshot_14 Screenshot_15

Lamba is activated on TVDB as my library for TV Shows is set on the agent TVDB.

ZeroQI commented 3 years ago

If you delete (or move) the series and season poster and refreshes metadata for that series, does it exports the wrong posters or nothing?

Logs show 'posters' variable when searching for the witcher and Vikings only

Line 637 2020-10-19 04:52:42,767 (7f7615cf8700) : INFO (__init__:70) - # [2721-2740 of 2765] http://127.0.0.1:32400/library/sections/11/all?type=4&X-Plex-Container-Start=2720&X-Plex-Container-Size=20

Looks like the logs are concurrent westorld/the witcher You need to update one series metadata and the code will show one series at a time otherwise two sessions will run concurently for library metadata updates