WebEPG: WebEPG Dies when channels have blank mapping (1 Viewer)

jadz

Portal Pro
August 30, 2004
150
0
Canada
TV-Server Version:
MediaPortal Version: 0.2.3 RC1 + SVN 15497
MediaPortal Skin: BlueTwo
Windows Version: XP MCE 2005
CPU Type: Intel 1.7 GHz
HDD:
Memory:
Motherboard:
Motherboard Chipset:
Motherboard Bios:
Video Card: ATI 9600XT
Video Card Driver:
Sound Card:
Sound Card AC3:
Sound Card Driver:
1. TV Card: Hauppauge PVR-250
1. TV Card Type: Analog
1. TV Card Driver:
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:
MPEG2 Audio Codec:
Satelite/CableTV Provider:
HTPC Case:
Cooling:
Power Supply:
Remote:
TV:
TV - HTPC Connection:



1) Run WebEPG-conf.exe
2) Click the Import button to import all channels from MediaPortal
3) Map one channel (as I can only fine one Channel that WebEPG is configured to download). This leaves all the other channels blank, with no mapping.
4) Click Save, and close WebEPG-conf.exe
5) Run WebEPG.exe
6) Review the contents of Log\webEPG.txt and XMLTV\TVguide-writing.xml and note the error: "[ERROR][1]: WebEPG: Value cannot be null. Parameter name: key".
7) Notice that TVguide-writing.xml does not get written to TVguide.xml

This fails:
Code:
<?xml version="1.0" encoding="utf-8"?>
<WebEPG xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Info maxGrabDays="2" />
  <ChannelMap>
    <Channel displayName="2" />
    <Channel displayName="3" />
    <Channel displayName="4" />
    <Channel displayName="5" />
    <Channel displayName="6" />
    <Channel displayName="7" />
    <Channel displayName="8" />
    <Channel displayName="9" />
    <Channel displayName="10" />
    <Channel displayName="11" />
    <Channel displayName="12" />
    <Channel displayName="13" />
    <Channel displayName="14" />
    <Channel displayName="15" />
    <Channel displayName="16" />
    <Channel displayName="17" />
    <Channel displayName="18" />
    <Channel displayName="19" />
    <Channel displayName="20" />
    <Channel displayName="21" />
    <Channel displayName="22" />
    <Channel displayName="23" />
    <Channel displayName="24" />
    <Channel displayName="25" />
    <Channel displayName="26" />
    <Channel displayName="27" />
    <Channel displayName="28" />
    <Channel displayName="29" />
    <Channel displayName="30" />
    <Channel displayName="31" />
    <Channel displayName="32" />
    <Channel displayName="33" />
    <Channel displayName="34" />
    <Channel displayName="35" />
    <Channel id="Eastern@fox.com" displayName="36" grabber="US\tv_yahoo_com.xml" />
    <Channel displayName="37" />
    <Channel displayName="38" />
    <Channel displayName="39" />
    <Channel displayName="40" />
    <Channel displayName="41" />
    <Channel displayName="42" />
    <Channel displayName="43" />
    <Channel displayName="44" />
    <Channel displayName="45" />
    <Channel displayName="46" />
    <Channel displayName="47" />
    <Channel displayName="48" />
    <Channel displayName="49" />
    <Channel displayName="50" />
    <Channel displayName="51" />
    <Channel displayName="52" />
    <Channel displayName="53" />
    <Channel displayName="54" />
    <Channel displayName="55" />
    <Channel displayName="56" />
    <Channel displayName="57" />
    <Channel displayName="58" />
    <Channel displayName="59" />
    <Channel displayName="60" />
    <Channel displayName="67" />
    <Channel displayName="68" />
    <Channel displayName="69" />
    <Channel displayName="70" />
    <Channel displayName="97" />
  </ChannelMap>
  <Authentication />
</WebEPG>

This works:
Code:
<?xml version="1.0" encoding="utf-8"?>
<WebEPG xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Info maxGrabDays="2" />
  <ChannelMap>
    <Channel id="Eastern@fox.com" displayName="36" grabber="US\tv_yahoo_com.xml" />
  </ChannelMap>
  <Authentication />
</WebEPG>


IMO the best solution is to have WebEPG.exe skip the blank mappings. A second (though much worse option) would be to have WebEPG-conf.exe automatically delete blank entries on save.
 

Users who are viewing this thread

Top Bottom