Bug 8926 - CLI interface not returning hasitems correctly for staff picks
: CLI interface not returning hasitems correctly for staff picks
Status: CLOSED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: CLI
: 7.1
: PC Windows XP
: P3 normal (vote)
: 7.x
Assigned To: Andy Grundman
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-07-30 04:52 UTC by Barry Gordon
Modified: 2009-07-31 10:26 UTC (History)
0 users

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Barry Gordon 2008-07-30 04:52:56 UTC
By now you guys know that with me it is always the CLI interface. This problem started showing up on 7.0.1, but not sure when and is in the released 7.1

Shown below are two request for Internet radio data. One for Staff Picks and one for Shoutcast. The Shoutcast return is correct in that items with sub items has hasitmes=1.  In Staff Picks items with sub items has hasitems=0.  All radio requests except for Staff Picks seem to work correctly



SEND: picks items 0 10
RCVD: <ID>  picks items 0 10 title%3AStaff%20Picks id%3A0 name%3ABest%20of%20Internet%20Radio isau
Arg[0]=picks    Arg[1]=items
Arg[2]=0    Arg[3]=10
Arg[4]=title:Staff Picks    Arg[5]=id:0
Arg[6]=name:Best of Internet Radio    Arg[7]=isaudio:0
Arg[8]=hasitems:0    Arg[9]=id:1
Arg[10]=name:Most Popular    Arg[11]=isaudio:0
Arg[12]=hasitems:0    Arg[13]=id:2
Arg[14]=name:By Genre    Arg[15]=isaudio:0
Arg[16]=hasitems:0    Arg[17]=id:3
Arg[18]=name:By City    Arg[19]=isaudio:0
Arg[20]=hasitems:0    Arg[21]=id:4
Arg[22]=name:By Webcaster    Arg[23]=isaudio:0
Arg[24]=hasitems:0    Arg[25]=count:5



SEND: shoutcast items 0 10
RCVD: <ID>  shoutcast items 0 10 title%3ASHOUTcast%20Internet%20Radio id%3A0 name%3ABy%20Genre typ
Arg[0]=shoutcast    Arg[1]=items
Arg[2]=0    Arg[3]=10
Arg[4]=title:SHOUTcast Internet Radio    Arg[5]=id:0
Arg[6]=name:By Genre    Arg[7]=type:link
Arg[8]=isaudio:0    Arg[9]=hasitems:1
Arg[10]=id:1    Arg[11]=name:Top 500
Arg[12]=type:link    Arg[13]=isaudio:0
Arg[14]=hasitems:1    Arg[15]=id:2
Arg[16]=name:Random 100    Arg[17]=type:link
Arg[18]=isaudio:0    Arg[19]=hasitems:1
Arg[20]=count:3
Comment 1 Andy Grundman 2008-07-30 05:12:21 UTC
FYI, when you paste output, please paste the raw output, not parsed output from your own app.
Comment 2 Barry Gordon 2008-07-30 05:16:56 UTC
If you tell me how to do that I will try.  Doesn't what I have sent show the problem?
Comment 3 Andy Grundman 2008-07-30 05:19:23 UTC
Yeah it's OK, just easier if all you include is the raw output.
Comment 4 Barry Gordon 2008-07-30 05:24:14 UTC
As I said, no issue, just what do I turn on to see the CLI output?  

Aren't U on the West coast?  If so GO TO SLEEP!!
Comment 5 Andy Grundman 2008-08-01 05:52:13 UTC
Fixed in 7.2 change 22289.
Comment 6 James Richardson 2008-12-15 12:05:42 UTC
This bug has been fixed in the 7.3.0 release version of SqueezeCenter!

Please download the new version from http://www.slimdevices.com/su_downloads.html if you haven't already.  

If you are still experiencing this problem, feel free to reopen the bug with your new comments and we'll have another look.
Comment 7 Chris Owens 2009-07-31 10:26:05 UTC
Reduce number of active targets for SC