mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update series queries
This commit is contained in:
parent
b162cf30c5
commit
da237475f0
18 changed files with 34 additions and 217 deletions
|
@ -60,8 +60,10 @@
|
|||
|
||||
if (contentType == 'tvshows') {
|
||||
parent.querySelector('.chkImportMissingEpisodesContainer').classList.remove('hide');
|
||||
parent.querySelector('.chkAutomaticallyGroupSeriesContainer').classList.remove('hide');
|
||||
} else {
|
||||
parent.querySelector('.chkImportMissingEpisodesContainer').classList.add('hide');
|
||||
parent.querySelector('.chkAutomaticallyGroupSeriesContainer').classList.add('hide');
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -76,7 +78,8 @@
|
|||
DownloadImagesInAdvance: parent.querySelector('#chkDownloadImagesInAdvance').checked,
|
||||
EnableInternetProviders: parent.querySelector('#chkEnableInternetProviders').checked,
|
||||
ImportMissingEpisodes: parent.querySelector('#chkImportMissingEpisodes').checked,
|
||||
SaveLocalMetadata: parent.querySelector('#chkSaveLocal').checked
|
||||
SaveLocalMetadata: parent.querySelector('#chkSaveLocal').checked,
|
||||
EnableAutomaticSeriesGrouping: parent.querySelector('.chkAutomaticallyGroupSeries').checked
|
||||
};
|
||||
|
||||
return options;
|
||||
|
@ -93,6 +96,7 @@
|
|||
parent.querySelector('#chkEnableInternetProviders').checked = options.EnableInternetProviders;
|
||||
parent.querySelector('#chkSaveLocal').checked = options.SaveLocalMetadata;
|
||||
parent.querySelector('#chkImportMissingEpisodes').checked = options.ImportMissingEpisodes;
|
||||
parent.querySelector('.chkAutomaticallyGroupSeries').checked = options.EnableAutomaticSeriesGrouping;
|
||||
}
|
||||
|
||||
return {
|
||||
|
|
|
@ -68,3 +68,11 @@
|
|||
</label>
|
||||
<div class="fieldDescription checkboxFieldDescription">${OptionDetectArchiveFilesAsMediaHelp}</div>
|
||||
</div>
|
||||
|
||||
<div class="checkboxContainer checkboxContainer-withDescription chkAutomaticallyGroupSeriesContainer hide">
|
||||
<label>
|
||||
<input type="checkbox" is="emby-checkbox" class="chkAutomaticallyGroupSeries" />
|
||||
<span>${OptionAutomaticallyGroupSeries}</span>
|
||||
</label>
|
||||
<div class="fieldDescription checkboxFieldDescription">${OptionAutomaticallyGroupSeriesHelp}</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue