Custom Agent not populating summary

I have a custom agent that is based on the NFO one. It’s custom in that it reads an XML file generated after NPVR completes a recording.



In my log I can see the summary data being parsed, and there’s a line here saying serialising to Plex Media Server\Metadata\TV Shows\8\7f9963aaab0852195344f106322d93043e219f6.bundle\Contents\com.plexapp.agents.npvrxml\Info.xml



When I open the relevant episode under that struction (called 412.xml) I see:


<?xml version='1.0' encoding='utf-8'?><br />
<Episode><br />
  <index/><br />
  <content_rating_age/><br />
  <art/><br />
  <thumb/><br />
  <guest_stars/><br />
  <rating/><br />
  <season/><br />
  <content_rating/><br />
  <show/><br />
  <summary>Brooke helps Bree out of a tight spot, Wendy plans to treat Murray, and Lana and Nicole’s meddling leads to trouble.</summary><br />
  <producers/><br />
  <duration>1800000</duration><br />
  <directors/><br />
  <writers/><br />
  <title>412</title><br />
  <thumbs/><br />
  <key/><br />
  <absolute_index/><br />
  <source_title/><br />
  <tags/><br />
  <originally_available_at>2012-04-12</originally_available_at><br />
</Episode><br />




The summary, plainly visible.

But upon using the web gui (http:\\server\manage) and navigating to the episode I see no summary (incidentally no thumbnail is generated as well)
Browsing the metadata directly also shows no summary:

<Video ratingKey="10721" key="/library/metadata/10721" type="episode" title="412" summary="" index="412" year="2012" thumb="/library/metadata/10721/thumb?t=1334269616" duration="7498000" originallyAvailableAt="2012-04-12" addedAt="1334267913" updatedAt="1334269616"><Media id="8020" duration="7498000" bitrate="3612" width="1920" height="1080" aspectRatio="1.78" audioChannels="6" audioCodec="ac3" videoCodec="h264" videoResolution="1080" container="mpegts" optimizedForStreaming="0"><Part key="/library/parts/8731/file.ts" duration="7498000" file="\\pvr\recordings\shortland street\Shortland Street_20120412_19001930.ts" size="3467701736"/></Media></Video>



Any ideas why? or any ideas where I would look to see what is happening to the data after the metadata agent has finished with it? It seems to be getting there (based on the particular episode xml).

EDIT: Attached is the metadata agent, and the XML file being read by the agent.

The filename of the video is Shortland Street_20120412_19001930.ts which actually also requires a customer Scanner - which you should find enclosed in the Bundle.

Anybody able to help?



The other issue I’m finding is each time a new show is added, it creates a new show.

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