mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-16 02:18:16 -07:00
Merge pull request #4382 from Shadowghost/dummy-chapter
This commit is contained in:
commit
db9899dc27
@ -68,7 +68,6 @@ function loadPage(page) {
|
||||
page.querySelector('#selectLanguage').value = config.PreferredMetadataLanguage || '';
|
||||
page.querySelector('#selectCountry').value = config.MetadataCountryCode || '';
|
||||
page.querySelector('#valDummyChapterDuration').value = config.DummyChapterDuration || '';
|
||||
page.querySelector('#valDummyChapterCount').value = config.DummyChapterCount || '';
|
||||
page.querySelector('#txtChapterImageResolution').value = config.ChapterImageResolution || '';
|
||||
loading.hide();
|
||||
});
|
||||
@ -81,7 +80,6 @@ function onSubmit() {
|
||||
config.PreferredMetadataLanguage = form.querySelector('#selectLanguage').value;
|
||||
config.MetadataCountryCode = form.querySelector('#selectCountry').value;
|
||||
config.DummyChapterDuration = form.querySelector('#valDummyChapterDuration').value;
|
||||
config.DummyChapterCount = form.querySelector('#valDummyChapterCount').value;
|
||||
config.ChapterImageResolution = form.querySelector('#txtChapterImageResolution').value;
|
||||
ApiClient.updateServerConfiguration(config).then(Dashboard.processServerConfigurationUpdateResult);
|
||||
});
|
||||
|
@ -22,13 +22,9 @@
|
||||
<div class="verticalSection">
|
||||
<h2>${HeaderDummyChapter}</h2>
|
||||
<div class="inputContainer">
|
||||
<input is="emby-input" type="number" id="valDummyChapterDuration" label="${LabelDummyChapterDuration}" min="1"></input>
|
||||
<input is="emby-input" type="number" id="valDummyChapterDuration" label="${LabelDummyChapterDuration}" min="0"></input>
|
||||
<div class="fieldDescription">${LabelDummyChapterDurationHelp}</div>
|
||||
</div>
|
||||
<div class="inputContainer">
|
||||
<input is="emby-input" type="number" id="valDummyChapterCount" label="${LabelDummyChapterCount}" min="0"></input>
|
||||
<div class="fieldDescription">${LabelDummyChapterCountHelp}</div>
|
||||
</div>
|
||||
<div class="selectContainer">
|
||||
<select is="emby-select" id="txtChapterImageResolution" label="${LabelChapterImageResolution}"></select>
|
||||
<div class="fieldDescription">
|
||||
|
@ -630,14 +630,12 @@
|
||||
"LabelDroppedFrames": "Dropped frames",
|
||||
"LabelDropShadow": "Drop shadow",
|
||||
"LabelDropSubtitleHere": "Drop subtitle here, or click to browse.",
|
||||
"LabelDummyChapterDuration": "Interval",
|
||||
"LabelDummyChapterDurationHelp": "The chapter image extraction interval in seconds.",
|
||||
"LabelDummyChapterCount": "Limit",
|
||||
"LabelDummyChapterCountHelp": "The maximum number of chapter images that will be extracted for each media file.",
|
||||
"LabelChapterImageResolution": "Resolution",
|
||||
"LabelChapterImageResolutionHelp": "The resolution of the extracted chapter images.",
|
||||
"LabelDynamicExternalId": "{0} Id",
|
||||
"LabelEasyPinCode": "Easy PIN code",
|
||||
"LabelDummyChapterDuration": "Interval:",
|
||||
"LabelDummyChapterDurationHelp": "The interval between dummy chapters. Set to 0 to disable dummy chapter generation. Changing this will have no effect on existing dummy chapters.",
|
||||
"LabelChapterImageResolution": "Resolution:",
|
||||
"LabelChapterImageResolutionHelp": "The resolution of the extracted chapter images. Changing this will have no effect on existing dummy chapters.",
|
||||
"LabelDynamicExternalId": "{0} Id:",
|
||||
"LabelEasyPinCode": "Easy PIN code:",
|
||||
"LabelEmbedAlbumArtDidl": "Embed album art in DIDL",
|
||||
"LabelEmbedAlbumArtDidlHelp": "Some devices prefer this method for getting the album art. Others may fail to play with this option enabled.",
|
||||
"LabelEnableAudioVbr": "Enable VBR audio encoding",
|
||||
|
Loading…
Reference in New Issue
Block a user