Mercurial > audlegacy
view audtool/examples/np.sh @ 2077:e074c9ba7072 trunk
[svn] - cleanup the declaration of PlaylistEntry, and add some initial structure for migrating to multiple playlists.
author | nenolod |
---|---|
date | Mon, 11 Dec 2006 01:53:05 -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)"