2018-07-17

How to delete the mp3 file of the current audacious song

I you want to delete the mp3 file of the current song playing in audacious just follow these steps:

  • First add the following text to the change song plugin for the starting songs
    echo "%f"<audacious.tx
  • now execute this command each time you want to delete a song.
    rm "`cat audacious.txt|sed -e 's/%20/ /g' |sed -e 's/%26/\&/g' |sed -e 's/file:..//g'`"
    

Maybe you'll have to add more sed commands depending on the name of your songs.

Happy hacking!!!

No hay comentarios: