0

理由により、ブラウズでのコンテナの 2 行表示が機能していません。検索を使用すると、完全に機能します。誰かが以下の出力を確認できますか?

<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:Body>
      <getMetadataResponse xmlns="http://www.sonos.com/Services/1.1">
         <getMetadataResult>
            <index>0</index>
            <count>2</count>
            <total>2</total>
            <mediaCollection>
               <canPlay>true</canPlay>
               <id>album-1200</id>
               <title>En de wind stilde</title>
               <itemType>album</itemType>
               <artistId>artist-5716</artistId>
               <artist>Ds. D.W. Tuinier</artist>
               <albumArtURI>http://***/albumart.php?album_id=1200&amp;size=200</albumArtURI>
            </mediaCollection>
            <mediaCollection>
               <canPlay>true</canPlay>
               <id>album-1163</id>
               <title>De Tas</title>
               <itemType>album</itemType>
               <artistId>artist-5619</artistId>
               <artist>Ben de Raaf</artist>
               <albumArtURI>http://***/albumart.php?album_id=1163&amp;size=200</albumArtURI>
            </mediaCollection>
         </getMetadataResult>
      </getMetadataResponse>
   </soap:Body>
</soap:Envelope>
4

1 に答える 1

0

問題の原因は親コンテナにありました。親コンテナの itemType は、コンテナではなく AlbumList である必要があります。

Sonos Developer Advocacy に感謝します。

于 2015-07-29T16:12:14.750 に答える