Popup when exiting with error

Discussion of my XMLTV Radio Times grabber
Post Reply
Lucas

Popup when exiting with error

Post by Lucas » Mon Aug 29, 2005 10:02 am

Alan,

when the grabber exits for any reason (like too many errors in getting data),

it pops up a prompt for the user to press OK. This interferes with running the grabber from a bat file in silent mode and as a result cannot take advantage of the error return code functionality to loop until a successful grab.

Is there a way to suppress that prompt?

Thanks in advance.

alanbirtles
Site Admin
Posts: 495
Joined: Mon Sep 06, 2004 4:44 pm

Post by alanbirtles » Mon Aug 29, 2005 10:05 am

select "supress error messages" in the logging tab of the configuration screen

Lucas

Post by Lucas » Mon Aug 29, 2005 12:22 pm

Alan thanks!

:oops: I thought I did select that......... nevertheless I "ll have a look at it again.

alanbirtles
Site Admin
Posts: 495
Joined: Mon Sep 06, 2004 4:44 pm

Post by alanbirtles » Mon Aug 29, 2005 12:23 pm

or you could just use the console version which never produces error messages

Lucas

Post by Lucas » Tue Aug 30, 2005 12:12 pm

I checked and I had the setting checked to suppress the messages, and the popup still appears :?:

Console! :shock: What's that? How do I enable it?

alanbirtles
Site Admin
Posts: 495
Joined: Mon Sep 06, 2004 4:44 pm

Post by alanbirtles » Tue Aug 30, 2005 12:18 pm

run xmltvrtc.exe instead of xmltvrt.exe, note that it doesn't currently return a status code (i will be making a relaese soon with the recent changes)

Lucas

Post by Lucas » Tue Aug 30, 2005 12:20 pm

Never mind! :oops: I just saw the details.

It is not clear though: No parameters are required, yet /cDirectory is a param?

so to run it from a batch file I need a line xmltvrtc.exe /cDir

In dir I put a copy of the config files (.ini, altcats.txt etc)?

alanbirtles
Site Admin
Posts: 495
Joined: Mon Sep 06, 2004 4:44 pm

Post by alanbirtles » Tue Aug 30, 2005 12:38 pm

you dont have to specify a config directory, if you dont it will just use the current directory (same as the gui version), the config directory is to allow people to have multiple configurations with a single install of the program

Lucas

Post by Lucas » Tue Aug 30, 2005 2:33 pm

Great! Thanks Alan.

Post Reply