Bug 192 - the command "display ? ?" doesn't return the text on the display
: the command "display ? ?" doesn't return the text on the display
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: CLI
: unspecified
: PC All
: P2 normal (vote)
: ---
Assigned To: Blackketter Dean
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2004-02-18 11:05 UTC by Bas de Bree
Modified: 2008-09-15 14:37 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 Bas de Bree 2004-02-18 11:05:08 UTC
When I put some text on the display of the player with i.e.:
"display Hello World 20"
and after sending this command (which succeeds), I send the command:
"display ? ?"
Then the server returns me the text of the current song (which would normally 
be correct) instead of:
"Hello
World"
Comment 1 Blackketter Dean 2004-02-19 10:50:27 UTC
I thought I responded to this earlier, but I can't find a record of it. 

The display command shows what should be on the display, independent of animation and other 
transformations (such as scrolling or double size).   Using the display command to display text 
temporarily is considered an animation.    

I think that both are useful features, but it seems that you need to see exactly what's on the display, 
right?  Can you post some details about your needs so we can add a new command to do what you 
want?
Comment 2 Bas de Bree 2004-02-19 12:48:00 UTC
Ok, this didn't become clear out of the documentation, so I thought it was a 
bug.
In response to your quistion what features I would like to have included.
Well let me explain why I'm testing and what features I would like to be added.

I'm building a Java based API to communicate with the Slimp3 server (and 
player). This API uses the commandline interface to communicate.
I'm building this API, because it is fun, and I wanna build a Winamp like 
player interface for slimp3. So this API will be very usefull for it.
Developing it as API, it will be reusable and might even inspire other people 
to build some onther cool tool, news reader or what ever they like (in Java).
So I've implemented most features, and my unit test failed on the display one 
(because of the mis interpreted documentation).
So I would like to have the feature added to read what is exactly on the 
display. So if there is text put on it by an application, then I'm 
interesseted in those lines.

In addition to that function, I would very much like to have some functions to 
query what's in the media library, now I only see functions to do something 
with the currently playing playlist. I would like to be able to "discover" 
what other playlists, songs, streams, etc are available... so I can complete 
my API and enable peopple to build a good player on top of Slimp3.

Thaks in advance,
Bas
Comment 3 Blackketter Dean 2004-02-19 13:44:18 UTC
Ok, thanks for the clarification.  Some more notes:

One issue here is that the display may be changing rapidly, so you'll 
need to poll frequently.  

Also, do you want the text from the display before or after it's been updated to 
double-size characters?  

Finally, since there are custom characters on the display, do you just want the 
raw display codes that we send to the player so you can re-render them?

Comment 4 Bas de Bree 2004-02-19 14:09:56 UTC
In response to the previous message,
Polling is fine... for now I'm building the API and I think I can gather 
enough info with polling.

I would like to have the text before it is updated to double size, or if it's 
not much work I prefer to send that choice as an option. In case it is some 
work, please send them before updating to double size.

Raw codes are just fine, I'll find a way to translate them into codes / 
objects.

finally,
Would it be possible to build some functionality to query the whole music 
library? and if you're willing and planning to build this kind of 
functionality...
could you give me an idea about when it will be implemented?
and finally may I ask you, if this all will be implemented to send some 
documentation in advance so I will be able to already build some functions for 
future usage.
Thanks a lot.
Comment 5 Blackketter Dean 2004-03-18 16:53:59 UTC
added:

displaynow ? ? 

which shows exactly what's on the display.

Comment 6 Chris Owens 2006-06-16 14:40:12 UTC
There are 536 bugs in the database with targets of '---' that were fixed prior to new year 2006.  I am setting them to targets of 6.2.1 to keep them from showing up in my queries.