adding another player to Sound Setting

Please post suggestions for improvement of Cinnamon here
https://github.com/linuxmint/Cinnamon
Post Reply
tacoz
Level 3
Level 3
Posts: 106
Joined: Wed Aug 12, 2009 12:38 am
Location: Zoolooland

adding another player to Sound Setting

Post by tacoz » Mon Jun 20, 2016 3:25 pm

While Banshee is the player that I see in the Sound/Volume app...
How do I go about adding whatever other music player I've installed, there as well?
I can't seem to find it via dconf (where I would've made a whitelist change when I used Xfce)
Thanks!

rene
Level 12
Level 12
Posts: 4270
Joined: Sun Mar 27, 2016 6:58 pm

Re: adding another player to Sound Setting

Post by rene » Mon Jun 20, 2016 4:20 pm

The Sound Settings -> Applications tab is a realtime display of applications currently using the sound system. Other applications will hence be "added" only once you start them...

Cosmo.
Level 23
Level 23
Posts: 17830
Joined: Sat Dec 06, 2014 7:34 am

Re: adding another player to Sound Setting

Post by Cosmo. » Mon Jun 20, 2016 4:58 pm

The sound applet does not support all programs, e.g. Totem is not supported. There is nothing you can do about.

tacoz
Level 3
Level 3
Posts: 106
Joined: Wed Aug 12, 2009 12:38 am
Location: Zoolooland

Re: adding another player to Sound Setting

Post by tacoz » Mon Jun 20, 2016 5:19 pm

rene wrote:Other applications will hence be "added" only once you start them...
Umm... that's not true--at least with the few players I tried--otherwise I wouldn't have had to ask...
So I'm more inclined to concede with @Cosmo's explanation

A small bummer, but hey...
a big thanks!

rene
Level 12
Level 12
Posts: 4270
Joined: Sun Mar 27, 2016 6:58 pm

Re: adding another player to Sound Setting

Post by rene » Mon Jun 20, 2016 5:32 pm

Certainly it is in fact true for said Sound Settings -> Applications tab. Rereading, I would however agree that it would have made more sense if I had assumed you meant the "Launch Player" submenu of the sound applet.

Yes, to that are added only some applications and only in automatic manner; I believe the discriminator in this is so-called MPRIS2 support on part of the player.

[EDIT] MPRIS2 via D-BUS: http://segfault.linuxmint.com/2015/09/c ... ent-314609.

tacoz
Level 3
Level 3
Posts: 106
Joined: Wed Aug 12, 2009 12:38 am
Location: Zoolooland

Re: adding another player to Sound Setting

Post by tacoz » Tue Jun 21, 2016 3:41 am

@rene
Yeah I had seen that deadbeef was listed as a supported player on Cinnamon 3.0.5
but it doesn't show up on the sound app (hence the post question)
It would seem then that the mpris plugin hasn't been compiled yet
I thought using a desklet might be a workaround but there's only one, Soundbox, and it's faulty on Sarah

rene
Level 12
Level 12
Posts: 4270
Joined: Sun Mar 27, 2016 6:58 pm

Re: adding another player to Sound Setting

Post by rene » Tue Jun 21, 2016 4:52 am

Untested on 18 but just now tested on 17.3:

1) grab http://sourceforge.net/projects/deadbee ... b/download and install; sudo dpkg -i deadbeef-static_0.7.2-2_amd64.deb.

The .deb installs deadbeef in /opt/deadbeef. Clearly adjust the following to fit if you elect to build deadbeef yourself and install it elsewhere (or if deadbeef is available in the repository for 18; it's not for 17.3).

2) grab https://github.com/Serranya/deadbeef-mp ... 1.8.tar.xz

Code: Select all

$ sudo apt-get install build-essential libglib2.0-dev
$ tar xvf deadbeef-mpris2-plugin-1.8.tar.xz
$ cd deadbeef-mpris-plugin-1.8
$ CPPFLAGS=-I/opt/deadbeef/include ./configure --prefix=/opt/deadbeef
$ make
$ sudo make install
I can't be completely sure if indeed build-essential and libglib2.0-dev is all you need on a fresh system; I might have missed dependencies that were here already installed but I suppose you will be able to figure it out. After this, deadbeef showed up on my 17.3 / Cinnamon 2.8.8 sound applet player selection.

tacoz
Level 3
Level 3
Posts: 106
Joined: Wed Aug 12, 2009 12:38 am
Location: Zoolooland

Re: adding another player to Sound Setting

Post by tacoz » Tue Jun 21, 2016 10:26 am

rene wrote:Untested on 18 but just now tested on 17.3...
Awesome!
Looks interesting and will try to get to this on the weekend!

Post Reply

Return to “Cinnamon”