annotate audtool/examples/np.sh @ 2087:bc47a2129067 trunk

[svn] - update these files
author nenolod
date Mon, 11 Dec 2006 04:30:50 -0800
parents 641ee4092aea
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1200
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
1 #!/bin/sh
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
2 SONGTITLE=$(audtool current-song)
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
3 SONGELAPSED=$(audtool current-song-output-length)
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
4 SONGLEN=$(audtool current-song-length)
1784
641ee4092aea [svn] - allow the menurow to be set invisible
nenolod
parents: 1200
diff changeset
5 MIME=$(file -ib "`audtool current-song-filename`")
1200
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
6
1784
641ee4092aea [svn] - allow the menurow to be set invisible
nenolod
parents: 1200
diff changeset
7 echo "np: $SONGTITLE [$MIME] ($SONGELAPSED/$SONGLEN)"