mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-18 03:18:19 -07:00
added tvdb updates setting
This commit is contained in:
parent
6c4be34378
commit
fcc6306168
@ -37,6 +37,11 @@
|
|||||||
<label for="selectCountry">Country: </label>
|
<label for="selectCountry">Country: </label>
|
||||||
<select name="selectCountry" id="selectCountry"></select>
|
<select name="selectCountry" id="selectCountry"></select>
|
||||||
</li>
|
</li>
|
||||||
|
<li>
|
||||||
|
<input type="checkbox" id="chkEnableTvdbUpdates" name="chkEnableTvdbUpdates" />
|
||||||
|
<label for="chkEnableTvdbUpdates">Enable tvdb updates</label>
|
||||||
|
<div class="fieldDescription">If enabled, tv series and episodes will be updated automatically as they are updated on the tvdb.com.</div>
|
||||||
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<button type="submit" data-theme="b" data-icon="ok">
|
<button type="submit" data-theme="b" data-icon="ok">
|
||||||
Save
|
Save
|
||||||
|
@ -38,11 +38,12 @@
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
$('#chkEnableInternetProviders', page).checked(config.EnableInternetProviders).checkboxradio("refresh");
|
|
||||||
$('#chkSaveLocal', page).checked(config.SaveLocalMeta).checkboxradio("refresh");
|
$('#chkSaveLocal', page).checked(config.SaveLocalMeta).checkboxradio("refresh");
|
||||||
$('#txtRefreshDays', page).val(config.MetadataRefreshDays);
|
$('#txtRefreshDays', page).val(config.MetadataRefreshDays);
|
||||||
$('#selectLanguage', page).val(config.PreferredMetadataLanguage).selectmenu("refresh");
|
$('#selectLanguage', page).val(config.PreferredMetadataLanguage).selectmenu("refresh");
|
||||||
$('#selectCountry', page).val(config.MetadataCountryCode).selectmenu("refresh");
|
$('#selectCountry', page).val(config.MetadataCountryCode).selectmenu("refresh");
|
||||||
|
$('#chkEnableInternetProviders', page).checked(config.EnableInternetProviders).checkboxradio("refresh");
|
||||||
|
$('#chkEnableTvdbUpdates', page).checked(config.EnableTvDbUpdates).checkboxradio("refresh");
|
||||||
|
|
||||||
Dashboard.hideLoadingMsg();
|
Dashboard.hideLoadingMsg();
|
||||||
},
|
},
|
||||||
@ -86,6 +87,7 @@
|
|||||||
|
|
||||||
ApiClient.getServerConfiguration().done(function (config) {
|
ApiClient.getServerConfiguration().done(function (config) {
|
||||||
|
|
||||||
|
config.EnableTvDbUpdates = $('#chkEnableTvdbUpdates', form).checked();
|
||||||
config.EnableInternetProviders = $('#chkEnableInternetProviders', form).checked();
|
config.EnableInternetProviders = $('#chkEnableInternetProviders', form).checked();
|
||||||
config.SaveLocalMeta = $('#chkSaveLocal', form).checked();
|
config.SaveLocalMeta = $('#chkSaveLocal', form).checked();
|
||||||
config.MetadataRefreshDays = $('#txtRefreshDays', form).val();
|
config.MetadataRefreshDays = $('#txtRefreshDays', form).val();
|
||||||
|
Loading…
Reference in New Issue
Block a user