view audtool/examples/np-colourful.sh @ 2257:af716dc0cdb9 trunk

[svn] - do not create GtkAccelGroup anymore; use ui_manager_get_accel_group to get accelerator groups from ui_manager
author giacomo
date Thu, 04 Jan 2007 03:58:58 -0800
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"