View Single Post
Old 07-29-2012, 10:55 PM   #51
chovan
Member
chovan began at the beginning.
 
Posts: 11
Karma: 12
Join Date: Oct 2011
Device: Kindle 3
Quote:
Originally Posted by Kuja View Post
K3MusicManager - A GUI for MPlayer [Version 2.3]

(- Install kaffeine, because sleep mode causes mplayer to stop after a few seconds)
Don't think you need to use kaffeine just for this reason. Modify following codes in control.sh file in mplayer should do the work. And the screen save would be re-activated after you exit mplayer.

loadplaylist() {
if ! cmd “loadlist $1″; then
## $MPLAYER -loop 0 -playlist $1 &
( lipc-set-prop com.lab126.powerd preventScreenSaver 1; $MPLAYER -loop 0 -playlist $1; lipc-set-prop com.lab126.powerd preventScreenSaver 0 ) &
fi
}
chovan is offline   Reply With Quote