mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
DVR: Add options to disable NFO and image saving
Depends on jellyfin/jellyfin#8775
This commit is contained in:
parent
7373560a83
commit
d58758a203
3 changed files with 28 additions and 0 deletions
|
@ -92,6 +92,25 @@
|
||||||
<div class="fieldDescription">${LabelPostProcessorArgumentsHelp}</div>
|
<div class="fieldDescription">${LabelPostProcessorArgumentsHelp}</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="verticalSection">
|
||||||
|
<h2 class="sectionTitle">${HeaderRecordingMetadataSaving}</h2>
|
||||||
|
|
||||||
|
<div class="checkboxContainer checkboxContainer-withDescription">
|
||||||
|
<label>
|
||||||
|
<input is="emby-checkbox" type="checkbox" id="chkSaveRecordingNFO" />
|
||||||
|
<span>${SaveRecordingNFO}</span>
|
||||||
|
</label>
|
||||||
|
<div class="fieldDescription checkboxFieldDescription">${SaveRecordingNFOHelp}</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="checkboxContainer checkboxContainer-withDescription">
|
||||||
|
<label>
|
||||||
|
<input is="emby-checkbox" type="checkbox" id="chkSaveRecordingImages" />
|
||||||
|
<span>${SaveRecordingImages}</span>
|
||||||
|
</label>
|
||||||
|
<div class="fieldDescription checkboxFieldDescription">${SaveRecordingImagesHelp}</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<br />
|
<br />
|
||||||
<div>
|
<div>
|
||||||
<button is="emby-button" type="submit" class="raised button-submit block"><span>${Save}</span></button>
|
<button is="emby-button" type="submit" class="raised button-submit block"><span>${Save}</span></button>
|
||||||
|
|
|
@ -16,6 +16,8 @@ function loadPage(page, config) {
|
||||||
page.querySelector('#txtSeriesRecordingPath').value = config.SeriesRecordingPath || '';
|
page.querySelector('#txtSeriesRecordingPath').value = config.SeriesRecordingPath || '';
|
||||||
page.querySelector('#txtPostProcessor').value = config.RecordingPostProcessor || '';
|
page.querySelector('#txtPostProcessor').value = config.RecordingPostProcessor || '';
|
||||||
page.querySelector('#txtPostProcessorArguments').value = config.RecordingPostProcessorArguments || '';
|
page.querySelector('#txtPostProcessorArguments').value = config.RecordingPostProcessorArguments || '';
|
||||||
|
page.querySelector('#chkSaveRecordingNFO').checked = config.SaveRecordingNFO;
|
||||||
|
page.querySelector('#chkSaveRecordingImages').checked = config.SaveRecordingImages;
|
||||||
loading.hide();
|
loading.hide();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -36,6 +38,8 @@ function onSubmit() {
|
||||||
config.PostPaddingSeconds = 60 * $('#txtPostPaddingMinutes', form).val();
|
config.PostPaddingSeconds = 60 * $('#txtPostPaddingMinutes', form).val();
|
||||||
config.RecordingPostProcessor = $('#txtPostProcessor', form).val();
|
config.RecordingPostProcessor = $('#txtPostProcessor', form).val();
|
||||||
config.RecordingPostProcessorArguments = $('#txtPostProcessorArguments', form).val();
|
config.RecordingPostProcessorArguments = $('#txtPostProcessorArguments', form).val();
|
||||||
|
config.SaveRecordingNFO = form.querySelector('#chkSaveRecordingNFO').checked;
|
||||||
|
config.SaveRecordingImages = form.querySelector('#chkSaveRecordingImages').checked;
|
||||||
ApiClient.updateNamedConfiguration('livetv', config).then(function () {
|
ApiClient.updateNamedConfiguration('livetv', config).then(function () {
|
||||||
Dashboard.processServerConfigurationUpdateResult();
|
Dashboard.processServerConfigurationUpdateResult();
|
||||||
showSaveMessage(recordingPathChanged);
|
showSaveMessage(recordingPathChanged);
|
||||||
|
|
|
@ -432,6 +432,7 @@
|
||||||
"HeaderProfileInformation": "Profile Information",
|
"HeaderProfileInformation": "Profile Information",
|
||||||
"HeaderProfileServerSettingsHelp": "These values control how the server will present itself to clients.",
|
"HeaderProfileServerSettingsHelp": "These values control how the server will present itself to clients.",
|
||||||
"HeaderRecentlyPlayed": "Recently Played",
|
"HeaderRecentlyPlayed": "Recently Played",
|
||||||
|
"HeaderRecordingMetadataSaving": "Recording Metadata",
|
||||||
"HeaderRecordingOptions": "Recording Options",
|
"HeaderRecordingOptions": "Recording Options",
|
||||||
"HeaderRecordingPostProcessing": "Recording Post Processing",
|
"HeaderRecordingPostProcessing": "Recording Post Processing",
|
||||||
"HeaderRemoteAccessSettings": "Remote Access Settings",
|
"HeaderRemoteAccessSettings": "Remote Access Settings",
|
||||||
|
@ -1384,6 +1385,10 @@
|
||||||
"Saturday": "Saturday",
|
"Saturday": "Saturday",
|
||||||
"Save": "Save",
|
"Save": "Save",
|
||||||
"SaveChanges": "Save changes",
|
"SaveChanges": "Save changes",
|
||||||
|
"SaveRecordingNFO": "Save recording EPG metadata in NFO",
|
||||||
|
"SaveRecordingNFOHelp": "Save metadata from EPG listings provider along side media.",
|
||||||
|
"SaveRecordingImages": "Save recording EPG images",
|
||||||
|
"SaveRecordingImagesHelp": "Save images from EPG listings provider along side media.",
|
||||||
"SaveSubtitlesIntoMediaFolders": "Save subtitles into media folders",
|
"SaveSubtitlesIntoMediaFolders": "Save subtitles into media folders",
|
||||||
"SaveSubtitlesIntoMediaFoldersHelp": "Storing subtitles next to video files will allow them to be more easily managed.",
|
"SaveSubtitlesIntoMediaFoldersHelp": "Storing subtitles next to video files will allow them to be more easily managed.",
|
||||||
"ScanForNewAndUpdatedFiles": "Scan for new and updated files",
|
"ScanForNewAndUpdatedFiles": "Scan for new and updated files",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue