Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (17 sloc) 988 Bytes
--- a/upnpsoap.c
+++ b/upnpsoap.c
@@ -1079,10 +1079,14 @@
{
/* Video and audio album art is handled differently */
if( *mime == 'v' && (passed_args->filter & FILTER_RES) && !(passed_args->flags & FLAG_MS_PFS) ) {
ret = strcatf(str, "<res protocolInfo=\"http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_TN\">"
"http://%s:%d/AlbumArt/%s-%s.jpg"
+ "</res>\n\n"
+ "<res protocolInfo=\"http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_SM\">"
+ "http://%s:%d/AlbumArt/%s-%s.jpg"
"</res>",
+ lan_addr[passed_args->iface].str, runtime_vars.port, album_art, detailID,
lan_addr[passed_args->iface].str, runtime_vars.port, album_art, detailID);
} else if( passed_args->filter & FILTER_UPNP_ALBUMARTURI ) {
ret = strcatf(str, "<upnp:albumArtURI");
if( passed_args->filter & FILTER_UPNP_ALBUMARTURI_DLNA_PROFILEID ) {