From c393e5345d8e751dc268a2af8bf8902829947ab4 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sat, 29 Nov 2014 15:22:35 -0500 Subject: [PATCH] add single art limit setting to dlna profile --- dashboard-ui/dlnaprofile.html | 5 +++++ dashboard-ui/scripts/dlnaprofile.js | 2 ++ 2 files changed, 7 insertions(+) diff --git a/dashboard-ui/dlnaprofile.html b/dashboard-ui/dlnaprofile.html index f33651ef9..4c48413bb 100644 --- a/dashboard-ui/dlnaprofile.html +++ b/dashboard-ui/dlnaprofile.html @@ -154,6 +154,11 @@
${LabelEmbedAlbumArtDidlHelp}
+
  • + + +
    ${LabelEnableSingleImageInDidlLimitHelp}
    +
  • diff --git a/dashboard-ui/scripts/dlnaprofile.js b/dashboard-ui/scripts/dlnaprofile.js index 7daa17e40..969bd4196 100644 --- a/dashboard-ui/scripts/dlnaprofile.js +++ b/dashboard-ui/scripts/dlnaprofile.js @@ -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');