mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
add single art limit setting to dlna profile
This commit is contained in:
parent
256aa6655a
commit
c393e5345d
2 changed files with 7 additions and 0 deletions
|
@ -154,6 +154,11 @@
|
||||||
<input type="checkbox" id="chkEnableAlbumArtInDidl" data-mini="true" />
|
<input type="checkbox" id="chkEnableAlbumArtInDidl" data-mini="true" />
|
||||||
<div class="fieldDescription">${LabelEmbedAlbumArtDidlHelp}</div>
|
<div class="fieldDescription">${LabelEmbedAlbumArtDidlHelp}</div>
|
||||||
</li>
|
</li>
|
||||||
|
<li>
|
||||||
|
<label for="chkEnableSingleImageLimit">${LabelEnableSingleImageInDidlLimit}</label>
|
||||||
|
<input type="checkbox" id="chkEnableSingleImageLimit" data-mini="true" />
|
||||||
|
<div class="fieldDescription">${LabelEnableSingleImageInDidlLimitHelp}</div>
|
||||||
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<label for="txtAlbumArtPn">${LabelAlbumArtPN}</label>
|
<label for="txtAlbumArtPn">${LabelAlbumArtPN}</label>
|
||||||
<input type="text" id="txtAlbumArtPn" data-mini="true" />
|
<input type="text" id="txtAlbumArtPn" data-mini="true" />
|
||||||
|
|
|
@ -44,6 +44,7 @@
|
||||||
}).checkboxradio('refresh');
|
}).checkboxradio('refresh');
|
||||||
|
|
||||||
$('#chkEnableAlbumArtInDidl', page).checked(profile.EnableAlbumArtInDidl).checkboxradio('refresh');
|
$('#chkEnableAlbumArtInDidl', page).checked(profile.EnableAlbumArtInDidl).checkboxradio('refresh');
|
||||||
|
$('#chkEnableSingleImageLimit', page).checked(profile.EnableSingleAlbumArtLimit).checkboxradio('refresh');
|
||||||
|
|
||||||
renderXmlDocumentAttributes(page, profile.XmlRootAttributes || []);
|
renderXmlDocumentAttributes(page, profile.XmlRootAttributes || []);
|
||||||
|
|
||||||
|
@ -895,6 +896,7 @@
|
||||||
|
|
||||||
profile.Name = $('#txtName', page).val();
|
profile.Name = $('#txtName', page).val();
|
||||||
profile.EnableAlbumArtInDidl = $('#chkEnableAlbumArtInDidl', page).checked();
|
profile.EnableAlbumArtInDidl = $('#chkEnableAlbumArtInDidl', page).checked();
|
||||||
|
profile.EnableSingleAlbumArtLimit = $('#chkEnableSingleImageLimit', page).checked();
|
||||||
|
|
||||||
profile.SupportedMediaTypes = $('.chkMediaType:checked', page).get().map(function (c) {
|
profile.SupportedMediaTypes = $('.chkMediaType:checked', page).get().map(function (c) {
|
||||||
return c.getAttribute('data-value');
|
return c.getAttribute('data-value');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue