You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 24, 2022. It is now read-only.
Not sure how best to describe the issue I'm having, but it appears Plex is not actually using the metadata agent? Or some part of it isn't working?
Here's a snip of a portion of the show where the metadata does work: Oct 01, 2021 22:00:32.763 [0x810622000] Debug — Brought media local (metadata://seasons/17/episodes/2/thumbs/com.plexapp.agents.avalonxml_3d3df5f0c14585e8a6a7d079be4036a67afd0ed3) in 7ms. Oct 01, 2021 22:00:32.777 [0x810622000] Debug — Item 221415 (Forking Pierced! _ John Deere Tractor) Scanning metadata graphic elements in XML file "seasons/17/episodes"/3.xml Oct 01, 2021 22:00:32.778 [0x810622000] Debug — Item 221415 (Forking Pierced! _ John Deere Tractor) Scanning metadata graphic elements in XML file "seasons/17/episodes"/3.xml Oct 01, 2021 22:00:32.786 [0x810622000] Debug — Brought media local (metadata://seasons/17/episodes/3/thumbs/com.plexapp.agents.avalonxml_6a043a84930ccfb94802e882ee80ea970078a3c2) in 6ms. Oct 01, 2021 22:00:32.801 [0x810622000] Debug — Item 221416 (Farm WeldingT _ Will it Chooch) Scanning metadata graphic elements in XML file "seasons/17/episodes"/4.xml Oct 01, 2021 22:00:32.802 [0x810622000] Debug — Item 221416 (Farm WeldingT _ Will it Chooch) Scanning metadata graphic elements in XML file "seasons/17/episodes"/4.xml
And here's a snip from Season 18 Episode 1 (and on) where it stops working: Oct 01, 2021 22:26:32.281 [0x807dc9100] Debug — * Season 18 (-1) Episode 1 (-1) (1900-01-01) Oct 01, 2021 22:26:32.281 [0x807dc9100] Debug — Looking up season and index for an episode, indexKey=S18E01 dateKey=1900-01-01. Oct 01, 2021 22:26:32.281 [0x807dc9100] Debug — * Found episode s18e01 Oct 01, 2021 22:26:32.281 [0x807dc9100] Debug — Updating metadata item (save) () with ID 221479 Oct 01, 2021 22:26:32.283 [0x807dc9100] Debug — Calculated media file path for path [upload://]: ["/usr/local/plexdata-plexpass/Plex Media Server/Metadata/TV Shows/9/df834fd167bf05f096d4f597982e0078cb0861b.bundle/Uploads"] Oct 01, 2021 22:26:32.283 [0x807dc9100] Debug — Calculated media file path for path [upload://]: ["/usr/local/plexdata-plexpass/Plex Media Server/Metadata/TV Shows/0/5c90cf06d18ecd1a8d10bdfd6ec58ae96a2778c.bundle/Uploads"] Oct 01, 2021 22:26:32.283 [0x807dc9100] Error — Couldn't copy file "/usr/local/plexdata-plexpass/Plex Media Server/Metadata/TV Shows/9/df834fd167bf05f096d4f597982e0078cb0861b.bundle/Uploads/banners/d7ced84b16fd2f2f2735e87a39e5043cddacac29" to "/usr/local/plexdata-plexpass/Plex Media Server/Metadata/TV Shows/0/5c90cf06d18ecd1a8d10bdfd6ec58ae96a2778c.bundle/Uploads/banners/d7ced84b16fd2f2f2735e87a39e5043cddacac29": File exists Oct 01, 2021 22:26:32.283 [0x807dc9100] Debug — Migrating metadata settings from local://221480 -> com.plexapp.agents.avalonxml://QXZFOjIwMTI=/18/1?lang=xn Oct 01, 2021 22:26:32.284 [0x807dc9100] Warning — Unable to load episode file ["/usr/local/plexdata-plexpass/Plex Media Server/Metadata/TV Shows/0/5c90cf06d18ecd1a8d10bdfd6ec58ae96a2778c.bundle/Contents/_combined/seasons/18/episodes/1.xml"] Oct 01, 2021 22:26:32.285 [0x807dc9100] Debug — Item 221480 (1900-01-01) Scanning metadata graphic elements in XML file "seasons/18/episodes"/1.xml Oct 01, 2021 22:26:32.285 [0x807dc9100] Error — Error parsing XML: Empty or non-existant file.. Oct 01, 2021 22:26:32.286 [0x807dc9100] Debug — Item 221480 (1900-01-01) Scanning metadata graphic elements in XML file "seasons/18/episodes"/1.xml Oct 01, 2021 22:26:32.286 [0x807dc9100] Error — Error parsing XML: Empty or non-existant file.. Oct 01, 2021 22:26:32.287 [0x807dc9100] Debug — Loading information from media bundle for part ID 768702 from "/usr/local/plexdata-plexpass/Plex Media Server/Media/localhost/a/0ae38d245b1ed38fc2970156a26026b228dc03e.bundle/Contents" Oct 01, 2021 22:26:32.287 [0x807dc9100] Debug — There was a change for metadata item 221480 (1900-01-01), saving. Oct 01, 2021 22:26:32.287 [0x807dc9100] Debug — Updating metadata item (save) (1900-01-01) with ID 221480 Oct 01, 2021 22:26:32.290 [0x80da47a00] Debug — Photo transcoder: Request for url [/library/metadata/221480/thumb/1633141592] (is local: 1 upscaled: 0) Oct 01, 2021 22:26:32.297 [0x80da47a00] Debug — Calculated media file path for path [media://a/0ae38d245b1ed38fc2970156a26026b228dc03e.bundle/Contents/Thumbnails/thumb1.jpg]: ["/usr/local/plexdata-plexpass/Plex Media Server/Media/localhost/a/0ae38d245b1ed38fc2970156a26026b228dc03e.bundle/Contents/Thumbnails/thumb1.jpg"] Oct 01, 2021 22:26:32.297 [0x80da47a00] Debug — Calling back into ourselves for photo to transcode, optimizing the process (status: -1) Oct 01, 2021 22:26:32.297 [0x80da47a00] Debug — Photo cache obtained 20299 bytes from /library/metadata/221480/thumb/1633141592 Oct 01, 2021 22:26:32.297 [0x80da47a00] Debug — Saving original media file to /usr/local/plexdata-plexpass/Plex Media Server/Cache/PhotoTranscoder/f9/f9421a490bcd1c0b0cc03b64d6665d39dd198760.jpg Oct 01, 2021 22:26:32.300 [0x807dc9100] Debug — * Hey, we learned an index key for an episode (S18E01), adding to map.
Perhaps I'm using the agent incorrectly? I am on the latest version of Plex but prior to today I was on version 1.19.x (which appears to be about a year old?)
If more info is needed to debug please let me know!
The text was updated successfully, but these errors were encountered:
That's where I'm not sure exactly how the Avalon script works. I have an XML file and a thumbnail per episode file in each Season folder where my media is stored.
I assume when Plex does a metadata scan and uses the Avalon agent it reads the XML file, then generates the 'internal' metadata and stores that in the database. Does that sound right?
Season 17 media directory:
AvE - s17e02.xml
Season 18 media directory:
AvE - s18e01.xml
And thank you so much for replying! Really appreciate you helping me out
I assume when Plex does a metadata scan and uses the Avalon agent it reads the XML file, then generates the 'internal' metadata and stores that in the database. Does that sound right
That's how its works.
When it stopped at an episode, usually there is something wrong with that episode XML.
You can take a look at wiki tab.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Not sure how best to describe the issue I'm having, but it appears Plex is not actually using the metadata agent? Or some part of it isn't working?
Here's a snip of a portion of the show where the metadata does work:
Oct 01, 2021 22:00:32.763 [0x810622000] Debug — Brought media local (metadata://seasons/17/episodes/2/thumbs/com.plexapp.agents.avalonxml_3d3df5f0c14585e8a6a7d079be4036a67afd0ed3) in 7ms. Oct 01, 2021 22:00:32.777 [0x810622000] Debug — Item 221415 (Forking Pierced! _ John Deere Tractor) Scanning metadata graphic elements in XML file "seasons/17/episodes"/3.xml Oct 01, 2021 22:00:32.778 [0x810622000] Debug — Item 221415 (Forking Pierced! _ John Deere Tractor) Scanning metadata graphic elements in XML file "seasons/17/episodes"/3.xml Oct 01, 2021 22:00:32.786 [0x810622000] Debug — Brought media local (metadata://seasons/17/episodes/3/thumbs/com.plexapp.agents.avalonxml_6a043a84930ccfb94802e882ee80ea970078a3c2) in 6ms. Oct 01, 2021 22:00:32.801 [0x810622000] Debug — Item 221416 (Farm WeldingT _ Will it Chooch) Scanning metadata graphic elements in XML file "seasons/17/episodes"/4.xml Oct 01, 2021 22:00:32.802 [0x810622000] Debug — Item 221416 (Farm WeldingT _ Will it Chooch) Scanning metadata graphic elements in XML file "seasons/17/episodes"/4.xml
And here's a snip from Season 18 Episode 1 (and on) where it stops working:
Oct 01, 2021 22:26:32.281 [0x807dc9100] Debug — * Season 18 (-1) Episode 1 (-1) (1900-01-01) Oct 01, 2021 22:26:32.281 [0x807dc9100] Debug — Looking up season and index for an episode, indexKey=S18E01 dateKey=1900-01-01. Oct 01, 2021 22:26:32.281 [0x807dc9100] Debug — * Found episode s18e01 Oct 01, 2021 22:26:32.281 [0x807dc9100] Debug — Updating metadata item (save) () with ID 221479 Oct 01, 2021 22:26:32.283 [0x807dc9100] Debug — Calculated media file path for path [upload://]: ["/usr/local/plexdata-plexpass/Plex Media Server/Metadata/TV Shows/9/df834fd167bf05f096d4f597982e0078cb0861b.bundle/Uploads"] Oct 01, 2021 22:26:32.283 [0x807dc9100] Debug — Calculated media file path for path [upload://]: ["/usr/local/plexdata-plexpass/Plex Media Server/Metadata/TV Shows/0/5c90cf06d18ecd1a8d10bdfd6ec58ae96a2778c.bundle/Uploads"] Oct 01, 2021 22:26:32.283 [0x807dc9100] Error — Couldn't copy file "/usr/local/plexdata-plexpass/Plex Media Server/Metadata/TV Shows/9/df834fd167bf05f096d4f597982e0078cb0861b.bundle/Uploads/banners/d7ced84b16fd2f2f2735e87a39e5043cddacac29" to "/usr/local/plexdata-plexpass/Plex Media Server/Metadata/TV Shows/0/5c90cf06d18ecd1a8d10bdfd6ec58ae96a2778c.bundle/Uploads/banners/d7ced84b16fd2f2f2735e87a39e5043cddacac29": File exists Oct 01, 2021 22:26:32.283 [0x807dc9100] Debug — Migrating metadata settings from local://221480 -> com.plexapp.agents.avalonxml://QXZFOjIwMTI=/18/1?lang=xn Oct 01, 2021 22:26:32.284 [0x807dc9100] Warning — Unable to load episode file ["/usr/local/plexdata-plexpass/Plex Media Server/Metadata/TV Shows/0/5c90cf06d18ecd1a8d10bdfd6ec58ae96a2778c.bundle/Contents/_combined/seasons/18/episodes/1.xml"] Oct 01, 2021 22:26:32.285 [0x807dc9100] Debug — Item 221480 (1900-01-01) Scanning metadata graphic elements in XML file "seasons/18/episodes"/1.xml Oct 01, 2021 22:26:32.285 [0x807dc9100] Error — Error parsing XML: Empty or non-existant file.. Oct 01, 2021 22:26:32.286 [0x807dc9100] Debug — Item 221480 (1900-01-01) Scanning metadata graphic elements in XML file "seasons/18/episodes"/1.xml Oct 01, 2021 22:26:32.286 [0x807dc9100] Error — Error parsing XML: Empty or non-existant file.. Oct 01, 2021 22:26:32.287 [0x807dc9100] Debug — Loading information from media bundle for part ID 768702 from "/usr/local/plexdata-plexpass/Plex Media Server/Media/localhost/a/0ae38d245b1ed38fc2970156a26026b228dc03e.bundle/Contents" Oct 01, 2021 22:26:32.287 [0x807dc9100] Debug — There was a change for metadata item 221480 (1900-01-01), saving. Oct 01, 2021 22:26:32.287 [0x807dc9100] Debug — Updating metadata item (save) (1900-01-01) with ID 221480 Oct 01, 2021 22:26:32.290 [0x80da47a00] Debug — Photo transcoder: Request for url [/library/metadata/221480/thumb/1633141592] (is local: 1 upscaled: 0) Oct 01, 2021 22:26:32.297 [0x80da47a00] Debug — Calculated media file path for path [media://a/0ae38d245b1ed38fc2970156a26026b228dc03e.bundle/Contents/Thumbnails/thumb1.jpg]: ["/usr/local/plexdata-plexpass/Plex Media Server/Media/localhost/a/0ae38d245b1ed38fc2970156a26026b228dc03e.bundle/Contents/Thumbnails/thumb1.jpg"] Oct 01, 2021 22:26:32.297 [0x80da47a00] Debug — Calling back into ourselves for photo to transcode, optimizing the process (status: -1) Oct 01, 2021 22:26:32.297 [0x80da47a00] Debug — Photo cache obtained 20299 bytes from /library/metadata/221480/thumb/1633141592 Oct 01, 2021 22:26:32.297 [0x80da47a00] Debug — Saving original media file to /usr/local/plexdata-plexpass/Plex Media Server/Cache/PhotoTranscoder/f9/f9421a490bcd1c0b0cc03b64d6665d39dd198760.jpg Oct 01, 2021 22:26:32.300 [0x807dc9100] Debug — * Hey, we learned an index key for an episode (S18E01), adding to map.
Perhaps I'm using the agent incorrectly? I am on the latest version of Plex but prior to today I was on version 1.19.x (which appears to be about a year old?)
If more info is needed to debug please let me know!
The text was updated successfully, but these errors were encountered: