0

由于浏览器中容器的两行显示不起作用,通过搜索它可以正常工作。有人可以查看下面的输出吗?

<?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 回答