Hi,

when i have to use the command move generally it is for moving the 
current song to the first place. so i wrote a small bash script to do 
it:
#!/bin/bash
DEFPLACE=1
CURPLACE=$(mpc | grep '#' | sed -e 's/^[^#]\+#\([^/]\+\).*/\1/')
mpc move $CURPLACE $DEFPLACE

(not tested yet but the regexp works, sot it should work too)

i don't know if this can help someone, and if it is the correct place 
to do it, but i wanted to share it.

and by the way, maybe you could add this behavior as an option, if the 
'from' information is replaced by 'current' it will move the current 
song.

-- 
Cordialement, Daniel Cartron
_______________________________________________
mpd-devel mailing list
[email protected]
http://mailman.blarg.de/listinfo/mpd-devel

Reply via email to