view audtool/examples/infoline.sh @ 1892:9d53c0faac1b trunk

[svn] - add --disable-rpath option to disable hardbinding an rpath to the audacious binaries
author nenolod
date Mon, 23 Oct 2006 11:42:56 -0700
parents 6af3f8fb2ed0
children
line wrap: on
line source

#!/bin/sh
UNUSED=0
while [  $UNUSED -lt 1 ]; do
	PLAYTIME=$(audtool current-song-output-length)
	SONGTITLE=$(audtool current-song)
	SONGLEN=$(audtool current-song-length)
	echo -n "[>] $PLAYTIME $SONGTITLE ($SONGLEN)                     "
	sleep 1
	printf "\r"
done