Page 1 of 1

Subsonic as MPD Client

PostPosted: Tue Nov 29, 2011 9:22 pm
by Aldarone
Hello !

It would be awesome if Subsonic could be a MPD client. It's the only feature that is missing from Ampache (or Jinzora)

Currently I have several PCs in my house, when I want some music I go on subsonic and play it via the flash player or playlist.

If subsonic was able to control a remote MPD server, I would be able to start a playlist in my kitchen from my living room (for example).

It would work just like the jukebox mode but instead of playing on the subsonic-host soundcard it would stream to one (or maybe several at a time ?) configured local or remote MPD server.

I don't have any idea how hard it would be to implement such thing.

Here are some docs:

Java library for MPD: http://www.thejavashop.net/javampd/
General MPD prtocol documentation: http://www.musicpd.org/doc/protocol/

Re: Subsonic as MPD Client

PostPosted: Mon Oct 29, 2012 2:27 pm
by sanderd
Hi,

I also think it would a great idea to have mpd as option for jukebox mode. They way subsonic works now causes clicks/cracks/noise when i skip trackss. This does not happen with mpd.

In jukeboxmode i connect my high end audio DAC (chordette gem) with usb cable to my home server running openmediavault + subsonic.
(noise also present with XP as server OS).

Does someone know if and how mpd can be used? Or why not?

Thanks,
Sander

Re: Subsonic as MPD Client

PostPosted: Mon Jan 14, 2013 8:57 pm
by benofishal
Hi,

You can use PulseAudio to receive the output from Java (Subsonic Jukebox) and then broadcast this via RTP streaming in PulseAudio. You can then configure PulseAudio RTP receivers around your network (Raspberry Pi for instance) to receive the broadcast and have multi room synced audio from the Subsonic jukebox.

Not sure about Windows but this works with a Linux Subsonic server.

Still have the annoying click between tracks though.

Have a look at http://www.raspberrypi.org/phpBB3/viewt ... 4&p=256368

There are various problems with compatibility of PulseAudio and various Java distros, look at viewtopic.php?f=2&t=8534

If you have a soundcard in the server computer you may need to specify the PulseAudio mixer as your default subsonic sound device, and then configure pulseaudio to use RTP as it's default output sink otherwise it may try to use the internal/attached soundcard.