我已经在我的Sonos应用程序中实现了一个基本的搜索,但结果是禁用的,并且无法访问:

响应:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tns="http://www.sonos.com/Services/1.1">
<soap:Body>
<searchResponse xmlns="http://www.sonos.com/Services/1.1">
<searchResult>
<index>0</index>
<count>1</count>
<total>1</total>
<mediaMetadata>
<id>Artist:phish</id>
<itemType>artist</itemType>
<title>Phish</title>
<authrequired>0</authrequired>
<canPlay>false</canPlay>
</mediaMetadata>
</searchResult>
</searchResponse>
</soap:Body>
</soap:Envelope>发布于 2017-12-25 01:01:01
我猜您希望Phish结果是一个用户可以浏览的容器。在这种情况下,您应该返回mediaCollection对象,而不是mediaMetadata。
https://stackoverflow.com/questions/47962302
复制相似问题