view audtool/examples/np.sh @ 2305:e1e61c9415fa trunk

[svn] - new e-mail address
author nenolod
date Wed, 10 Jan 2007 04:18:25 -0800
parents 641ee4092aea
children
line wrap: on
line source

#!/bin/sh
SONGTITLE=$(audtool current-song)
SONGELAPSED=$(audtool current-song-output-length)
SONGLEN=$(audtool current-song-length)
MIME=$(file -ib "`audtool current-song-filename`")

echo "np: $SONGTITLE [$MIME] ($SONGELAPSED/$SONGLEN)"