2

How can I open a track with Banshee using command line? Obviously banshee file.mp3 don't work. Is there another command?

See what I'm trying to accomplish is to make puddletag to play tracks in banshee. There's a preference "Programs to play files with" in puddletag. I've tried muinshee --stop && muinshee --play. That should run as muinshee --stop && muinshee --play <file> from puddletag. But this just stops and plays the currently playing track. Not the file mentioned in the command.

5
  • Try reading the man page
    – demure
    May 24, 2013 at 18:37
  • @Radu sorry about that.
    – RolandiXor
    May 24, 2013 at 19:19
  • 1
    I don't think that this question is duplicate of Can I use banshee from the command line?. That question is about that if Banshee can be controled from the command line* and this question is about **how to open a track with Banshee using command line. I think that Binoy Babu knew about the fact that Banshee can be controled from the command line. May 24, 2013 at 19:23
  • @demure of course i've read the man page. Try reading the question again. Radu Thanks
    – Binoy Babu
    May 25, 2013 at 8:50
  • @BinoyBabu I just edited my answer for your new request. May 25, 2013 at 10:12

1 Answer 1

5

According to man banshee, you can use:

banshee --play file.mp3

or

 muinshee --play file.mp3

If you already play a track, use below command to change to another track:

banshee --play-enqueued another_file.mp3

More about: http://manpages.ubuntu.com/manpages/raring/man1/banshee.1.html

5
  • I'm aware of that. This opens banshee and plays the track. But repeating the command won't work if track if banshee is still running.
    – Binoy Babu
    May 25, 2013 at 8:48
  • @BinoyBabu Did you tried banshee --stop && banshee --play file.mp3? May 25, 2013 at 8:54
  • Sadly that just stops and play the 1st track instead of the 2nd one. Is that the expected behavior? Updated question.
    – Binoy Babu
    May 25, 2013 at 9:13
  • What version are you using? Did you try running the command while you are already playing a track?
    – Binoy Babu
    May 25, 2013 at 9:19
  • 1
    @BinoyBabu I use Banshee 2.6.1 and yes, I run the command while already playing a track. And now I found, is better to use banshee --play-enqueued file.mp3 - I told you to see more on the man page :) May 25, 2013 at 10:02

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .