Bug 9603 - count: comes after list of replies, not before
: count: comes after list of replies, not before
Status: RESOLVED INVALID
Product: Logitech Media Server
Classification: Unclassified
Component: CLI
: 7.1
: PC Windows XP
: -- normal (vote)
: ---
Assigned To: Unassigned bug - please assign me!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-09-28 15:18 UTC by thorvaldur
Modified: 2008-09-29 10:29 UTC (History)
1 user (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description thorvaldur 2008-09-28 15:18:02 UTC
While browsing in CLI using genre, artist, album or playlist (at least), the count: comes after the list of items not before as it was before (pre 7.0) and as the CLI documentation states. 

So instead of:
Request: "genres 0 5 search:unk<LF>"
Response: "genres 0 5 search:unk count:1 id:4 genre:Alternative%20&%20Punk<LF>" 

We get:
Request: "genres 0 5 search:unk<LF>"
Response: "genres 0 5 search:unk id:4 genre:Alternative%20&%20Punk count:1<LF>" 

I haven't tried this in 7.2, but don't see it in the release notes.
Comment 1 Michael Herger 2008-09-29 01:30:36 UTC
IMHO CLI responses which use tagged values aren't positional. You'll have to parse the tags.
Comment 2 Chris Owens 2008-09-29 10:29:54 UTC
Andy agrees with Michael