Sonos搜索结果已停用

时间:2017-12-24 16:31:11

标签: soap sonos

我已经对我的Sonos应用程序实施了基本搜索,但结果已停用且无法访问:

Screenshot of search result

响应:

<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>

1 个答案:

答案 0 :(得分:0)

我猜你希望Phish结果成为用户可以浏览的容器。在这种情况下,您应该返回mediaCollection个对象,而不是mediaMetadata