annotate 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
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)"