mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
add ability to disable tuner
This commit is contained in:
parent
aa2e4f3f67
commit
b1f6f8486a
2 changed files with 8 additions and 1 deletions
|
@ -24,6 +24,11 @@
|
|||
<div>
|
||||
<paper-input class="txtDevicePath" label="${LabelTunerIpAddress}" required="required"></paper-input>
|
||||
</div>
|
||||
<div>
|
||||
<br />
|
||||
<paper-checkbox class="chkEnabled">${LabelEnableThisTuner}</paper-checkbox>
|
||||
<div class="fieldDescription paperCheckboxFieldDescription">${LabelEnableThisTunerHelp}</div>
|
||||
</div>
|
||||
<div>
|
||||
<br />
|
||||
<paper-checkbox class="chkFavorite">${LabelImportOnlyFavoriteChannels}</paper-checkbox>
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
|
||||
page.querySelector('.txtDevicePath').value = info.Url || '';
|
||||
page.querySelector('.chkFavorite').checked = info.ImportFavoritesOnly;
|
||||
page.querySelector('.chkEnabled').checked = info.IsEnabled;
|
||||
|
||||
});
|
||||
}
|
||||
|
@ -26,7 +27,8 @@
|
|||
var info = {
|
||||
Type: 'hdhomerun',
|
||||
Url: page.querySelector('.txtDevicePath').value,
|
||||
ImportFavoritesOnly: page.querySelector('.chkFavorite').checked
|
||||
ImportFavoritesOnly: page.querySelector('.chkFavorite').checked,
|
||||
IsEnabled: page.querySelector('.chkEnabled').checked
|
||||
};
|
||||
|
||||
var id = getParameterByName('id');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue