Skip to content

SONOS PLAYBAR SetAVTransportURI fail  #61

@yamatakau08

Description

@yamatakau08

I used Sonos Ruby control program.
It works find and feel great.

This writing doesn’t matter your program’s issue.
Since you have expertise in control Sonos products, I need your help.

I’m trying to play DMS content on Sonos PLAYBAR on my Ruby Script.
When I execute SetAVTransportURI on PLAYBAR, PLAYBAR replys error code 714.
But other DMR can play the contents I specified, but PLAYBAR doesn’t.

I suspect the root cause in metadata.
How do I modifiy metadata to play DMS contents on PLAYBAR?
Do you have any advice?
Your help are very appreciated.

The following is the arguments data on SetAVTransportURI to PLAYBAR.

uri:'http://192.168.0.102:60400/getContent?id=6826'
metadata: '<DIDL-Lite xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/"
xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/"
xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/"
xmlns:arib="urn:schemas-arib-or-jp:elements-1-0/"
xmlns:av="urn:schemas-sony-com:av">
<item id="60001aaa;70001114;70001107;700010a7;70001004;6;0" parentID="70001114;70001107;700010a7;70001004;6;0" restricted="0" refID="60001aaa;5;0"><dc:title>MPEG-1-L3-44.1kHz-JS2ch-CBR-128kbps</dc:tit
le><upnp:class>object.item.audioItem.musicTrack</upnp:class><res protocolInfo="http-get:*:audio/mpeg:DLNA.ORG_PN=MP3;DLNA.ORG_OP=01;DLNA.ORG_FLAGS=01500000000000000000000000000000" size="5339136" dura
tion="00:05:32" sampleFrequency="44100" bitrate="16000" bitsPerSample="16" nrAudioChannels="2">http://192.168.0.102:60400/getContent?id=6826</res><upnp:originalTrackNumber>0</upnp:originalTrackNumber>
<upnp:album>Joint Stereo</upnp:album><upnp:albumArtURI>http://192.168.0.102:60400/getTrackArt?id=6826</upnp:albumArtURI><upnp:albumArtURI dlna:profileID="JPEG_TN">http://192.168.0.102:60400/getAlbumIc
on?id=867</upnp:albumArtURI><pv:playcount xmlns:pv="http://www.pv.com/pvns/">0</pv:playcount></item></DIDL-Lite>'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions