annotate audtool/examples/np.sh @ 1797:1c0856eceaaa trunk

[svn] - fix
author nenolod
date Wed, 04 Oct 2006 20:05:42 -0700
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)"