Subsonic server to MPD headless player

Need help? Post your questions here.

Moderator: moderators

Subsonic server to MPD headless player

Postby bsnwsub » Wed Mar 08, 2017 11:14 pm

I am new to subsonic forum and apologies up front if this is answered already. I searched and have not found my answer so here we go.
Also thank you in advance for any help.

I have been using an app called Jamcast and for various reasons I am in search for an alt and been testing Subsonic. If you know Jamcast then my question derives from the way Jamcast uses remote players. Jamcast pushes content to the remote player and there is no interaction with the remote player from user perspective other than selecting the player from the phone app.

From what I find it appears with subsonic you have to pull content from the server. Is there an ability to have Subsonic send content to the remote player?

My players are headless Raspberry Pis directly connected to amps running MPD (Music Player Daemon). The players shows up in any UPnP discovery tool and are avaiable to have content pushed to them. Currently as described above from Jamcast phone app I select the player, select music from server, and press play. Is this possible in Subsonic?

Thanks
bsnwsub
 
Posts: 1
Joined: Wed Mar 08, 2017 10:55 pm

Re: Subsonic server to MPD headless player

Postby acroyear » Thu Mar 09, 2017 4:28 pm

I have been working on a "remote player" idea for some time for SubFire, but my 1.0 architecture doesn't make it easy so I'm in the middle of a rewrite...but THAT is a bit borked because I also want the same basic feature to work for Chromecast as well, and I'm having difficulties with that.

My idea is to use some features of the API (primarily temp playlists and bookmarks) to send requests from one SubFire agent to receiving agents, that would act on the request and send feedback (current time, song ended/started, paused remotely) back to the sender. I'm basing the idea on what Plex currently does.

Like with Chromecast and Plex, it wouldn't pull locally and relay the raw data to the receiver: it would just tell the receiver "this is the url of the next song to play" and off it goes.

A related feature I'm looking at doing is "I'll play what she's playing" - pick a friend and as they play music, your player will start playing the same song as close to the same time as I can manage.

Since both features would be based on a protocol that uses the existing API and nothing additional, it should be possible to take the javascript module for them and make a command-line node.js app/daemon if one didn't want to have a webpage or app up at the receiving machine...so I'll keep that in mind as I develop it.

However, I'm still a couple months away from finishing all that.

The UPnP support in Subsonic is primarily browse-and-play. There are ways to have a 'play' command quickly generate an m3u8 file you can use to open on a local external player like VLC, but I find that rather tedious to work with.
--
Joe Shelby
http://subfiresuite.com/
http://subfireplayer.net/
User avatar
acroyear
 
Posts: 779
Joined: Wed Mar 27, 2013 8:05 pm
Location: Northern, VA


Return to Help

Who is online

Users browsing this forum: No registered users and 14 guests