Changes between Initial Version and Version 1 of plugin_mpd


Ignore:
Timestamp:
05/29/06 08:43:58 (13 years ago)
Author:
anonymous
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • plugin_mpd

    v1 v1  
     1= MPd plugin =
     2
     3Under construction!
     4
     5----
     6
     7== Functions ==
     8||mpd::artist()||return artist of current song||
     9||mpd::title()||return title or name of current song||
     10||mpd::album()||return album of current song||
     11||mpd::playtime()||return elapsed time of current song||
     12||mpd::totaltime()||return total time of current song||
     13
     14----
     15
     16== Configuration example ==
     17
     18{{{
     19Plugin Mpd {
     20 Host 'MPd-Server'
     21 Port 6600
     22}
     23}}}
     24
     25== Widget examples ==
     26
     27{{{
     28Widget mpd-title {
     29    class  'Text'
     30    expression  mpd::title()
     31    width  20
     32    align  'C'
     33    update tack
     34}
     35
     36Widget mpd-artist {
     37    class 'Text'
     38    expression mpd::artist()
     39    width 20
     40    align 'C'
     41    update tack
     42}
     43
     44Widget mpd-album {
     45    class 'Text'
     46    expression mpd::album()
     47    width 20
     48    align 'C'
     49    update tack
     50}
     51
     52Widget mpd-time {
     53    class 'Bar'
     54    expression mpd::playtime()
     55    length 20
     56    direction 'E'
     57    min 0
     58    max mpd::totaltime()
     59    update tack
     60}
     61}}}