You are here

Problem with dummy.ini

6 posts / 0 new
Last post
RayW1986
Offline
Donator
Joined: 10 years
Last seen: 5 months
Problem with dummy.ini

Hey guys, I am having a problem with the dummy.ini file. Do I need to change anything inside the ini file? I'm a total newbie to this, so I'm sure I'm doing something wrong.
To test it properly I used the normal ini file and this code from a post elsewhere about it:

<channel update="f" site="dummy" site_id="xx" xmltv_id="TVN2 HD">TVN2 HD</channel>

This is what I got in the log:

channel TVN2 HD site -- DUMMY -- update mode full

unable to update channel TVN2 HD


System.NullReferenceException: Object reference not set to an instance of an object.

   at WebGrab.Utils.ConvertToTime(String strXmltvTime, Boolean NoOffset, Zone localzone)

   at WebGrab.Program.UpdateChannel(String strIndex, ChannelToUpdate Chan, XmlTarget xTarget)

   at WebGrab.Program.Main(String[] args)

 
It adds the channel to my XMLTV file but doesn't add the episode information. Any help would be great, thanks.

WGMaker
Offline
WGMaker's picture
WG++ Team memberDonator
Joined: 12 years
Last seen: 4 hours
Is the support helpful?
support us

Hi,

 

pls add your log and config file. It's difficult to figure out what's wrong without them!

 

Jan

RayW1986
Offline
Donator
Joined: 10 years
Last seen: 5 months

Sorry, didn't even think to post them! :) They are attactched, and this is also the contets of my dummy.ini file:

**------------------------------------------------------------------------------------------------

* @header_start

* WebGrab+Plus ini for grabbing EPG data from TvGuide websites

* @Site: your_site_id

* @MinSWversion: V0

*   none

* @Revision 0 - [22/04/2013] Jan van Straaten

*   none

* @Remarks:

*   A SiteIni that creates a dummy xmltv guide with one show every day

* @header_end

**------------------------------------------------------------------------------------------------

site {cultureinfo=en-GB|maxdays=14|charset=utf-8|skip=<skip>noskip</skip>|keepindexpage}

url_index {url|http://webgrabplus.com}

index_showsplit.scrub {single||||} * copies the html page

index_showsplit.modify {clear}

index_showsplit.modify {addstart|1\|2\|3\|4\|5\|6\|7\|8\|9\|10\|11\|12\|13\|14}

index_start.modify {addstart|00:00}

index_stop.modify {addstart|23:59}

index_title.modify {addstart|24-7 Programming}

index_description.modify {addstart|This channel is a 24-7 stream, with no dedicated EPG information.}

Thank you for any help you can give me.

WGMaker
Offline
WGMaker's picture
WG++ Team memberDonator
Joined: 12 years
Last seen: 4 hours
Is the support helpful?
support us

Hi,

 

the improved timezone handling of the latest beta requires a timezone value.

In dummy.ini change this line:

site {cultureinfo=en-GB|maxdays=14|charset=utf-8|skip=<skip>noskip</skip>|keepindexpage}

into

site {cultureinfo=en-GB|maxdays=14|timezone=UTC+00:00|charset=utf-8|skip=<skip>noskip</skip>|keepindexpage}

(change the utc offset to whatever you want)

Jan

RayW1986
Offline
Donator
Joined: 10 years
Last seen: 5 months

Thank you, that worked perfectly.

WGMaker
Offline
WGMaker's picture
WG++ Team memberDonator
Joined: 12 years
Last seen: 4 hours
Is the support helpful?
support us

There is an updated dummy.ini that has the timespan @ http://www.webgrabplus.com/sites/default/files/download/ini/info/SiteIni.Pack/Misc/dummy.ini
 
Jan

Log in or register to post comments

Brought to you by Jan van Straaten

Program Development - Jan van Straaten ------- Web design - Francis De Paemeleere
Supported by: servercare.nl