mherger;559686 Wrote: 
> > I sincerely hope it does. And I hope that this does not mean that 3rd
> > party clients on all devices will only have to look like SP in the
> > future.
> 
> It's mostly about ripping out Web and ip3k specific browse modes, and 
> 
> replacing them with the shared code SP has been using before. The raw
> data  
> queries for artists etc. shouldn't be changed at all.
> 
I think what pippin is trying to say is that some of the current JSON
requests/responses are streamlined for how the SqueezePlay user
interface looks like and behaves, so it gets complex if you like to do
a third party client that works a bit differently. I sure pippin can
describe these worries better than I can, and also give you some
specific examples. 

However, the main idea is that if you like to build a completely new
user interface, you should be able to do it without changing the core
browsing requests/responses on the server side, that's something that
isn't possible today because some of the presentation logic is
implemented on the server in the JSON response structures. I've briefly
mentioned this earlier to Alan, so he should already be aware of this
problem.

I believe the issue with the current JSON interface is that we have a
bit too much user interface logic on the server side. With the smart
SqueezeOS based devices it would be a good idea to move some of the
presentation logic to SqueezePlay. The advantage of this would not just
be to better support third party clients, it would also make the JSON
interface more stable so it didn't have to be change in every new
Squeezebox Server release. You are always going to want to add new user
interface features in new releases, so with the current approach it
means that the JSON interface will have to be changed pretty often. 

I suspect the onebrowser work is one step in the right direction
because it means that there have to be common browsing logic in the
core needed by all interfaces. Even though only the SP specific
requests/repsonses might be exposed for external users, this should be
a good start to make it possible to expose a more generic JSON
interface sometime in the future.


-- 
erland

Erland Isaksson
'My homepage' (http://erland.isaksson.info) (Install my plugins through
Extension Downloader)
(Developer of 'TrackStat, SQLPlayList, DynamicPlayList, Custom Browse,
Custom Scan,  Custom Skip, Multi Library, Title Switcher and Database
Query plugins'
(http://wiki.erland.isaksson.info/index.php/Category:SlimServer))
------------------------------------------------------------------------
erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=80107

_______________________________________________
beta mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/beta

Reply via email to