Apr
23
Get the source here: lcd4linuxsvn-src.tar.bz2,
or just the PATCH.
How to install the binaries:
1) get libmpd.tar and copy it's content to /lib (home of libmpd: http://sarine.nl/gmpc-downloads)
2) install lcd4linux.svn_0.10.1-svn-1_mipsel.ipk.
If you want to compile lcd4linux on your own, first copy the compiled libmpd to ./whiterussian/openwrt/staging_dir_mipsel/lib. Then grap yourself a copy of the ipk source: lcd4linux.svn-src.
Example output (ncurses):
┌────────────────────â”
│Snuff/e Minkie Pinki│
│ Bit Cosy │
│00:51 02:08 REP/---│
│ │
└────────────────────┘
Here is my Widget configuration:
However, I wasn't able to get some Bars showing up on my display, using this Widget:
** Edit (21.11.07): this error was an lcd4linux bug and has been fixed (LCD4Linux-0.10.1-RC2, widget_bar nasty typo fixed) **
Widget mpd-album {
class 'Text'
expression mpd::album()
width 20
align 'C'
update tack
}
Widget mpd-artist-album {
class 'Text'
prefix mpd::artist('/')
expression mpd::album()
width 20
align 'M'
speed 250
update 400
}
Widget mpd-title {
class 'Text'
expression mpd::title()
width 20
align 'M'
speed 250
update tack
}
Widget mpd-status {
class 'Text'
prefix mpd::elapsedTime()
expression mpd::totalTime()
postfix mpd::getRepRand()
width 20
update tack
align 'C'
}
Layout L20x2 {
Row1 {
Col1 'mpd-artist-album'
}
Row2 {
Col1 'mpd-title'
}
Row3 {
Col1 'mpd-status'
}
Row4 {
# Col1 'mpd-test'
}
}
Variables {
tack 100
tick 100
tacku 100
}
However, I wasn't able to get some Bars showing up on my display, using this Widget:
** Edit (21.11.07): this error was an lcd4linux bug and has been fixed (LCD4Linux-0.10.1-RC2, widget_bar nasty typo fixed) **
Widget MP3Bar {
class 'Bar'
expression mpd::elapsedTimeSec()
length 20
min 0
max mpd::totalTimeSec()
direction 'E'
update tick
}
myb0x:/home/lcd4linuxsvn/src# ./lcd4linux -F -vv -ii -q
Version 0.10.2-SVN-772 starting
plugin_cfg.c: Variable tack = '100' (100)
plugin_cfg.c: Variable tacku = '100' (100)
plugin_cfg.c: Variable tick = '100' (100)
[KVV] Using station 89
[KVV] Using default port 80
[KVV] Using default refresh interval of 60 seconds
[KVV] Default abbreviation setting: off
eval> mpd::elapsedTimeSec()
62
eval> mpd::totalTimeSec()
126
eval>
Get that addictive game!

0 Trackbacks