Popup when exiting with error

Discussion of my XMLTV Radio Times grabber
Post Reply
Lucas

Popup when exiting with error

Post by Lucas »

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 »

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

Post by Lucas »

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 »

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

Post by Lucas »

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 »

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 »

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 »

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 »

Great! Thanks Alan.
Post Reply