UPnP Browse bug with RequestedCount=0

This forum is for reporting bugs in MediaMonkey for Windows 4. Note that version 4 is no longer actively maintained as it has been replaced by version 5.

Moderator: Gurus

bubbleguuum
Posts: 6
Joined: Sun Jan 15, 2012 10:13 am

UPnP Browse bug with RequestedCount=0

Post by bubbleguuum »

There's an UPnP/DLNA bug affecting all versions of MM, up to version beta 4.1.6.1725.

It concerns implementation of UPnP action Browse() in the ContentDirectory service.
If this function is invoked with input parameter RequestedCount=0, it returns 0 item.
The spec says that RequestedCount=0 should return *all* items of the container.
The bug is easy to reproduce with Device Spy, for example browsing the root (id="0") with RequestedCount=0, returns DIDL-Lite:

Code: Select all

<DIDL-Lite xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sec="http://www.sec.co.kr/dlna/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/"></DIDL-Lite>
This bug can cause issues with some Control Points, that will show no content browsing MM.