Sonos 搜索结果被禁用
Sonos search results are disabled
我已经在我的 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>
我猜您希望网络钓鱼结果成为用户可以浏览的容器。在这种情况下,您应该返回 mediaCollection
个对象而不是 mediaMetadata
.
我已经在我的 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>
我猜您希望网络钓鱼结果成为用户可以浏览的容器。在这种情况下,您应该返回 mediaCollection
个对象而不是 mediaMetadata
.