Bug Mismatched SeriesId and EpisodeId in EPG D using MediaPortal Addon
#1
Hello,
while playing around with WebGrab+Plus and the MediaPortal TV Server I found out that epg data is not correctly deliverd. To be exact EpisodeId and SeriesId are wrong.

The xmltv file imported by mediaportal:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<tv generator-info-name="WebGrab+Plus/w MDB &amp; REX Postprocess -- version 1.1.1/50 -- Jan van Straaten" generator-info-url="http://www.webgrabplus.com">
  <channel id="ProSieben">
    <display-name lang="de">ProSieben</display-name>
    <url>http://www.tvspielfilm.de</url>
  </channel>
  <programme start="20130722234000 +0200" stop="20130723001000 +0200" channel="ProSieben">
    <title lang="de">Wilfred</title>
    <sub-title lang="de">Opfer</sub-title>
    <desc lang="de">Staffel 1,  Folge 12
Opfer</desc>
    <category lang="de">Comedyserie</category>
    <episode-num system="xmltv_ns">1.2.3
</episode-num>
  </programme>
</tv>

Export of the related sql entry in the epg database of mediaportal:
Code:
<?xml version="1.0"?>

<resultset statement="SELECT * FROM mptvdb.program
LIMIT 0, 1000
"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

    <row>
        <field name="idProgram">29902</field>
        <field name="idChannel">826</field>
        <field name="startTime">2013-07-22 23:40:00</field>
        <field name="endTime">2013-07-23 00:10:00</field>
        <field name="title">Wilfred</field>
        <field name="description">Staffel 1,  Folge 12 Opfer</field>
        <field name="seriesNum">2</field>
        <field name="episodeNum">3</field>
        <field name="genre">Comedyserie</field>
        <field name="originalAirDate">1753-01-01 00:00:00</field>
        <field name="classification"></field>
        <field name="starRating">-1</field>
        <field name="parentalRating">-1</field>
        <field name="episodeName">Opfer</field>
        <field name="episodePart">4</field>
        <field name="state">0</field>
    </row>
</resultset>

Export of the related sql entry in the epg database of xbmc:
Code:
<DATAPACKET VERSION="2">
<DATA>
  <pk>
   <R idbroadcast="1" ibroadcastuid="29902" idepg="180" stitle="Wilfred" splotoutline="Wilfred" splot="Staffel 1,  Folge 12 Opfer" istarttime="1374529200" iendtime="1374531000" igenretype="256" igenresubtype="0" sgenre="Comedyserie" ifirstaired="0" iparentalrating="-1" istarrating="-1" bnotify="0" iseriesid="0" iepisodeid="2" iepisodepart="4" sepisodename="Opfer"/>
  </pk>
</DATA>
</DATAPACKET>

I imported several different xmltv files and found out that xbmc's "iepisodeid" always equals to mediaportal's "seriesNum". Xbmc's "iseriesid" always equals '0'. If everything would work correct, "iseriesid" should be '2' and "iepisodeid" should be '3'.
Hope you guys understand what I mean and can fix this. I'm on margros 12.2 build for fast channel switching, but this also happened with the latest 13.0 nightly and the latest stable release.
Reply

Logout Mark Read Team Forum Stats Members Help
Mismatched SeriesId and EpisodeId in EPG D using MediaPortal Addon0