view audtool/examples/infoline.sh @ 2182:39358599a5d1 trunk

[svn] - fix libaudacious makefile
author nenolod
date Wed, 20 Dec 2006 04:21:25 -0800
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