view audtool/examples/infoline.sh @ 1317:a698348c5155 trunk

[svn] - libaac: potential buffer overflow vulnerability fix - libguess: build as a static library instead of installing as a shared object (via dai+audacious -at- vdr.jp)
author nenolod
date Mon, 19 Jun 2006 23:39:11 -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