Recent

Author Topic: Using Cinnamon Sound Applet  (Read 2849 times)

Zittergie

  • Full Member
  • ***
  • Posts: 114
    • XiX Music Player
Using Cinnamon Sound Applet
« on: December 06, 2015, 01:55:23 pm »
HI,

I would like to add support for the Cinnamon (Linux Mint) sound applet, so I can show CD Cover and use the command buttons.
I do not find the right information on how to implement the needed code in Lazarus.
Be the difference that makes a difference

varianus

  • New Member
  • *
  • Posts: 22
Re: Using Cinnamon Sound Applet
« Reply #1 on: December 06, 2015, 05:54:46 pm »
I do not use Cinnamon but i think that, as in others DM, sound applet uses the MPRIS D-BUS Interface http://specifications.freedesktop.org/mpris-spec/latest/

FPC D-BUS implementation is very low lovel and quite hard to use.

You could look at the MPRIS2 code i've written for OvoPlayer: https://github.com/varianus/ovoplayer/blob/master/src/platform/linux/mpris2.pas

Zittergie

  • Full Member
  • ***
  • Posts: 114
    • XiX Music Player
Re: Using Cinnamon Sound Applet
« Reply #2 on: December 06, 2015, 06:28:01 pm »
Hi Varianus,

Thanks. I will take a good look at your code and try to implement it in my code (https://sourceforge.net/p/xixmusicplayer/svn/HEAD/tree/)
I like your idea of using different audio engines too.  Nice work.
Be the difference that makes a difference

 

TinyPortal © 2005-2018