Hi Tiki,
I have question..
Does TuneBrowser currently use the duration from DIDL-Lite metadata (<res duration=”…”>)?
When I inspected the UPnP traffic, it seemed that TuneBrowser retrieves DIDL metadata returned in GetPositionInfo, and may be using the duration attribute from the <res> element. It’s right?
Denon support responded to my inquiry and stated the following:
The seekbar should be rely on AVTransport values such as TrackDuration and RelTime / AbsTime.
DIDL metadata should not be used for seekbar calculation, because DIDL duration is only descriptive metadata and may not match the renderer’s actual playback behavior.
This matches the UPnP AV, which classify DIDL <res> attributes (including duration) as optional descriptive metadata, while playback state and timeline information must come from AVTransport.
https://upnp.org/specs/av/UPnP-av-ContentDirectory-v1-Service.pdf
Page 9, res is not required, but multiple values is valid.