scripts/caminfo.sh

10 lines
398 B
Bash
Raw Normal View History

2014-09-13 21:23:13 +02:00
#!/bin/bash
#if [ -a /tmp/xmms-info ]
# then cat /tmp/xmms-info | tail -n 2 | head -n 1 | sed -e s/Title:/Listening\ to:/ | sed -e s/<2F>/ï/ | sed -e s/<2F>/ö/ | sed -e s/<2F>/a/ | sed -e s/<2F>/ê/ | sed -e s/<2F>/é/ | sed -e s/<2F>/è/ | sed -e s/<2F>/ç/ | sed -e s/<2F>/o/ > /home/n/.caminfo
# else echo > /home/n/.caminfo
#fi
#echo > /home/n/.caminfo
/usr/local/bin/infopipe.pl > /home/n/.caminfo 2>/dev/null