Ubuntu – use banshee from the command line

bansheecommand line

I love Banshee media player in general, and I already have an important library of music, which I've spent a lot of time organizing (labeling, correcting, etc).

I also use the command line a lot, so I wonder if there is a way I can control banshee from the command line. As in:

  • Next, Prev, Stop, Play, etc
  • In anyway query the Banshee database as if using the search box in the GUI

I was akin to program it myself if there isn't, but that would be another question 🙂

Best Answer

According to man banshee, it is possible to control playback. I'm not sure about searching though.

Here are a few of the controls that you mentioned. Check the man page for many more.

--next 
    Play the next track, optionally restarting if the 'restart' value is set

--previous 
    Play the previous track, optionally restarting if the 'restart value is set

--stop 
    Completely stop playback

--play 
    Start playback