You are here

xmltv_time_correct requires user interaction on "channel not found" error

2 posts / 0 new
Last post
doubleg
Offline
Joined: 6 years
Last seen: 2 years
xmltv_time_correct requires user interaction on "channel not found" error

Hi Guys,

I use the xmltv_time_correct to correct the channel timings and just noticed an issue. 
If a programme for a channel is missing (for some reason it was not generated in epg.xml), the xmltv_time_correct just stops and waits for user input displaying the following message:

Channel <chnanel_name> not found in xmltv file
channel <chnanel_name> can not be corrected
check channel name!
press any key to continue

The program execution halts and it doesn't continue to the next channel unless you press "any key". This need for an user interation on error prevents me from automating the process of time correction.
And I really don't see a reason for user interaction. If a channel program is not found, an error should be logged and the program should continue with the next channel. 

Is there a way to overcome this issue ?

Best regards

 

 

 

doubleg
Offline
Joined: 6 years
Last seen: 2 years

I don't agree. I have 100 channels with programmes and 1 channel with none (program generation can fail for many reasons).

Just because of that 1 single channel the whole time correction procedure halts as the xmltv_time_correct program requires an user interaction to continue. So it can't run unattended by a scheduled script execution.

As I said, the expected behavior would be to correct the timings for all present programmеs and issue a warning for missing ones.

But not stop the execution! 

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