xmltv 2 ? (source + binary now available) (4 Viewers)

GoldenEye

MP Donator
  • Premium Supporter
  • October 26, 2005
    300
    26
    Switzerland
    Home Country
    Switzerland Switzerland
    Laban

    After installing your plugin, everything worked fine, and I was able to import two xml files listed in an lst file. Today, this does not work anymore (after I re-created the tv database due to a upgrade).

    My lst file is stored in C:\Programme\Team MediaPortal\MediaPortal\XMLTV\tvguide.lst. It looks as follows:

    tvguide_f.xml
    tvguide_e.xml​

    The two xml files are stored in the same directory
    C:\Programme\Team MediaPortal\MediaPortal\XMLTV\tvguide_e.xml
    C:\Programme\Team MediaPortal\MediaPortal\XMLTV\tvguide_f.xml

    The plugin settings are ok. However, when I try to load the mappings the following error appears:

    Can't read file(s) from the tvguide.lst​

    and the following log entries are written (nothing else appears in the logs):

    (error.log)
    23.08.2007 01:43:50 1 plugin:xmltv StartImport - Exception C:\Programme\Team MediaPortal\MediaPortal\XMLTV\tvguide.lst​

    (tv.log)
    23.08.2007 01:43:50 1 Loading all channels from the database​

    Pressing the import button says:
    Total channels imported: 58
    Total programs imported: 0

    Thanks a lot for your work, which I highly appreciate.

    G.
     

    Laban

    Portal Pro
    July 1, 2007
    206
    18
    Luleå
    Home Country
    Sweden Sweden
    Did some minor changes and added some error logging. Try with this version and see what happens/shows up in the logs if it doesn't work.
     

    duracell

    New Member
    August 27, 2006
    3
    0
    53
    Hi!

    It doesn't work for me. I get an error message when I try to load the tvguide.xml.

    Can't open tvguide.xml for reading

    The error.log filke says

    2007-08-23 14:12:13 1 plugin:xmltv StartImport - Exception when reading [C:\Program\Team MediaPortal\xmltv-0.5.48-win32\tvguide.xml] : Metoden hittades inte: Void TvDatabase.Channel..ctor(System.String, Boolean, Boolean, Int32, System.DateTime, Boolean, System.DateTime, Int32, Boolean, System.String, Boolean).

    Any ideas?

    Regards
    Anders
     

    Laban

    Portal Pro
    July 1, 2007
    206
    18
    Luleå
    Home Country
    Sweden Sweden
    Hi!

    It doesn't work for me. I get an error message when I try to load the tvguide.xml.

    Can't open tvguide.xml for reading

    The error.log filke says

    2007-08-23 14:12:13 1 plugin:xmltv StartImport - Exception when reading [C:\Program\Team MediaPortal\xmltv-0.5.48-win32\tvguide.xml] : Metoden hittades inte: Void TvDatabase.Channel..ctor(System.String, Boolean, Boolean, Int32, System.DateTime, Boolean, System.DateTime, Int32, Boolean, System.String, Boolean).

    Any ideas?

    Regards
    Anders

    Ok, seems like there's been some changes in the latest SVN. I'll look into it..
     

    GoldenEye

    MP Donator
  • Premium Supporter
  • October 26, 2005
    300
    26
    Switzerland
    Home Country
    Switzerland Switzerland
    Thank you very much, Laban. I have installed the most current version (stored in you posting #75) and tested the import: The mappings work now, and the xml files are read by the importer. However, there are still no programs imported. The log says:

    24.08.2007 08:57:34 10 XMLTVImport: star-rating could not be used -
    <value>3/5</value>
    ,(
    <value>)​

    I'll attach my xmltv as well as the tv.log file.

    G.
     

    Laban

    Portal Pro
    July 1, 2007
    206
    18
    Luleå
    Home Country
    Sweden Sweden
    I've uploaded a new version (main post) that should fix the star-rating problem. Though afaics, that shouldn't have affected the import. But try and see what happens.
     

    Roo

    Portal Member
    January 7, 2007
    24
    1
    48
    Home Country
    United Kingdom United Kingdom
    Hi Laban.

    Forgot to say thank you for the extra feature that you added to sort the channels. :D

    All the best,
    Roo.
     

    robyf

    Retired Team Member
  • Premium Supporter
  • June 20, 2005
    1,076
    278
    53
    Bolzano
    Home Country
    Italy Italy
    Thank you Laban for this plugin it's THE PLUGIN that TVServer needed and works great!!

    Roby
     

    Users who are viewing this thread

    Top Bottom