Mercurial > audlegacy
view src/audtool/examples/np.sh @ 3476:9152829f3c19 trunk
Allow non-active playlist to be saved to file
| author | Kieran Clancy <clancy.kieran+audacious@gmail.com> |
|---|---|
| date | Mon, 10 Sep 2007 13:47:16 +0930 |
| parents | 3149d4b1a9a9 |
| 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)"
