Subsonic API

Need help? Post your questions here.

Moderator: moderators

Subsonic API

Postby piku » Sun Mar 15, 2009 8:18 pm

Hey,

I'm a (very) happy subsonic user now. The best thing since sliced bread is playing my home music collection from work and being able to access all of my music anywhere. It's a shame though, the mobile app doesn't work on my blackberry (the problem is already reported by another user though).

Anyway, I am custom developing a home automation system that is centered around linux server and Nokia N770 internet tablets. The tablets are mounted to the wall and used as touch screens. My home audio is routed from my linux (mythtv) dvr. The ideal situation would be to run a subsonic "instance" on this machine and then run another subsonic instance on my laptop to control what is gong on there. The new impending jukebox mode will accommodate this from a browser perspective but I'd like to also be able to go to any home automation terminal and do basic things like move to the next song in the playlist, see what is playing and where it is in the song, change playlist and see what the next songs are in the queue. Maybe even control volume.

Is there an API to do this through subsonic or should I just try to control it by using WAP requests or something?

The subsonic web interface is really great, but I am a sucker for native applications and the subsonic web interface renders too small on the tablet for finger touch control.

Thanks in advance,
Mark
piku
 
Posts: 2
Joined: Sun Mar 15, 2009 8:06 pm

Postby sindre_mehus » Mon Mar 16, 2009 10:12 am

There is a minimal XML-based API discussed here, but that only supports streaming to the client (e.g., to a mobile phone).

To do the things you mention, you could possibly use the existing AJAX API (this is the API used by the playlist frame in the web interface).

Look for "playlistService" in the HTML of the playlist frame to get an idea.[/url]
User avatar
sindre_mehus
 
Posts: 1955
Joined: Tue Nov 29, 2005 6:19 pm
Location: Oslo, Norway

Postby piku » Mon Mar 16, 2009 1:11 pm

I found something called MPD which suits my needs perfectly. I'll simply use MPD for anywhere control to server playing and music hosting and subsonic for server music hosting to anywhere control and playing. This MPD even already has a finger touch controller for my tablet. It's really a perfect solution and easy to code to to write my own client.

If I want to use itunes I can use mt-daapd or something else like that.
piku
 
Posts: 2
Joined: Sun Mar 15, 2009 8:06 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 20 guests