Re: [In Development] RESTful API for LMS

erland <erland.a84dpb-NUepA2SMhDQqspMVqqL2D+4xXEVPTSb/[email protected]>
Newsgroups gmane.music.equipment.slimdevices.devel
Organization Logitech Squeezebox Forums
Message-ID <[email protected]>
expectingtofly wrote: 
> 
> Sure, I'll try and keep it simple.  I did briefly look at the
> statusquery, but I was concerned that it looked specifically engineered
> to support tightly coupled user interfaces, and I didn't want to fall
> into a trap of exposing the same out of a REST API.  I'll look again.
> 
Great effort, I’m looking forward to see this evolve. :-)

It would be great to have a documented API that’s less coupled with the
user interface, but this will be a big work when you get to the browsing
API parts unless you are going to re-implement all browsing code in LMS.
I’ve done that partly in Custom Browse plugin and we did that partly in
ickStream plugin for local library but supporting it for music services
(My Apps content) would be really hard. However, if you skip browsing
part it’s more realistic.

If you want this to be included in the core LMS distribution I suspect
there are going to be community developers that are a bit concerned
regarding supporting another API implementation. We already have CLI and
JSONRPC (which mostly relies on underlying CLI commands) but expecting
community developers to support a REST API in core LMS distribution that
re-implement logic rather than rely on underlying CLI/JSONRPC APIs is
probably unlikely. 

If you support it by yourself as a third party plugin installed
separately it will of course work. The only issue with that is that full
functionality clients/apps might not want to use an API that requires
the user to install an extra plugin. You should probably target API
support for more simple apps, like a player control app or a now playing
display app.

I plan to make an RFID based remote control for my child in near future,
if you have support for volume control and sending a playlist to a
player by then I might try to use it.



Erland Isaksson ('My homepage' (http://erland.isaksson.info))
Developer of 'many plugins/applets'
(https://wiki.slimdevices.com/index.php/User_Erland.html)
*Starting with LMS 8.0 I no longer support my plugins/applets* ('see
here for more information'
(https://forums.slimdevices.com/showthread.php?49483-Announce-New-versions-of-erlands-plugins&p=998836&viewfull=1#post998836)
)
------------------------------------------------------------------------
erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=115143

_______________________________________________
developers mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/developers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.