tvguide.xml:Invalid xml file:Input string was not in a correct format. (1 Viewer)

vlukinius

Portal Member
February 8, 2008
29
1
Since the heereford service stopped working for some channels I had to get a new tvguide.xml importer.
So I turned to xmltv.

I use 0.5.52.0 of xmltv.
mediaportal-svn-08-09-2008--09-21-Rev19876

Downloading the tvguide.xml file works fine using tv_grab_se_swedb. I get what for me looks like a correct file.

I point to the directory where the fire is located from the xmltv plugin in tvserver.
It say it imports 88 channels and 2380 programs. But at the same time import status reports tvguide.xml:Invalid xml file:Input string was not in a correct format.

From error.log
2008-08-16 17:04:37.656250 [XmlTvImporter]: XML tv import error loading C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\xmltv\tvguide.xml err: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.CorrectEpisodeNum(String episodenum)
at TvEngine.XMLTVImport.Import(String fileName, Boolean showProgress)

I have read all the guides for dummies and tried to understand how this works but I failed and now I do feel stupid :oops:


Code:
[b]TV-Server Version[/b]: mediaportal-svn-08-09-2008--09-21-Rev19876
[b]MediaPortal Version[/b]: mediaportal-svn-08-09-2008--09-21-Rev19876
[b]MediaPortal Skin[/b]: Default
[b]Windows Version[/b]: Windows XP SP 2
[b]CPU Type[/b]: AMD Athlon 64 X2 Dual Core 3800+
[b]HDD[/b]: Western Digital WDC WD800LB-00DNA0
[b]Memory[/b]: 2 GB
[b]Motherboard[/b]: Winfast NF-CK804
[b]Video Card[/b]: NVIDIA GeForce 7800 GT
[b]Video Card Driver[/b]: 169.21 (6.14.11.6921)
[b]Sound Card[/b]: Realtek AC'97 Audio
[b]Sound Card AC3[/b]: Realtek AC'97 Audio
[b]Sound Card Driver[/b]: 5.10.0.6280
[b]1. TV Card[/b]: FireDTV BDA DVB-C
[b]1. TV Card Type[/b]: DVB-C / Firewire
[b]1. TV Card Driver[/b]: 4.8.0.0
[b]MPEG2 Video Codec[/b]: CyberLink SAC Video Decoder (PDVD7 HomeNetwork)
[b]MPEG2 Audio Codec[/b]: ffdshow Audio Decoder
[b]h.264 Video Codec[/b]: CyberLink H.264/AVC Decoder (PDVD7.x)
[b]Satelite/CableTV Provider[/b]: ComHem Cable, Sweden
[b]HTPC Case[/b]: Silverstone
[b]Cooling[/b]: Air
[b]Power Supply[/b]: -
[b]Remote[/b]: MCE 1039
[b]TV[/b]: Samsung LE40A557 (40", Full HD 1080)
[b]TV - HTPC Connection[/b]: DVI-HDMI



-------------------------------------------------------------------------------
Digital Everywhere Support Report: (1. 0. 8. 0)
-------------------------------------------------------------------------------
Generated on (Y/M/d): 2008.06.26

FireDTV / FloppyDTV devices:
-------------------------------------------------------------------------------
devices found: 1

Status for device 1
    Model : FloppyDTV C/CI
    GUID : 0x0012872602001189
    HW Ver.: 01.26.02
    FW Ver.: 2.4.0 Build 51440
    Driver : 4.8.0

    Frontend Status:
    Frequency.: 378000 kHz, Sig.Str.: 100%, BER: 0
    Locked   : YES

    CAM Module: Conax 4.00e

Windows System Information:
-------------------------------------------------------------------------------
OS Path: C:\WINDOWS

OS Version: 
  Microsoft Windows XP, Service Pack 2 (Build: 2600)

OHCI Controller:
  Manufacturer: Texas Instruments
  Description: Texas Instruments OHCI Compliant IEEE 1394 Host Controller

Windows Hotfixes:
-------------------------------------------------------------------------------
Windows XP Hotfix - KB896626 - installed
Windows XP Hotfix - KB885222 - installed

FireDTV Tools:
-------------------------------------------------------------------------------
No running FireDTV tools found
 

vlukinius

Portal Member
February 8, 2008
29
1
Got it working with webepg. But dont get att channels I want.

Going back to try xmltv.
All channels and programs are in the xml file. Channels imported successfully.
But no programs. No explanation in log.

2008-08-22 01:23:24.406250 [SetupTv]: plugin:xmltv importing C:\Media\Guide\XMLTV\tvguide.xml
2008-08-22 01:23:24.406250 [SetupTv]: xmltv import C:\Media\Guide\XMLTV\tvguide.xml
2008-08-22 01:23:24.406250 [SetupTv]: xmltvimport: Reading TV programs
2008-08-22 01:23:24.421875 [SetupTv]: xmltvimport: Sorting TV programs
2008-08-22 01:23:24.421875 [SetupTv]: Xmltv: imported 2 channels, 0 programs status:tvguide.xml:No programs found;
2008-08-22 01:23:24.421875 [SetupTv]: plugin:xmltv import done

Please advice! XMLTV seams to work as it should but something it wrong with the format or something?
 

pnyberg

Portal Pro
August 21, 2006
405
36
Stockholm
Home Country
Sweden Sweden
Hi, you need to map the channels to the imported in the "mappings" tab if I remember correctly. Then import again.


I have it working since 2 years.

good luck.
 

Users who are viewing this thread

Top Bottom