Re: [Musicpd-dev-team] [OT?] MPRIS and MPD

2012-05-23 Thread Matt Wheeler
On 23 May 2012 15:48, Stefan Monnier monn...@iro.umontreal.ca wrote:
 Seems kind of odd to talk about integrating with shiny new Ubuntu/Unity,
 given the whole pulseaudio deal. Unless something has changed and I didn't
 notice, Ubuntu uses pulseaudio, which runs per-user, so you can't really
 get mpd to work right with log in/out without jumping through some hoops.
 (Maybe, hopefully, I've missed something?)

 Any pointers to a good description of the problem and the possible
 solutions/workarounds would be welcome, BTW.

I attempted to post this once already but managed to reply only to
Jeffrey (sorry)...

http://gmpc.wikia.com/wiki/MPD_INSTALL_USER_SERVICE_UBUNTU seems to be
the best way to run mpd on systems with pulseaudio. Another option is
setting up the system wide pulseaudio daemon (and it's possible to use
mpdris to control/monitor an MPD instance running remotely, which
still applies even without any hoop-jumping).

(Yet another possibility which I didn't think of before is setting up
pulseaudio cookies for the mpd user and any real users that might need
sound at the same time as mpd)


-- 
Matt Wheeler
m...@funkyhat.org

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team


Re: [Musicpd-dev-team] [OT?] MPRIS and MPD

2012-05-23 Thread Stefan Monnier
 http://gmpc.wikia.com/wiki/MPD_INSTALL_USER_SERVICE_UBUNTU seems to be
 the best way to run mpd on systems with pulseaudio.

My use case is a machine where we usually have 3 users logged in at the
same time (on different virtual terminals), so that's not a good solution.

 Another option is setting up the system wide pulseaudio daemon (and
 it's possible to use mpdris to control/monitor an MPD instance running
 remotely, which still applies even without any hoop-jumping).

The pulseaudio's why you shouldn't use system wide PA seems to apply
to my case, so I'd rather not go there either.

 (Yet another possibility which I didn't think of before is setting up
 pulseaudio cookies for the mpd user and any real users that might need
 sound at the same time as mpd)

That's still basically a system-wide setup, then (where you share
a single PA instance between different users).

Basically, from reading PA's documentation, I think the ideal setup for
me would have one PA process per user, and and then combine the result
via some kind of additional layer (ALSA dmix or somesuch, I don't know,
nor would I know how to set up such a thing).

Stefan


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team


Re: [Musicpd-dev-team] [OT?] MPRIS and MPD

2012-05-19 Thread Jerome Quelin
On 12/05/18 15:19 +0200, Max Kellermann wrote:
 A while ago, I attempted to start to write a MPRIS listener for MPD,
 but got lost in the utter complexity of D-Bus, gave up because I
 decided it's a waste of my precious time, given the wonderfully simple
 protocol that MPD already has.  I cannot imagine any advantage of
 MPRIS over the MPD protocol.

the only advantage is that kde now playing plasmoid will not support
mpd: i opened a bug report that ended as wontfix, saying they only want
to support mpris. so having the bridge is nice, if someone writes a
native support that gets merged in mpd it's even better.

jérôme 

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team


Re: [Musicpd-dev-team] [OT?] MPRIS and MPD

2012-05-18 Thread Max Kellermann
On 2012/05/17 17:28, Avuton Olrich avu...@gmail.com wrote:
 Maybe slightly offtopic, but in case you didn't see it and are interested.
 
 http://randomguy3.wordpress.com/?p=349

A while ago, I attempted to start to write a MPRIS listener for MPD,
but got lost in the utter complexity of D-Bus, gave up because I
decided it's a waste of my precious time, given the wonderfully simple
protocol that MPD already has.  I cannot imagine any advantage of
MPRIS over the MPD protocol.

If somebody would submit native MPRIS for MPD, I would probably merge
it (if the code is good), but for me, it's pointless and not worth my
own time.  A bridge such as described in the article above is a good
solution for people who feel they need MPRIS until then.

Max

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team


Re: [Musicpd-dev-team] [OT?] MPRIS and MPD

2012-05-17 Thread Jeffrey Middleton
Seems kind of odd to talk about integrating with shiny new Ubuntu/Unity,
given the whole pulseaudio deal. Unless something has changed and I didn't
notice, Ubuntu uses pulseaudio, which runs per-user, so you can't really
get mpd to work right with log in/out without jumping through some hoops.
(Maybe, hopefully, I've missed something?)

On Thu, May 17, 2012 at 8:28 AM, Avuton Olrich avu...@gmail.com wrote:

 Maybe slightly offtopic, but in case you didn't see it and are interested.

 http://randomguy3.wordpress.com/?p=349
 --
 avuton
 --
 Fortes fortuna adiuvat


 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and
 threat landscape has changed and how IT managers can respond. Discussions
 will include endpoint security, mobile security and the latest in malware
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 Musicpd-dev-team mailing list
 Musicpd-dev-team@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team