add single art limit setting to dlna profile
This commit is contained in:
@@ -154,6 +154,11 @@
|
||||
<input type="checkbox" id="chkEnableAlbumArtInDidl" data-mini="true" />
|
||||
<div class="fieldDescription">${LabelEmbedAlbumArtDidlHelp}</div>
|
||||
</li>
|
||||
<li>
|
||||
<label for="chkEnableSingleImageLimit">${LabelEnableSingleImageInDidlLimit}</label>
|
||||
<input type="checkbox" id="chkEnableSingleImageLimit" data-mini="true" />
|
||||
<div class="fieldDescription">${LabelEnableSingleImageInDidlLimitHelp}</div>
|
||||
</li>
|
||||
<li>
|
||||
<label for="txtAlbumArtPn">${LabelAlbumArtPN}</label>
|
||||
<input type="text" id="txtAlbumArtPn" data-mini="true" />
|
||||
|
||||
@@ -44,6 +44,7 @@
|
||||
}).checkboxradio('refresh');
|
||||
|
||||
$('#chkEnableAlbumArtInDidl', page).checked(profile.EnableAlbumArtInDidl).checkboxradio('refresh');
|
||||
$('#chkEnableSingleImageLimit', page).checked(profile.EnableSingleAlbumArtLimit).checkboxradio('refresh');
|
||||
|
||||
renderXmlDocumentAttributes(page, profile.XmlRootAttributes || []);
|
||||
|
||||
@@ -895,6 +896,7 @@
|
||||
|
||||
profile.Name = $('#txtName', page).val();
|
||||
profile.EnableAlbumArtInDidl = $('#chkEnableAlbumArtInDidl', page).checked();
|
||||
profile.EnableSingleAlbumArtLimit = $('#chkEnableSingleImageLimit', page).checked();
|
||||
|
||||
profile.SupportedMediaTypes = $('.chkMediaType:checked', page).get().map(function (c) {
|
||||
return c.getAttribute('data-value');
|
||||
|
||||
Reference in New Issue
Block a user