e2openplugin-OpenWebif
e2openplugin-OpenWebif copied to clipboard
Add Timer: After change start timer: If end timer < start time, set equal
While adding a new timer:
After opening the dialog the start and end time is set to the current date.
In all cases you add a start time in the future.
current behaviour: an error states, that the end time is lower than the end time.
The user has to set the new time almost all times to the same DATE as the start time and adjust the time
Wished behaviour:
In that case (end < start)
it would help a lot if the end time is automatically set to the start time.
It helps because the date fits and the user just has to adjust the time (not date)
Solution: ...seems to work:
function initTimerEditBegin() {
...
...
onClose: function(dateText, inst) {
if ($('#timerend').val() != '' &&
$(this).datetimepicker('getDate') > $('#timerend').datetimepicker('getDate')) {
<!-- new line
$('#timerend').datetimepicker('setDate', dateText);
end new line -->
$('#error').text(tstr_start_after_end);
$('#errorbox').show();
}
I absolutely agree, it's bugging me every time I create a new timer ;-). I would even suggest to set the end time at start time + 1 hour or something similar (or even make it customizable).
Why don't you create a timer from epg? Is there any issue?
Why don't you create a timer from epg? Is there any issue?
Most times i'm using tv-browser, but there are cases where I see an announcement for a movie in i.e. 15 days. Neither in tv-browser nor epg you can see that movie now, but I'm sure I'll forget about the movie in 12 days. So I better add the timer immediately. for that task I'm using the Add-Timer-function.
My use case: I usually schedule radio recordings all at the same time and far in advance (some radio stations offer their program in internet for the next 2 months). Moreover, I mostly don't record the complete broadcasts, but only parts of it.
Just tried with epg: The search doesn't even work for radio channels. In the modern ui there is a switch tv/radio, but even if in radio mode, the results are only from tv.
should be fixed