mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
separate musicbrainz from lastfm artist providers
This commit is contained in:
parent
5ce0e6c170
commit
83bb25da8a
2 changed files with 22 additions and 2 deletions
|
@ -50,6 +50,18 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="screenshotFields" style="margin-bottom: 2em; display: none;">
|
||||||
|
<div>
|
||||||
|
<label for="txtMaxScreenshots">Max number of screenshots per item: </label>
|
||||||
|
<input type="number" id="txtMaxScreenshots" name="txtMaxScreenshots" pattern="[0-9]*" required="required" min="1" data-mini="true" />
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<label for="txtMinScreenshotDownloadWidth">Minimum screenshot download width: </label>
|
||||||
|
<input type="number" id="txtMinScreenshotDownloadWidth" name="txtMinScreenshotDownloadWidth" pattern="[0-9]*" required="required" min="1" data-mini="true" />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<fieldset data-role="controlgroup" style="border-bottom: 1px solid #ddd;">
|
<fieldset data-role="controlgroup" style="border-bottom: 1px solid #ddd;">
|
||||||
<legend>Fetch Images:</legend>
|
<legend>Fetch Images:</legend>
|
||||||
<div class="imageType" data-imagetype="Primary" style="display: none;">
|
<div class="imageType" data-imagetype="Primary" style="display: none;">
|
||||||
|
|
|
@ -59,6 +59,12 @@
|
||||||
$('.backdropFields', page).show();
|
$('.backdropFields', page).show();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (metadataInfo.SupportedImageTypes.indexOf('Screenshot') == -1) {
|
||||||
|
$('.screenshotFields', page).hide();
|
||||||
|
} else {
|
||||||
|
$('.screenshotFields', page).show();
|
||||||
|
}
|
||||||
|
|
||||||
$('.imageType', page).each(function () {
|
$('.imageType', page).each(function () {
|
||||||
|
|
||||||
var imageType = this.getAttribute('data-imagetype');
|
var imageType = this.getAttribute('data-imagetype');
|
||||||
|
@ -244,7 +250,8 @@
|
||||||
|
|
||||||
{ name: 'Artist', type: 'MusicArtist' },
|
{ name: 'Artist', type: 'MusicArtist' },
|
||||||
{ name: 'Album', type: 'MusicAlbum' },
|
{ name: 'Album', type: 'MusicAlbum' },
|
||||||
{ name: 'Song', type: 'Audio' }
|
{ name: 'Song', type: 'Audio' },
|
||||||
|
{ name: 'Music Video', type: 'MusicVideo' }
|
||||||
]);
|
]);
|
||||||
|
|
||||||
$('.musicTab', page).addClass('ui-btn-active');
|
$('.musicTab', page).addClass('ui-btn-active');
|
||||||
|
@ -258,7 +265,8 @@
|
||||||
{ name: 'Game Genre', type: 'GameGenre' },
|
{ name: 'Game Genre', type: 'GameGenre' },
|
||||||
{ name: 'Music Genre', type: 'MusicGenre' },
|
{ name: 'Music Genre', type: 'MusicGenre' },
|
||||||
{ name: 'Studio', type: 'Studio' },
|
{ name: 'Studio', type: 'Studio' },
|
||||||
{ name: 'Book', type: 'Book' }
|
{ name: 'Book', type: 'Book' },
|
||||||
|
{ name: 'Adult Video', type: 'AdultVideo' }
|
||||||
]);
|
]);
|
||||||
|
|
||||||
$('.othersTab', page).addClass('ui-btn-active');
|
$('.othersTab', page).addClass('ui-btn-active');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue