tvguide.xml already importing - but it isn't (1 Viewer)

griffindodd

Portal Pro
March 28, 2009
72
2
For some reason my tvguide.xml is stuck on the phrase 'tvguide.xml already importing' and I cannot get it to import my EPG. I've tried restarting the machine, restarting the TV server and disabling/enabling the plugin but it still says the same thing. I am using mc2xml to grab my data and my xmltv.dtd file is in the right folder.

Anyone know how to fix this?

Logs attached, I see some kind of string error in the processing

2010-12-11 16:46:55.446400 [XmlTvImporter(16)]: plugin:xmltv import failed
2010-12-11 16:46:55.449400 [XmlTvImporter(16)]: 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 TvEngine.XMLTVImport.Import(String fileName, Boolean deleteBeforeImport, Boolean showProgress)
at TvEngine.XmlTvImporter.ThreadFunctionImportTVGuide(Object aparam)


MediaPortal Version: 1.1
MediaPortal Skin: Bluewide
Windows Version: Windows 7 Ultimate 32Bit
CPU Type: Intel Core 2 @ 3.43ghz
HDD: Mixed x 5 = 5TB
Memory: 4gb DDR2
Motherboard: Gigabyte E7AUM-DS2H
Video Card: Onboard Nvidia 9400
Video Card Driver: 8.17.12.6099
Sound Card: Onboard NVidia
Sound Card AC3: HDMi
Sound Card Driver: 1.1.9.0
1. TV Card: HVR-1255
1. TV Card Type: ATSC/QAM Hybrid
1. TV Card Driver: 1.45.28070.0
2. TV Card:
2. TV Card Type:
2. TV Card Driver:
3. TV Card:
3. TV Card Type:
3. TV Card Driver:
4. TV Card:
4. TV Card Type:
4. TV Card Driver:
MPEG2 Video Codec: ffdshow
MPEG2 Audio Codec: ffdshow
h.264 Video Codec: Core AVC
Satelite/CableTV Provider: None
HTPC Case: Silverstone
Cooling: Air (4x case fans)
Power Supply: 650w
Remote: Gamepad+Xpadder
TV: Vizio 42" LCD, Optoma HD 1080p Projector
TV - HTPC Connection: HDMi + Optical
 

arion_p

Retired Team Member
  • Premium Supporter
  • February 7, 2007
    3,373
    1,626
    Athens
    Home Country
    Greece Greece
    I would bet on some episode number not being in the correct format but we need a sample of the offending tvguide.xml.
    Still it should be fixed so that an invalid episode number does not abort the entire import.
     

    griffindodd

    Portal Pro
    March 28, 2009
    72
    2
    Ok I can upload that in a little while although it is 7mb unzipped, hopefully it will compress to be small enough to attach.
     

    arion_p

    Retired Team Member
  • Premium Supporter
  • February 7, 2007
    3,373
    1,626
    Athens
    Home Country
    Greece Greece
    I think the problem is as I expected with episode numbers:
    Code:
        <programme start="20101210183000 -0800" stop="20101210190000 -0800" channel="I6.28457166.microsoft.com">
            <title lang="en">The Simpsons</title>
            <sub-title lang="en">Love, Springfieldian Style</sub-title>
            <desc lang="en">To celebrate Valentine's Day, Homer takes Marge to the tunnel of love at a carnival, but when Bart pulls a prank they become hopelessly stranded; Homer tries to cheer Marge up by telling her a love story.</desc>
            <credits>
                <actor>Dan Castellaneta</actor>
                <actor>Julie Kavner</actor>
                <actor>Nancy Cartwright</actor>
                <actor>Yeardley Smith</actor>
                <actor>Hank Azaria</actor>
                <actor>Harry Shearer</actor>
                <guest>Pamela Hayden</guest>
                <guest>Tress MacNeille</guest>
                <guest>Russi Taylor</guest>
            </credits>
            <date>20080217</date>
            <category lang="en">Comedy</category>
            <category lang="en">Episodic</category>
            <category lang="en">Series</category>
            <episode-num system="onscreen">[COLOR=Red][B]KABF05[/B][/COLOR]</episode-num>
            <episode-num system="dd_progid">EP00018693.0439</episode-num>
            <audio>
                <stereo>stereo</stereo>
            </audio>
            <previously-shown start="20080217000000" />
            <subtitles type="teletext" />
        </programme>

    As you can see the highlighted episode number is not a number.
     

    griffindodd

    Portal Pro
    March 28, 2009
    72
    2
    Thanks for the feedback. I'm not fully convinced that is the problem though. In other threads I have read the importer has always skipped over invalid field entries so I'm not sure why this is locking up the full import.
     

    tatch76

    Portal Member
    January 23, 2009
    25
    0
    Home Country
    Hi, were you able to get this resolved as I'm having the same issue. I'm using the xml file on Power Rangers Jungle Fury. Was using guidedigger flawlessly for past 12 months, but shifted t0 this last week. Was working fine until today, but now won't import any programs. just seems to be stuck.

    I have fixed this problem. Seems database got corrupted - fixed with advice from this post: https://forum.team-mediaportal.com/general-support-51/database-corrupted-possible-repair-71699/ which I have saved as a favorite as its the 4th time I've had to do this!
     

    ap90033

    MP Donator
  • Premium Supporter
  • March 24, 2011
    198
    10
    Home Country
    United States of America United States of America
    Does my xml file look correct to you? I see Episode Number but XMLTV isnt pulling it in. Also, I am a noob and do not see season where would it be or is it in the attached and I dont see it?
     

    arion_p

    Retired Team Member
  • Premium Supporter
  • February 7, 2007
    3,373
    1,626
    Athens
    Home Country
    Greece Greece
    Sorry for the late reply, I was rather busy at work and 1.2.0 Beta needed my attention too.

    The problem with the episode numbers in the xmltv file you posted is that none of the supplied episode numbering systems is supported by MP. MP only supports the xmltv_ns numbering system, because it is the only one that is fully defined, universal and interpretable. See xmltv.dtd for details.

    Your xmltv file includes episode numbers in "dd_progid" format, a proprietary format whose definition is not publicly available and not officially a part of the xmltv standard. It also includes episode numbers in "onscreen" format which is non-interpretable. "onscreen" format cannot possibly be supported by MP because it specifies that the episode number is described by a string of unspecified format that uniquely identifies the episode. It is not possible to find out the season # and episode # within the season from the onscreen format. All of the following are valid onscreen format values:

    • 2
    • 0102
    • #FFEE
    • EP2
    • S2E2

    Edit: for reference this is what you have in your xmltv file:
    Code:
    	<programme start="20110411210000 -0400" stop="20110411220000 -0400" channel="I2.1.172715273.microsoft.com">
    		<title lang="en">American Experience *</title>
    		<sub-title lang="en">The Great Famine</sub-title>
    		<desc lang="en">Nearly 300 workers volunteer for Herbert Hoover's relief campaign for Soviet Russia's famine victims in 1921.</desc>
    		<date>20110411</date>
    		<category lang="en">Other</category>
    		<category lang="en">Series</category>
    		<icon src="http://images.windowsmedia.com/tvcards/org/4378_19.jpg" />
    [B][COLOR="Red"]		<episode-num system="dd_progid">EP00004188.0285</episode-num>
    		<episode-num system="onscreen">285</episode-num>
    [/COLOR][/B]		<video>
    			<aspect>16:9</aspect>
    			<quality>HDTV</quality>
    		</video>
    		<audio>
    			<stereo>stereo</stereo>
    		</audio>
    		<new />
    		<subtitles type="teletext" />
    		<rating system="VCHIP">
    			<value>TV-14</value>
    		</rating>
    	</programme>
     

    ap90033

    MP Donator
  • Premium Supporter
  • March 24, 2011
    198
    10
    Home Country
    United States of America United States of America
    Well that stinks. Either I pay for schedules direct or use Media Center for free. Neither is a great option in my unemployed opinion. Thanks for your explanation and I do love MediaPortal, just wish there were some way to make it more US (and user) friendly on the TV Part of it.. :)
     

    Users who are viewing this thread

    Top Bottom