I've faced with the serious problem while using a repeated timers.
While my vu+ uno is in standby mode, the recording works fine, but if the receiver is in "power on" state and selected channel is different from the required one, then recording occurs once only and all subsequent recording events fails.
After editing timer or restarting enigma the above-described situation repeats: the first recording is successful, but all subsequent ones are fails.
After looking in the code, I've found that the reason is in the 'first_try_prepare' variable.
This variable affects on possibility of the RecordTimerEntry.activate() to switch to the channel, required for recording. Initially 'first_try_prepare' set to True. So, if current channel isn't the required one, then RecordTimerEntry.activate() switches to the required channel. But this method also sets the 'first_try_prepare' variable to False. So on subsequent recording events RecordTimerEntry.activate() can't switch to the required channel.
To fix this problem we have to revert the 'first_try_prepare' variable to True after recording event.
I've decided to do this in the RecordTimer.doActivate (see attached patch), but may be to do this in the TimerEntry.processRepeated() or TimerEntry.timeChanged() is a better idea.
Could anybody commit this patch?
Problem with a repeated timers
Started by alex_z, 04 Oct 2013 08:09
2 replies to this topic
#1
Posted 4 October 2013 - 08:09
Re: Problem with a repeated timers #2
Re: Problem with a repeated timers #3
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users