European Open Root Server Network

Enqueue and Play a file in the current playlist

It would be nice to click an a audio file and have it added to the audacious queue and it start playing at the same time? Yep. However the obvious dosen't work:

audacious --enqueue --play /path/to/song

It adds the song but it rather plays the last selected song... *gnarf*

The following oneliner does the trick:

audtool playlist-addurl %f ; audtool playlist-jump $(audtool playlist-length) ; audtool playback-play

Where %f is the path to the song. Register this as the commandline to be executed on a click on an audio file in your favourite filebrowser and enjoy ;)