1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Remove download images in advance from library options

This commit is contained in:
ferferga 2020-05-27 19:30:07 +02:00
parent 2290266634
commit 0a2f0b770c
3 changed files with 0 additions and 14 deletions

View file

@ -243,11 +243,9 @@ define(['globalize', 'dom', 'emby-checkbox', 'emby-select', 'emby-input'], funct
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;
@ -500,7 +498,6 @@ define(['globalize', 'dom', 'emby-checkbox', 'emby-select', 'emby-input'], funct
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,
ImportMissingEpisodes: parent.querySelector('#chkImportMissingEpisodes').checked, ImportMissingEpisodes: parent.querySelector('#chkImportMissingEpisodes').checked,
SaveLocalMetadata: parent.querySelector('#chkSaveLocal').checked, SaveLocalMetadata: parent.querySelector('#chkSaveLocal').checked,
@ -558,7 +555,6 @@ define(['globalize', 'dom', 'emby-checkbox', 'emby-select', 'emby-input'], funct
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('#chkImportMissingEpisodes').checked = options.ImportMissingEpisodes; parent.querySelector('#chkImportMissingEpisodes').checked = options.ImportMissingEpisodes;
parent.querySelector('.chkAutomaticallyGroupSeries').checked = options.EnableAutomaticSeriesGrouping; parent.querySelector('.chkAutomaticallyGroupSeries').checked = options.EnableAutomaticSeriesGrouping;

View file

@ -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" checked /> <input type="checkbox" is="emby-checkbox" class="chkAutomaticallyGroupSeries" checked />

View file

@ -1158,8 +1158,6 @@
"OptionDownloadBannerImage": "Banner", "OptionDownloadBannerImage": "Banner",
"OptionDownloadBoxImage": "Box", "OptionDownloadBoxImage": "Box",
"OptionDownloadDiscImage": "Disc", "OptionDownloadDiscImage": "Disc",
"OptionDownloadImagesInAdvance": "Download images in advance",
"OptionDownloadImagesInAdvanceHelp": "By default, most images are only downloaded when requested by a Jellyfin app. Enable this option to download all images in advance, as new media is imported. This may cause significantly longer library scans.",
"OptionDownloadLogoImage": "Logo", "OptionDownloadLogoImage": "Logo",
"OptionDownloadMenuImage": "Menu", "OptionDownloadMenuImage": "Menu",
"OptionDownloadPrimaryImage": "Primary", "OptionDownloadPrimaryImage": "Primary",