mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
add video image extraction back to library scan
This commit is contained in:
parent
3f71006da5
commit
35eb92de60
6 changed files with 17 additions and 35 deletions
|
@ -13,10 +13,6 @@
|
|||
|
||||
load: function (page, config) {
|
||||
|
||||
$('#selectTmdbPersonImageDownloadSize', page).val(config.TmdbFetchedProfileSize).selectmenu("refresh");
|
||||
$('#selectTmdbPosterDownloadSize', page).val(config.TmdbFetchedPosterSize).selectmenu("refresh");
|
||||
$('#selectTmdbBackdropDownloadSize', page).val(config.TmdbFetchedBackdropSize).selectmenu("refresh");
|
||||
|
||||
$('#chkRefreshItemImages', page).checked(!config.RefreshItemImages).checkboxradio("refresh");
|
||||
$('#txtNumbackdrops', page).val(config.MaxBackdrops);
|
||||
|
||||
|
@ -46,6 +42,8 @@
|
|||
$('#chkDownloadAlbumBackdrops', page).checked(config.DownloadMusicAlbumImages.Backdrops).checkboxradio("refresh");
|
||||
$('#chkMusicAlbumDisc', page).checked(config.DownloadMusicAlbumImages.Disc).checkboxradio("refresh");
|
||||
|
||||
$('#chkVIdeoImages', page).checked(config.EnableVideoImageExtraction).checkboxradio("refresh");
|
||||
|
||||
Dashboard.hideLoadingMsg();
|
||||
},
|
||||
|
||||
|
@ -56,10 +54,6 @@
|
|||
|
||||
ApiClient.getServerConfiguration().done(function (config) {
|
||||
|
||||
config.TmdbFetchedProfileSize = $('#selectTmdbPersonImageDownloadSize', form).val();
|
||||
config.TmdbFetchedPosterSize = $('#selectTmdbPosterDownloadSize', form).val();
|
||||
config.TmdbFetchedBackdropSize = $('#selectTmdbBackdropDownloadSize', form).val();
|
||||
|
||||
config.RefreshItemImages = !$('#chkRefreshItemImages', form).checked();
|
||||
config.MaxBackdrops = $('#txtNumbackdrops', form).val();
|
||||
|
||||
|
@ -89,6 +83,8 @@
|
|||
config.DownloadMusicAlbumImages.Backdrops = $('#chkDownloadAlbumBackdrops', form).checked();
|
||||
config.DownloadMusicAlbumImages.Disc = $('#chkMusicAlbumDisc', form).checked();
|
||||
|
||||
config.EnableVideoImageExtraction = $('#chkVIdeoImages', form).checked();
|
||||
|
||||
ApiClient.updateServerConfiguration(config).done(Dashboard.processServerConfigurationUpdateResult);
|
||||
});
|
||||
|
||||
|
|
|
@ -518,6 +518,7 @@ var Dashboard = {
|
|||
|
||||
resetPluginSecurityInfo: function () {
|
||||
Dashboard.getPluginSecurityInfoPromise = null;
|
||||
Dashboard.validateCurrentUser();
|
||||
},
|
||||
|
||||
ensureHeader: function (page, user) {
|
||||
|
|
|
@ -45,8 +45,10 @@
|
|||
};
|
||||
|
||||
ApiClient.updatePluginSecurityInfo(info).done(function () {
|
||||
|
||||
Dashboard.resetPluginSecurityInfo();
|
||||
Dashboard.hideLoadingMsg();
|
||||
|
||||
SupporterKeyPage.load();
|
||||
});
|
||||
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
ApiClient.getServerConfiguration().done(function (config) {
|
||||
|
||||
config.SaveLocalMeta = $('#chkSaveLocalMetadata', page).checked();
|
||||
config.EnableVideoImageExtraction = $('#chkVIdeoImages', page).checked();
|
||||
|
||||
ApiClient.updateServerConfiguration(config).done(function(result) {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue