mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 19:08:18 -07:00
fixes #979 - Support personal fanart api key
This commit is contained in:
parent
72661c00da
commit
105aefc715
@ -46,11 +46,6 @@
|
||||
<h2>${HeaderAutomaticUpdates}</h2>
|
||||
<div>
|
||||
<ul data-role="listview" class="ulForm">
|
||||
<li>
|
||||
<input type="checkbox" id="chkEnableFanartUpdates" data-mini="true" />
|
||||
<label for="chkEnableFanartUpdates">${LabelAutomaticUpdatesFanart}</label>
|
||||
<div class="fieldDescription">${LabelAutomaticUpdatesFanartHelp}</div>
|
||||
</li>
|
||||
<li>
|
||||
<input type="checkbox" id="chkEnableTmdbPersonUpdates" data-mini="true" />
|
||||
<label for="chkEnableTmdbPersonUpdates">${LabelAutomaticUpdatesTmdb}</label>
|
||||
@ -108,7 +103,7 @@
|
||||
<div class="fieldDescription">${ExtractChapterImagesHelp}</div>
|
||||
</li>
|
||||
</ul>
|
||||
<br/>
|
||||
<br />
|
||||
<div>
|
||||
<label for="chkExtractChaptersDuringLibraryScan">${LabelExtractChaptersDuringLibraryScan}</label>
|
||||
<input type="checkbox" id="chkExtractChaptersDuringLibraryScan" />
|
||||
@ -118,6 +113,26 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div data-role="collapsible">
|
||||
<h2>Fanart.tv</h2>
|
||||
<div>
|
||||
<br />
|
||||
<ul data-role="listview" class="ulForm">
|
||||
<li>
|
||||
<label for="txtFanartApiKey">${LabelFanartApiKey}</label>
|
||||
<input type="text" id="txtFanartApiKey" />
|
||||
<div class="fieldDescription">${LabelFanartApiKeyHelp}</div>
|
||||
<div class="fieldDescription"><a href="https://fanart.tv/get-an-api-key" target="_blank">${ButtonLearnMore}</a></div>
|
||||
</li>
|
||||
<li>
|
||||
<input type="checkbox" id="chkEnableFanartUpdates" data-mini="true" />
|
||||
<label for="chkEnableFanartUpdates">${LabelAutomaticUpdates}</label>
|
||||
<div class="fieldDescription">${LabelAutomaticUpdatesFanartHelp}</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div data-role="collapsible">
|
||||
<h2>${HeaderPeople}</h2>
|
||||
<div>
|
||||
|
@ -19,6 +19,8 @@
|
||||
$('#chkPeopleOthers', page).checked(config.PeopleMetadataOptions.DownloadOtherPeopleMetadata).checkboxradio("refresh");
|
||||
$('#chkPeopleGuestStars', page).checked(config.PeopleMetadataOptions.DownloadGuestStarMetadata).checkboxradio("refresh");
|
||||
|
||||
$('#txtFanartApiKey', page).val(config.FanartApiKey || '');
|
||||
|
||||
Dashboard.hideLoadingMsg();
|
||||
}
|
||||
|
||||
@ -200,6 +202,7 @@
|
||||
config.EnableTmdbUpdates = $('#chkEnableTmdbPersonUpdates', form).checked();
|
||||
config.EnableFanArtUpdates = $('#chkEnableFanartUpdates', form).checked();
|
||||
config.MetadataPath = $('#txtMetadataPath', form).val();
|
||||
config.FanartApiKey = $('#txtFanartApiKey', form).val();
|
||||
|
||||
config.PeopleMetadataOptions.DownloadActorMetadata = $('#chkPeopleActors', form).checked();
|
||||
config.PeopleMetadataOptions.DownloadComposerMetadata = $('#chkPeopleComposers', form).checked();
|
||||
|
Loading…
Reference in New Issue
Block a user