mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
live tv updates
This commit is contained in:
parent
60bcd69fd3
commit
f030db9841
8 changed files with 62 additions and 45 deletions
|
@ -33,6 +33,10 @@
|
|||
$('#txtRequiredPrePaddingSeconds', page).val(item.RequiredPrePaddingSeconds);
|
||||
$('#txtRequiredPostPaddingSeconds', page).val(item.RequiredPostPaddingSeconds);
|
||||
|
||||
$('#chkNewOnly', page).checked(item.RecordNewOnly).checkboxradio('refresh');
|
||||
$('#chkAllChannels', page).checked(item.RecordAnyChannel).checkboxradio('refresh');
|
||||
$('#chkAnyTime', page).checked(item.RecordAnyTime).checkboxradio('refresh');
|
||||
|
||||
var channelHtml = '';
|
||||
|
||||
if (item.RecurrenceType == 'NewProgramEventsAllChannels' || item.RecurrenceType == 'AllProgramEventsAllChannels') {
|
||||
|
@ -44,8 +48,6 @@
|
|||
|
||||
$('.channel', page).html('Channel: ' + channelHtml).trigger('create');
|
||||
|
||||
$('#selectSeriesType', page).val(item.RecurrenceType).selectmenu('refresh').trigger('change');
|
||||
|
||||
selectDays(page, item.Days);
|
||||
|
||||
|
||||
|
@ -99,7 +101,10 @@
|
|||
item.RequestedPostPaddingSeconds = $('#txtRequestedPostPaddingSeconds', form).val();
|
||||
item.RequiredPrePaddingSeconds = $('#txtRequiredPrePaddingSeconds', form).val();
|
||||
item.RequiredPostPaddingSeconds = $('#txtRequiredPostPaddingSeconds', form).val();
|
||||
item.RecurrenceType = $('#selectSeriesType', form).val();
|
||||
|
||||
item.RecordNewOnly = $('#chkNewOnly', form).checked();
|
||||
item.RecordAnyChannel = $('#chkAllChannels', form).checked();
|
||||
item.RecordAnyTime = $('#chkAnyTime', form).checked();
|
||||
|
||||
item.Days = getDays(form);
|
||||
|
||||
|
@ -136,16 +141,6 @@
|
|||
|
||||
});
|
||||
|
||||
$('#selectSeriesType', page).on('change', function () {
|
||||
|
||||
if (this.value == 'Manual') {
|
||||
$('#fldDays', page).show();
|
||||
} else {
|
||||
$('#fldDays', page).hide();
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
}).on('pagebeforeshow', "#liveTvSeriesTimerPage", function () {
|
||||
|
||||
var page = this;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue