2013-07-31, 21:39
I'm sorry, I was not in front of the computer when I posted and I misstated some things. I know that MediaElch puts the durationinseconds in the stream details section of the <fileinfo> tag, but what I am looking for is for it to put a <runtime> (stored as minutes) tag outside the <fileinfo> alongside <title>, <rating> and others. Like this:
XBMC takes the value in the <duration> tag and inserts it into field C09 of the Episodes table of the database. It does not do that with the <durationinseconds> tag. The PsuedoTV addon then uses that info from the db to plot programs on it's Program Guide. I suppose it's possible that other things my use this same data, but I'm not aware of which ones.
Code:
<?xml version="1.0" encoding="utf-8"?>
<episodedetails>
<title>Give Me a Ring Sometime</title>
<runtime>600</runtime> <<<<<------------------------------------------------
<aired>1982-09-30</aired>[/quote]
<rating>8.400000</rating>
<season>1</season>
<episode>1</episode>
<plot>Cheers is a small bar in Boston, ....</plot>
<credits>|Glen Charles|Les Charles|</credits>
<playcount>6</playcount>
<director>|James Burrows|</director>
<actor>
<name>Michael McGuire</name>
<role />
<thumb />
</actor>
XBMC takes the value in the <duration> tag and inserts it into field C09 of the Episodes table of the database. It does not do that with the <durationinseconds> tag. The PsuedoTV addon then uses that info from the db to plot programs on it's Program Guide. I suppose it's possible that other things my use this same data, but I'm not aware of which ones.