2
# Audacious Emulated pipe
3
# Pipe created by ChAnGFu
5
STATUS=$(audtool playback-status)
6
TITLE=$(audtool current-song)
8
if [ "$STATUS" = "audtool: audacious server is not running!" ]; then
11
if [ "$TITLE" = "No song playing." ]; then
16
echo "status: $STATUS"
18
echo "trackInPlaylist: $(audtool playlist-position)"
19
#Position actuelle en secondes
20
echo "uSecPosition: $(audtool current-song-output-length-frames)"
22
#echo "timeElapsed $(audtool current-song-output-length)"
24
#Temps total en secondes
25
echo "totalTimeInSec $(audtool current-song-length-frames)"
27
#echo "totalTime: $(audtool current-song-length)"
30
echo "nowTitle: $TITLE"