title
Products            Buy            Support Forum            Professional            About            Codec Central
 

Question about displaying artist name with album

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Saurav

    • Jul 2012
    • 4

    Question about displaying artist name with album

    Hi,

    Long time Asset UPnP user, first time poster. I've been using Asset for a few years on an older PC, it's pretty much the only DLNA server that works well with my ROKU SoundBridge. I recently bought a new PC, and picked up a new install of Asset. There's one bit of functionality that seems to have regressed, or I'm not understanding how this works.

    In the advanced settings section, there's an option to show the artist name along with the album name. I love this feature, I haven't found any other DLNA server that can do this. It really helps with all my 'Greatest Hits' albums, various albums that I haven't played in a while and don't remember who the artist is, etc. So anyway, as far as the display goes, this is working, and when I'm scrolling through album names, the ROKU is showing me "MTV Unplugged [10,000 Maniacs]", for example. However, when I click on it, it tells me that there are 0 tracks in that album. Checking the HTTP communications using Wireshark, it looks like the ROKU is sending in a search query for an album name that includes that "[artist]" string, and then Asset replies and says that there were no matches.

    If I turn off that checkbox, I only see album names in the listing, and everything works as expected.

    I think this used to work back on my old PC, but I can't tell you what version of Asset I was on back then. Would it be possible to enhance the server behavior, so if the 'show artist name with album name' option is selected, and the search query comes in with the artist name, it ignores that and searches on just the album name? That would be really helpful

    The packet capture, in case this is helpful:

    Request:

    Code:
    POST /ContentDirectory/5fd4c27e-6528-4263-abcd-123456789abc/control.xml HTTP/1.1
    
    Host: 192.168.1.8:26125
    
    Connection: close
    
    User-Agent: Allegro-Software-WebClient/4.32
    
    Accept: */*
    
    SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1*Search"
    
    Content-Type: text/xml; charset="utf-8"
    
    Content-Length: 690
    
    
    
    <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    
     <s:Body><u:Search xmlns:u="urn:schemas-upnp-org:service:ContentDirectory:1">
    
     <ContainerID>0</ContainerID>
    
     <SearchCriteria>upnp:class derivedfrom &quot;object.item.audioItem&quot; and @refID exists false and upnp:artist = &quot;10,000 Maniacs&quot; and upnp:album = &quot;MTV Unplugged  [10,000 Maniacs]&quot;</SearchCriteria>
    
     <Filter>res@protocolInfo,res@protection,upnp:album,upnp:originalTrackNumber</Filter>
    
     <StartingIndex>0</StartingIndex>
    
     <RequestedCount>400</RequestedCount>
    
     <SortCriteria></SortCriteria>
    
    </u:Search>
    
    </s:Body>
    
    </s:Envelope>
    Response:

    Code:
    HTTP/1.1 200 OK
    
    Server: Asset/0.5.4.0
    
    Content-Type: text/xml; charset="utf-8"
    
    Ext: 
    
    Connection: close
    
    Content-Length: 624
    
    
    
    <?xml version="1.0" encoding="UTF-8"?>
    <s:Envelope s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Body><u:SearchResponse xmlns:u="urn:schemas-upnp-org:service:ContentDirectory:1"><Result>&lt;DIDL-Lite xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/"&gt;&lt;/DIDL-Lite&gt;</Result><NumberReturned>0</NumberReturned><TotalMatches>0</TotalMatches><UpdateID>4</UpdateID></u:SearchResponse></s:Body></s:Envelope>
    I should also mention that if I go into 'Browse server containers', then I see the container hierarchy I've set up in the Asset config. In that tree, I see artist names along with album names, but that works fine. The ROKU seems to be sending a 'BrowseDirectChildren' request with an object ID in that case, so it's probably handled differently in the server?

    Thanks!
    Last edited by Saurav; July 29, 2012, 12:47 AM.
  • Spoon
    Administrator
    • Apr 2002
    • 44583

    #2
    Re: Question about displaying artist name with album

    Try R4.1 in the beta section.
    Spoon
    www.dbpoweramp.com

    Comment

    • Saurav

      • Jul 2012
      • 4

      #3
      Re: Question about displaying artist name with album

      Thanks. That's the version I'm running. I just re-installed it just to be sure.

      It's not a big deal, I can use the 'browse server containers' selection to get the behavior I want, it would just be nice if the ROKU's top-level albums/artists/genres/etc. containers worked correctly too.

      Comment

      • Spoon
        Administrator
        • Apr 2002
        • 44583

        #4
        Re: Question about displaying artist name with album

        album = &quot;MTV Unplugged [10,000 Maniacs]&quot;</SearchCriteria>

        This is the problem, a bug in the Roku, it is requesting the album as MTV Unplugged [10,000 Maniacs] (which is the title, not the actual album name as set in the album item when it browsed the time before).

        The roku is not going to be compatible if you have this option enabled.
        Spoon
        www.dbpoweramp.com

        Comment

        • Saurav

          • Jul 2012
          • 4

          #5
          Re: Question about displaying artist name with album

          Thanks for the response. I looked at the messages being interchanged when the ROKU retrieves the list of albums. I see the "MTV Unplugged [10,000 Maniacs]" in the title, but I don't see anything where only "MTV Unplugged" is sent as the album name? I know this used to work with an older version of Asset.

          Here's the trace:

          Request:

          Code:
          POST /ContentDirectory/5fd4c27e-6528-4263-abcd-123456789abc/control.xml HTTP/1.1
          
          Host: 192.168.1.8:26125
          
          Connection: close
          
          User-Agent: Allegro-Software-WebClient/4.32
          
          Accept: */*
          
          SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1*Search"
          
          Content-Type: text/xml; charset="utf-8"
          
          Content-Length: 519
          
          
          
          <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
          
           <s:Body><u:Search xmlns:u="urn:schemas-upnp-org:service:ContentDirectory:1">
          
           <ContainerID>0</ContainerID>
          
           <SearchCriteria>upnp:class = &quot;object.container.album.musicAlbum&quot; and @refID exists false</SearchCriteria>
          
           <Filter></Filter>
          
           <StartingIndex>0</StartingIndex>
          
           <RequestedCount>400</RequestedCount>
          
           <SortCriteria></SortCriteria>
          
          </u:Search>
          
          </s:Body>
          
          </s:Envelope>
          Response:

          Code:
          HTTP/1.1 200 OK
          
          Server: Asset/0.5.4.0
          
          Content-Type: text/xml; charset="utf-8"
          
          Ext: 
          
          Connection: close
          
          Content-Length: 58841
          
          
          
          <?xml version="1.0" encoding="UTF-8"?>
          <s:Envelope s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Body><u:SearchResponse xmlns:u="urn:schemas-upnp-org:service:ContentDirectory:1"><Result>&lt;DIDL-Lite xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/"&gt;&lt;container id="co23" parentID="co1" restricted="0"&gt;&lt;dc:title&gt;16 Most Requested Songs  [Billie Holiday]&lt;/dc:title&gt;&lt;upnp:class&gt;object.container.album.musicAlbum&lt;/upnp:class&gt;&lt;/container&gt;&lt;container id="co178" parentID="co1" restricted="0"&gt;&lt;dc:title&gt;1920 - Soundtrack  [Various Artists]&lt;/dc:title&gt;&lt;upnp:class&gt;object.container.album.musicAlbum&lt;/upnp:class&gt;&lt;/container&gt;&lt;container id="co200" parentID="co1" restricted="0"&gt;&lt;dc:title&gt;1967 - 1970 (Disc 1), Disc 1  [The Beatles]&lt;/dc:title&gt;&lt;upnp:class&gt;object.container.album.musicAlbum&lt;/upnp:class&gt;&lt;/container&gt;&lt;container id="co199" parentID="co1" restricted="0"&gt;&lt;dc:title&gt;1967 - 1970 (Disc 2), Disc 2  [The Beatles]&lt;/dc:title&gt;&lt;upnp:class&gt;object.container.album.musicAlbum&lt;/upnp:class&gt;&lt;/container&gt;&lt;container id="co143" parentID="co1" restricted="0"&gt;
          ... and so on. That shows the first 3 albums in the list. As far as I can tell, here's the data returned for an album:

          Code:
          &lt;container id="co23" parentID="co1" restricted="0"&gt;&lt;dc:title&gt;16 Most Requested Songs  [Billie Holiday]&lt;/dc:title&gt;&lt;upnp:class&gt;object.container.album.musicAlbum&lt;/upnp:class&gt;&lt;/container&gt;
          Thanks.

          Comment

          • Spoon
            Administrator
            • Apr 2002
            • 44583

            #6
            Re: Question about displaying artist name with album

            Yes it looks like a bug, I will sort for next 4.1 beta
            Spoon
            www.dbpoweramp.com

            Comment

            • Saurav

              • Jul 2012
              • 4

              #7
              Re: Question about displaying artist name with album

              Awesome. Thanks so much.

              Comment

              Working...

              ]]>