mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Merge pull request #1316 from ferferga/images-advance
Remove download images in advance from library options
This commit is contained in:
commit
e1a9eaffff
3 changed files with 0 additions and 14 deletions
|
@ -258,11 +258,9 @@ import 'emby-input';
|
||||||
elem.innerHTML = html;
|
elem.innerHTML = html;
|
||||||
if (html) {
|
if (html) {
|
||||||
elem.classList.remove('hide');
|
elem.classList.remove('hide');
|
||||||
page.querySelector('.chkDownloadImagesInAdvanceContainer').classList.remove('hide');
|
|
||||||
page.querySelector('.chkSaveLocalContainer').classList.remove('hide');
|
page.querySelector('.chkSaveLocalContainer').classList.remove('hide');
|
||||||
} else {
|
} else {
|
||||||
elem.classList.add('hide');
|
elem.classList.add('hide');
|
||||||
page.querySelector('.chkDownloadImagesInAdvanceContainer').classList.add('hide');
|
|
||||||
page.querySelector('.chkSaveLocalContainer').classList.add('hide');
|
page.querySelector('.chkSaveLocalContainer').classList.add('hide');
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
@ -507,7 +505,6 @@ import 'emby-input';
|
||||||
EnableRealtimeMonitor: parent.querySelector('.chkEnableRealtimeMonitor').checked,
|
EnableRealtimeMonitor: parent.querySelector('.chkEnableRealtimeMonitor').checked,
|
||||||
ExtractChapterImagesDuringLibraryScan: parent.querySelector('.chkExtractChaptersDuringLibraryScan').checked,
|
ExtractChapterImagesDuringLibraryScan: parent.querySelector('.chkExtractChaptersDuringLibraryScan').checked,
|
||||||
EnableChapterImageExtraction: parent.querySelector('.chkExtractChapterImages').checked,
|
EnableChapterImageExtraction: parent.querySelector('.chkExtractChapterImages').checked,
|
||||||
DownloadImagesInAdvance: parent.querySelector('#chkDownloadImagesInAdvance').checked,
|
|
||||||
EnableInternetProviders: true,
|
EnableInternetProviders: true,
|
||||||
SaveLocalMetadata: parent.querySelector('#chkSaveLocal').checked,
|
SaveLocalMetadata: parent.querySelector('#chkSaveLocal').checked,
|
||||||
EnableAutomaticSeriesGrouping: parent.querySelector('.chkAutomaticallyGroupSeries').checked,
|
EnableAutomaticSeriesGrouping: parent.querySelector('.chkAutomaticallyGroupSeries').checked,
|
||||||
|
@ -564,7 +561,6 @@ import 'emby-input';
|
||||||
parent.querySelector('.chkEnableRealtimeMonitor').checked = options.EnableRealtimeMonitor;
|
parent.querySelector('.chkEnableRealtimeMonitor').checked = options.EnableRealtimeMonitor;
|
||||||
parent.querySelector('.chkExtractChaptersDuringLibraryScan').checked = options.ExtractChapterImagesDuringLibraryScan;
|
parent.querySelector('.chkExtractChaptersDuringLibraryScan').checked = options.ExtractChapterImagesDuringLibraryScan;
|
||||||
parent.querySelector('.chkExtractChapterImages').checked = options.EnableChapterImageExtraction;
|
parent.querySelector('.chkExtractChapterImages').checked = options.EnableChapterImageExtraction;
|
||||||
parent.querySelector('#chkDownloadImagesInAdvance').checked = options.DownloadImagesInAdvance;
|
|
||||||
parent.querySelector('#chkSaveLocal').checked = options.SaveLocalMetadata;
|
parent.querySelector('#chkSaveLocal').checked = options.SaveLocalMetadata;
|
||||||
parent.querySelector('.chkAutomaticallyGroupSeries').checked = options.EnableAutomaticSeriesGrouping;
|
parent.querySelector('.chkAutomaticallyGroupSeries').checked = options.EnableAutomaticSeriesGrouping;
|
||||||
parent.querySelector('#chkEnableEmbeddedTitles').checked = options.EnableEmbeddedTitles;
|
parent.querySelector('#chkEnableEmbeddedTitles').checked = options.EnableEmbeddedTitles;
|
||||||
|
|
|
@ -69,14 +69,6 @@
|
||||||
<div class="fieldDescription checkboxFieldDescription">${LabelSaveLocalMetadataHelp}</div>
|
<div class="fieldDescription checkboxFieldDescription">${LabelSaveLocalMetadataHelp}</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="checkboxContainer checkboxContainer-withDescription hide chkDownloadImagesInAdvanceContainer advanced">
|
|
||||||
<label>
|
|
||||||
<input is="emby-checkbox" type="checkbox" id="chkDownloadImagesInAdvance" />
|
|
||||||
<span>${OptionDownloadImagesInAdvance}</span>
|
|
||||||
</label>
|
|
||||||
<div class="fieldDescription checkboxFieldDescription">${OptionDownloadImagesInAdvanceHelp}</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="checkboxContainer checkboxContainer-withDescription chkAutomaticallyGroupSeriesContainer hide advanced">
|
<div class="checkboxContainer checkboxContainer-withDescription chkAutomaticallyGroupSeriesContainer hide advanced">
|
||||||
<label>
|
<label>
|
||||||
<input type="checkbox" is="emby-checkbox" class="chkAutomaticallyGroupSeries" />
|
<input type="checkbox" is="emby-checkbox" class="chkAutomaticallyGroupSeries" />
|
||||||
|
|
|
@ -1040,8 +1040,6 @@
|
||||||
"OptionDislikes": "Dislikes",
|
"OptionDislikes": "Dislikes",
|
||||||
"OptionDisplayFolderView": "Display a folder view to show plain media folders",
|
"OptionDisplayFolderView": "Display a folder view to show plain media folders",
|
||||||
"OptionDisplayFolderViewHelp": "Display folders alongside your other media libraries. This can be useful if you'd like to have a plain folder view.",
|
"OptionDisplayFolderViewHelp": "Display folders alongside your other media libraries. This can be useful if you'd like to have a plain folder view.",
|
||||||
"OptionDownloadImagesInAdvance": "Download images in advance",
|
|
||||||
"OptionDownloadImagesInAdvanceHelp": "By default, most images are only downloaded when requested by a client. Enable this option to download all images in advance, as new media is imported. This may cause significantly longer library scans.",
|
|
||||||
"OptionDvd": "DVD",
|
"OptionDvd": "DVD",
|
||||||
"OptionEmbedSubtitles": "Embed within container",
|
"OptionEmbedSubtitles": "Embed within container",
|
||||||
"OptionEnableAccessFromAllDevices": "Enable access from all devices",
|
"OptionEnableAccessFromAllDevices": "Enable access from all devices",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue