view audtool/examples/np.sh @ 1963:8cca76c8f5c3 trunk

[svn] - show_newui_window() implementation
author nenolod
date Sun, 12 Nov 2006 02:37:32 -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)"