view audtool/examples/infoline.sh @ 1689:b59d6c3258fc trunk

[svn] Install audacious_player.xpm as well, so one can use it as a desktop icon. Requested by Jan Schummers <darkadmiral@onlinehome.de>.
author js
date Thu, 14 Sep 2006 08:46:01 -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