mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
restore live tv settings
This commit is contained in:
parent
53f775ca7d
commit
96b89c8b17
2 changed files with 7 additions and 0 deletions
|
@ -28,7 +28,12 @@
|
||||||
<div class="fieldDescription">${LabelNumberOfGuideDaysHelp}</div>
|
<div class="fieldDescription">${LabelNumberOfGuideDaysHelp}</div>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
<div class="paperCheckboxList">
|
||||||
|
<label>${LabelEnableInternetMetadataForTvPrograms}</label>
|
||||||
|
<paper-checkbox id="chkMovies">${OptionTVMovies}</paper-checkbox>
|
||||||
|
</div>
|
||||||
<div>
|
<div>
|
||||||
|
<br />
|
||||||
<paper-input id="txtRecordingPath" label="${LabelRecordingPath}" style="width:84%;display:inline-block;"></paper-input>
|
<paper-input id="txtRecordingPath" label="${LabelRecordingPath}" style="width:84%;display:inline-block;"></paper-input>
|
||||||
<button type="button" is="paper-icon-button-light" id="btnSelectRecordingPath" title="${ButtonSelectDirectory}"><iron-icon icon="search"></iron-icon></button>
|
<button type="button" is="paper-icon-button-light" id="btnSelectRecordingPath" title="${ButtonSelectDirectory}"><iron-icon icon="search"></iron-icon></button>
|
||||||
<div class="fieldDescription">${LabelRecordingPathHelp}</div>
|
<div class="fieldDescription">${LabelRecordingPathHelp}</div>
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
$('#selectGuideDays', page).val(config.GuideDays || '');
|
$('#selectGuideDays', page).val(config.GuideDays || '');
|
||||||
|
|
||||||
|
$('#chkMovies', page).checked(config.EnableMovieProviders);
|
||||||
$('#chkOrganize', page).checked(config.EnableAutoOrganize);
|
$('#chkOrganize', page).checked(config.EnableAutoOrganize);
|
||||||
$('#chkConvertRecordings', page).checked(config.EnableRecordingEncoding);
|
$('#chkConvertRecordings', page).checked(config.EnableRecordingEncoding);
|
||||||
$('#chkPreserveAudio', page).checked(config.EnableOriginalAudioWithEncodedRecordings || false);
|
$('#chkPreserveAudio', page).checked(config.EnableOriginalAudioWithEncodedRecordings || false);
|
||||||
|
@ -32,6 +33,7 @@
|
||||||
ApiClient.getNamedConfiguration("livetv").then(function (config) {
|
ApiClient.getNamedConfiguration("livetv").then(function (config) {
|
||||||
|
|
||||||
config.GuideDays = $('#selectGuideDays', form).val() || null;
|
config.GuideDays = $('#selectGuideDays', form).val() || null;
|
||||||
|
config.EnableMovieProviders = $('#chkMovies', form).checked();
|
||||||
config.EnableAutoOrganize = $('#chkOrganize', form).checked();
|
config.EnableAutoOrganize = $('#chkOrganize', form).checked();
|
||||||
config.EnableRecordingEncoding = $('#chkConvertRecordings', form).checked();
|
config.EnableRecordingEncoding = $('#chkConvertRecordings', form).checked();
|
||||||
config.EnableOriginalAudioWithEncodedRecordings = $('#chkPreserveAudio', form).checked();
|
config.EnableOriginalAudioWithEncodedRecordings = $('#chkPreserveAudio', form).checked();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue