Bugzilla – Bug 192
the command "display ? ?" doesn't return the text on the display
Last modified: 2008-09-15 14:37:04 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"
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?
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
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?
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.
added: displaynow ? ? which shows exactly what's on the display.
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.