[solved] - XMLTV tvguide.xml 'already importing' usual fixes not working

Discussion in 'Electronic Program Guide' started by David Scott, September 4, 2017.

Tags:
  1. David Scott

    David Scott Portal Member

    Joined:
    April 20, 2012
    Messages:
    8
    Likes Received:
    0
    Gender:
    Male
    Ratings:
    +0 / 0
    Home Country:
    New Zealand New Zealand
    Hey, spent a few hours scratching head and trawling the forums here, and none of the suggestions so far have helped.
    I've already checked the database for errors using the sql command listed in another post - no errors,
    tried clearing out all rows from the program table
    re-checked that my mappings are configured correctly

    but I get these message in my logs - and TV server config xmltv import just shows 'already importing'

    Any suggestions, I'm trying to avoid a clean reinstall - about yearly I've had to do that for one reason or another, it's annoying

    [2017-09-04 15:53:08,935] [Log ] [SetupTv ] [ERROR] - plugin:xmltv import failed
    [2017-09-04 15:53:08,947] [Log ] [SetupTv ] [ERROR] - Exception :confused:ystem.FormatException: Input string was not in a correct format.
    at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
    at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
    at System.Int32.Parse(String s)
    at TvEngine.XMLTVImport.Import(String fileName, Boolean deleteBeforeImport, Boolean showProgress)
    at TvEngine.XmlTvImporter.ThreadFunctionImportTVGuide(Object aparam)


    and my tvguide.xml looks like this (abridged)

    Code (XML):
    1. <?xml version="1.0" encoding="utf-8"?>
    2. <tv generator-info-name="DomainObjects/4.3.5838.20264">
    3.   <channel id="1502">
    4.     <display-name>Al Jazeera</display-name>
    5.   </channel>
    6.   <channel id="1501">
    7.     <display-name>Apna Television</display-name>
    8.   </channel>
    9.   <channel id="2002">
    10.     <display-name>BaseFM</display-name>
    11.   </channel>
    12.   <channel id="1307">
    13.     <display-name>Bravo</display-name>
    14.   </channel>
    15.   <channel id="1308">
    16.     <display-name>Bravo PLUS 1</display-name>
    17.   </channel>
    18.   <channel id="1412">
    19.     <display-name>Channel North</display-name>
    20.   </channel>
    21.   <channel id="1403">
    22.     <display-name>ChineseTV</display-name>
    23.   </channel>
    24.   <channel id="1407">
    25.     <display-name>ChoiceTV</display-name>
    26.   </channel>
    27.   <channel id="1414">
    28.     <display-name>Firstlight</display-name>
    29.   </channel>
    30.   <channel id="1508">
    31.     <display-name>HGTV</display-name>
    32.   </channel>
    33.   <channel id="1506">
    34.     <display-name>Hope Channel</display-name>
    35.   </channel>
    36.   <channel id="1411">
    37.     <display-name>Info-Rotorua</display-name>
    38.   </channel>
    39.   <channel id="1600">
    40.     <display-name>Maori Television</display-name>
    41.   </channel>
    42.   <channel id="1509">
    43.     <display-name>NCTV-Chinese</display-name>
    44.   </channel>
    45.   <channel id="1421">
    46.     <display-name>PandaTV</display-name>
    47.   </channel>
    48.   <channel id="1401">
    49.     <display-name>Parliament</display-name>
    50.   </channel>
    51.   <channel id="1404">
    52.     <display-name>PRIME</display-name>
    53.   </channel>
    54.   <channel id="2001">
    55.     <display-name>Radio NZ Concert</display-name>
    56.   </channel>
    57.   <channel id="1507">
    58.     <display-name>Radio NZ National</display-name>
    59.   </channel>
    60.   <channel id="6002">
    61.     <display-name>Shine TV</display-name>
    62.   </channel>
    63.   <channel id="1417">
    64.     <display-name>SouthernTV</display-name>
    65.   </channel>
    66.   <channel id="1601">
    67.     <display-name>Te Reo</display-name>
    68.   </channel>
    69.   <channel id="6001">
    70.     <display-name>Television Hawke's Bay</display-name>
    71.   </channel>
    72.   <channel id="1305">
    73.     <display-name>The Edge TV</display-name>
    74.   </channel>
    75.   <channel id="1300">
    76.     <display-name>Three</display-name>
    77.   </channel>
    78.   <channel id="1302">
    79.     <display-name>ThreePlus1</display-name>
    80.   </channel>
    81.   <channel id="1505">
    82.     <display-name>TV29</display-name>
    83.   </channel>
    84.   <channel id="1405">
    85.     <display-name>TV33</display-name>
    86.   </channel>
    87.   <channel id="1200">
    88.     <display-name>TVNZ 1</display-name>
    89.   </channel>
    90.   <channel id="1206">
    91.     <display-name>TVNZ 1 +1</display-name>
    92.   </channel>
    93.   <channel id="1201">
    94.     <display-name>TVNZ 2</display-name>
    95.   </channel>
    96.   <channel id="1207">
    97.     <display-name>TVNZ 2 +1</display-name>
    98.   </channel>
    99.   <channel id="1205">
    100.     <display-name>TVNZ DUKE</display-name>
    101.   </channel>
    102.   <channel id="1504">
    103.     <display-name>TVSN Shopping</display-name>
    104.   </channel>
    105.   <channel id="1423">
    106.     <display-name>WairarapaTV</display-name>
    107.   </channel>
    108.   <programme start="20170904000000 +1200" stop="20170904010000 +1200" channel="1502">
    109.     <title>Al Jazeera World</title>
    110.     <desc>The story of the Rwandan Genocide in 1994 when 800,000 people were killed by Hutu extremists, the major role played by the media and the road to reconciliation.</desc>
    111.   </programme>
    112.   <programme start="20170904010000 +1200" stop="20170904020000 +1200" channel="1502">
    113.     <title>Newshour</title>
    114.     <desc>In-depth global news is presented.</desc>
    115.   </programme>
    116.   <programme start="20170904020000 +1200" stop="20170904023000 +1200" channel="1502">
    117.     <title>News Live</title>
    118.     <desc>Get the latest news every evening about what is happening around the globe.</desc>
    119.   </programme>
    120.   <programme start="20170904023000 +1200" stop="20170904030000 +1200" channel="1502">
    121.     <title>Listening Post</title>
    122.     <desc>This week, we analyse how Indian media cover the so-called 'godmen' in the country. And we look at Mugabe and the Zimbabwean media.</desc>
    123.   </programme>



     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. mm1352000
    • Team MediaPortal

    mm1352000 Development Group

    Joined:
    September 1, 2008
    Messages:
    21,526
    Likes Received:
    4,734
    Ratings:
    +8,200 / 17
    Home Country:
    New Zealand New Zealand
    Hi David

    I'm fairly sure the issue is somewhere within the XMLTV file. There's definitely no need to clear out the database or reinstall.

    Please zip and attach the full XMLTV file so we can check it out properly.
     
  4. David Scott

    David Scott Portal Member

    Joined:
    April 20, 2012
    Messages:
    8
    Likes Received:
    0
    Gender:
    Male
    Ratings:
    +0 / 0
    Home Country:
    New Zealand New Zealand
    Thanks, any advice would be great.
     

    Attached Files:

    • tvguide.xml
      File size:
      871.9 KB
      Uploaded:
      September 4, 2017
      Views:
      253
  5. mm1352000
    • Team MediaPortal

    mm1352000 Development Group

    Joined:
    September 1, 2008
    Messages:
    21,526
    Likes Received:
    4,734
    Ratings:
    +8,200 / 17
    Home Country:
    New Zealand New Zealand
    Mmmm, seems to be importing okay for me, though I haven't imported every single channel.

    Please double check something else:
    1. Open TV Server Config.
    2. Navigate to the XMLTV plugin (plugins -> XmlTv).
    3. On the general tab, check that there are values in the "hours" and "minutes" boxes. If they're blank, that's the problem. As the wiki/manual explains: normally you should leave them as 0 (default) and untick "apply time compensation...".
     
  6. David Scott

    David Scott Portal Member

    Joined:
    April 20, 2012
    Messages:
    8
    Likes Received:
    0
    Gender:
    Male
    Ratings:
    +0 / 0
    Home Country:
    New Zealand New Zealand
    you nailed it, it was that hours and minutes setting... the option was deselected but only seconds was set to 0. The latest import seems to have worked fine. Muchas gracias!
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!