From 449dcead72523a173bc0d17d1ed90865711b534c Mon Sep 17 00:00:00 2001 From: Scott Jackson Date: Sat, 27 Dec 2014 12:11:06 -0800 Subject: Added example metadata from Wireshark from BubbleUPnP --- src/github/daneren2005/dsub/service/DLNAController.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/github/daneren2005/dsub/service/DLNAController.java b/src/github/daneren2005/dsub/service/DLNAController.java index d7c9e6db..2afb0fea 100644 --- a/src/github/daneren2005/dsub/service/DLNAController.java +++ b/src/github/daneren2005/dsub/service/DLNAController.java @@ -351,6 +351,7 @@ public class DLNAController extends RemoteController { String metadata = ""; try { + // 0http://192.168.1.3:57645/external/audio/media/39883.mp3<DIDL-Lite xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/" xmlns:sec="http://www.sec.co.kr/"><item id="/external/audio/albums/484/39883" parentID="/external/audio/albums/484" restricted="1"><upnp:class>object.item.audioItem.musicTrack</upnp:class><dc:title>03-Miss Murder.complete</dc:title><dc:creator>AFI</dc:creator><upnp:artist>AFI</upnp:artist><upnp:albumArtURI>http://192.168.1.3:57645/external/audio/albums/484.jpg</upnp:albumArtURI><upnp:genre>Rock</upnp:genre><dc:date>2006-01-01</dc:date><upnp:album>&lt;unknown&gt;</upnp:album><upnp:originalTrackNumber>3</upnp:originalTrackNumber><res protocolInfo="http-get:*:audio/mpeg:*" bitrate="24000" size="4961736" duration="0:03:26.000">http://192.168.1.3:57645/external/audio/media/39883.mp3</res></item></DIDL-Lite> // metadata = parser.generate(didl); } catch(Exception e) { Log.w(TAG, "Metadata generation failed", e); -- cgit v1.2.3