view audtool/examples/np-colourful.sh @ 1296:b7d8e6e77ba6 trunk

[svn] - initial album art support
author nenolod
date Sun, 18 Jun 2006 21:35:32 -0700
parents 6af3f8fb2ed0
children
line wrap: on
line source

#!/bin/sh
SONGTITLE=$(audtool current-song | sed 's: - : 09-12 :g')
SONGELAPSED=$(audtool current-song-output-length)
SONGLEN=$(audtool current-song-length)
SONGPOS=$(audtool playlist-position)
PLAYLEN=$(audtool playlist-length)

printf "\00303-=[\003 \00312$SONGPOS\00309/\00312$PLAYLEN\00309:\00312 $SONGTITLE \00309(\00312$SONGELAPSED\00309/\00312$SONGLEN\00309)\00303 ]=-\003\n"