UPNP XML Change Request [#14929]

To get bugs in the current release fixed, please report them here.

Moderator: Gurus

MyVikes
Posts: 2
Joined: Sun Jul 02, 2017 1:20 am

UPNP XML Change Request [#14929]

Post by MyVikes » Sat Jun 30, 2018 8:20 am

I would like to request the addition of a new element to the XML returned to the UPNP client requesting an album listing for an artist/album artist by adding the dc:date element with the date/year attribute. This would allow UPNP clients to sort albums by year. Other UPNP servers return this value and MM is the only one I've found that does not.

Below would be how the XML would be changed:

<DIDL-Lite xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/" xmlns:dc="......" xmlns:sec="...." xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/">
<container id="0\Music\Album Artist\J\James Gang\[All]" parentID="0\Music\Album Artist\J\James Gang" restricted="1" searchable="0">
<dc:title>[All]</dc:title>
<dc:creator>James Gang</dc:creator>
<upnp:artist role="Performer">James Gang</upnp:artist>
<upnp:MM_NextCheckState>-1</upnp:MM_NextCheckState>
<upnp:class>object.container.storageFolder</upnp:class>
</container>
<container id="0\Music\Album Artist\J\James Gang\Bang" parentID="0\Music\Album Artist\J\James Gang" restricted="1" searchable="0" childCount="9">
<dc:title>Bang</dc:title>
<dc:date>1973-01-01</dc:date>
<dc:creator>James Gang</dc:creator>
<upnp:artist role="Performer">James Gang</upnp:artist>
<upnp:albumArtURI dlna:profileID="JPEG_TN">http://....ip address....:55942/3058.jpg</upnp:albumArtURI>
<upnp:MM_NextCheckState>-1</upnp:MM_NextCheckState>
<upnp:class>object.container.album.musicAlbum</upnp:class>
</container>
<container id="0\Music\Album Artist\J\James Gang\Rides Again" parentID="0\Music\Album Artist\J\James Gang" restricted="1" searchable="0" childCount="9">
<dc:title>Rides Again</dc:title>
<dc:date>1973-01-01</dc:date>
<dc:creator>James Gang</dc:creator>
<upnp:artist role="Performer">James Gang</upnp:artist>
<upnp:albumArtURI dlna:profileID="JPEG_TN">http://....ip address....:55942/3059.jpg</upnp:albumArtURI>
<upnp:MM_NextCheckState>-1</upnp:MM_NextCheckState>
<upnp:class>object.container.album.musicAlbum</upnp:class>
</container>
<container id="0\Music\Album Artist\J\James Gang\Thirds." parentID="0\Music\Album Artist\J\James Gang" restricted="1" searchable="0" childCount="9">
<dc:title>Thirds.</dc:title>
<dc:date>1974-01-01</dc:date>
<dc:creator>James Gang</dc:creator>
<upnp:artist role="Performer">James Gang</upnp:artist>
<upnp:albumArtURI dlna:profileID="JPEG_TN">http://....ip address....:55942/3060.jpg</upnp:albumArtURI>
<upnp:MM_NextCheckState>-1</upnp:MM_NextCheckState>
<upnp:class>object.container.album.musicAlbum</upnp:class>
</container>
<container id="0\Music\Album Artist\J\James Gang\Yer&amp;apos; Album" parentID="0\Music\Album Artist\J\James Gang" restricted="1" searchable="0" childCount="11">
<dc:title>Yer&amp;apos; Album</dc:title>
<dc:date>1975-01-01</dc:date>
<dc:creator>James Gang</dc:creator>
<upnp:artist role="Performer">James Gang</upnp:artist>
<upnp:albumArtURI dlna:profileID="JPEG_TN">http://....ip address....:55942/3061.jpg</upnp:albumArtURI>
<upnp:MM_NextCheckState>-1</upnp:MM_NextCheckState>
<upnp:class>object.container.album.musicAlbum</upnp:class>
</container>
</DIDL-Lite>

Lowlander
Posts: 44762
Joined: Sat Sep 06, 2003 5:53 pm
Location: MediaMonkey 5

Re: UPNP XML Change Request

Post by Lowlander » Mon Jul 02, 2018 10:12 am

Lowlander (MediaMonkey user since 2003)

MyVikes
Posts: 2
Joined: Sun Jul 02, 2017 1:20 am

Re: UPNP XML Change Request [#14929]

Post by MyVikes » Tue Jul 03, 2018 8:42 am

Thanks Lowlander

Post Reply