From: Michael R. <re...@eu...> - 2004-01-16 05:43:45
|
Markus Keil schrieb: > Now i like to test the plugin to verify that it works correct. > So i need the Command for the Interactive mode of LCD4Linux, to read the > value of my function. Just run lcd4linux with the option "-i", then you see an "eval>" prompt, where you can enter your expressions. > Also i need some information how to upload the new version (if it works > perfectly) in the CVS-Tree. you could either do a "cvs commit" and enter some changelog info, or do a "cvs diff -u" and send the patch to me > - Every Value has its on Function > So users don't need to use complex Strings to get the information. > Now users can access the information over functions like xmms-status() > or xmms-title() Are you shure that tis is a good idea? for the 'complexity': xmms('title') xmms-title() I cannot see much of a difference :-) But you'll give up a great advantage of the current scheme: content insesitivity. I mean the plugin now uses the argument and looks up the corresponding string/key/line in xmms-info. If the line could not be found, it returns an empty string (or '??' or whatever). Now if someday xmms decides to write a new info called "SuperJunk" into the info file, there's no need to change your plugin, yu can use xmms('SuperJunk') immediately. I'm writing all my plugins this way. I think it's better. bye, Michael -- Michael Reinelt Tel: +43 676 3079941 Geisslergasse 4 Fax: +43 316 692343 A-8045 Graz, Austria e-mail: re...@eu... |