xmltv import fails (1 Viewer)

barnonline

Portal Member
November 9, 2006
35
1
Home Country
Denmark Denmark
No entry in errorlog...

Well, I can conclude that I don't have the same problem as Ulf, as I don't have the starrating in my tvguide.xml

My problem is that the import, imports the channels, but not the programs, at it does NOT come with an entry in the error log. The error log is empty. In the tv log however the following entry is to be found:

2008-04-24 10:23:17.703125 [8]: Controller: epg start
2008-04-24 10:23:29.640625 [1]: ---- start setuptv V0.9.1.18808----
2008-04-24 10:23:29.640625 [1]: ---- check connection with database ----
2008-04-24 10:23:29.843750 [1]: ---- check if database needs to be updated/created ----
2008-04-24 10:23:29.843750 [1]: ---- upgrade database schema ----
2008-04-24 10:23:29.859375 [1]: ---- check if tvservice is running ----
2008-04-24 10:23:31.000000 [8]: Controller: epg stop
2008-04-24 10:23:33.687500 [8]: Controller: epg stop
2008-04-24 10:23:36.906250 [1]: plugin:xmltv importing C:\guide\tvguide.xml
2008-04-24 10:23:36.937500 [1]: xmltv import C:\guide\tvguide.xml
2008-04-24 10:23:37.093750 [1]: plugin:xmltv importing files in C:\guide\tvguide.lst
2008-04-24 10:23:37.093750 [1]: plugin:xmltv importing C:\guide\TvGuide.xml
2008-04-24 10:23:37.109375 [1]: xmltv import C:\guide\TvGuide.xml
2008-04-24 10:23:37.250000 [1]: Xmltv: imported 216 channels, 0 programs status:
2008-04-24 10:23:37.250000 [1]: plugin:xmltv import done

And that is all the feedback/logging I have been able to find regarding tvguide import.

Just to be sure that is was not my usual tvguide.xml that was somehow fucked up, I did an alternative grabbing using webEPG but alas with the same result.

For your forensic pleasure I'm attaching both xml files. The smaller one is the one generated by WebEPG

Another discrepancy I noticed was that in the tv server managenet console, when I look at the plugins, xmltv is said to be version 1.0.0, but when I look at xmltvimport.dll is is version 0.9.1.18808
 

ronilse

Retired Team Member
  • Premium Supporter
  • July 19, 2005
    4,422
    283
    Moss
    Home Country
    Norway Norway
    Hi,
    barnonline, have you mapped TVguide.xml channels to TV db in XMLTVPlugin -> Mappings(load -> assign -> save)?
    0 programs means it didn't find a place to map them(have not looked @ your guide yet since i have to setup another instance to be able to test it)

    Regards
    Roy
     

    barnonline

    Portal Member
    November 9, 2006
    35
    1
    Home Country
    Denmark Denmark
    Roy, you're right! That was the problem. As the import didn't worked, I just stopped there and didn't looked at the configuration otherwise.

    But should this not trigger an exception and write something in the errorlog? An import of 0 programs should be some kind of exception.


    Now I wonder why this was not a problem when I installed my previous version of MP... ?

    Anyway, thanks for the reply.
     

    ronilse

    Retired Team Member
  • Premium Supporter
  • July 19, 2005
    4,422
    283
    Moss
    Home Country
    Norway Norway
    Hi,
    ulf, the star-rating it's now fixed in revision 18922(i'll move this to bug section now as fixed issue since it was a bug in the end :) ), thanks to rtv ;)

    barnonline, well thats how it is now. What will change later i dunno yet but yes we should give the user a warning when xmltvplugin it's enabled & that it is not mapped & saved.

    Regards
    Roy
     

    ulf

    Portal Member
    October 13, 2007
    22
    2
    Home Country
    United States of America United States of America
    ronilse,

    I checked the code in the repository and looks good to me. Thanks to all.

    I also saw in the SVN change logs that Mantis #1225 "only one line in tv.log" has been fixed.

    I am looking forward to the next official patch.

    Thanks to all.
     

    Duke_ivo

    Portal Member
    June 24, 2008
    44
    2
    Home Country
    Hello,

    I might have similar problem but i don't have any rating status in XML.
    When i import manualy - TVserver CMLTV plugin says - OK.
    After a while i can;t see anything i TV neither in XMLTV plugin !

    TV server: 4 Jul 08 SVN.


    Part of LOG file:
    2008-07-14 22:39:59.718750 [XmlTvImporter]: plugin:xmltv importing C:\Program Files\Team MediaPortal\MediaPortal\xmltv\tvguide.xml
    2008-07-14 22:39:59.750000 [XmlTvImporter]: xmltv import C:\Program Files\Team MediaPortal\MediaPortal\xmltv\tvguide.xml
    2008-07-14 22:39:59.796875 [XmlTvImporter]: channel#0 xmlid:ltv1.lv name:LTV1 dbsid:202
    2008-07-14 22:39:59.796875 [XmlTvImporter]: channel#0 xmlid:ltv1.lv name:LTV1 dbsid:202
    2008-07-14 22:39:59.796875 [XmlTvImporter]: channel#0 xmlid:ltv1.lv name:LTV1 dbsid:202
    2008-07-14 22:39:59.796875 [XmlTvImporter]: channel#0 xmlid:ltv1.lv name:LTV1 dbsid:202
    2008-07-14 22:39:59.796875 [XmlTvImporter]: channel#0 xmlid:ltv1.lv name:LTV1 dbsid:202
    2008-07-14 22:39:59.796875 [XmlTvImporter]: channel#1 xmlid:ltv7.lv name:LTV7 dbsid:171
    2008-07-14 22:39:59.796875 [XmlTvImporter]: channel#1 xmlid:ltv7.lv name:LTV7 dbsid:171
    2008-07-14 22:39:59.796875 [XmlTvImporter]: channel#1 xmlid:ltv7.lv name:LTV7 dbsid:171
    2008-07-14 22:39:59.812500 [XmlTvImporter]: channel#1 xmlid:ltv7.lv name:LTV7 dbsid:171
    2008-07-14 22:39:59.812500 [XmlTvImporter]: channel#1 xmlid:ltv7.lv name:LTV7 dbsid:171
    2008-07-14 22:39:59.890625 [XmlTvImporter]: Xmltv: imported 27 channels, 0 programs status:tvguide.xml:Invalid XML file:An item with the same key has already been added.;
    2008-07-14 22:39:59.906250 [XmlTvImporter]: plugin:xmltv import done


    Example of xmltv.xml attached - thanks !

    - Ivo -
     

    Attachments

    • xmltv.xml
      30.6 KB

    Users who are viewing this thread

    Top Bottom