pippin;359262 Wrote: > Only saw that now. > Polling. Had tons of that code (logic) lying around from the skin. Will > probably change that for a later version. Gives a bit of a delay for > some things (state changes in the player) but is irrelevant for the > "large scale" stuff, I believe.
I started off with the polling approach but found polling the server for status updates impacted on performance too much so I've moved over to a notification-based approach, maintaining as much state as possible in the domain model of the app, only retrieving status updates where necessary. There is something quite cool about changing the volume (using the normal SqueezeBox remote) and seeing the volume slider update in realtime. :) -- Luke Redpath ------------------------------------------------------------------------ Luke Redpath's Profile: http://forums.slimdevices.com/member.php?userid=859 View this thread: http://forums.slimdevices.com/showthread.php?t=54336 _______________________________________________ discuss mailing list [email protected] http://lists.slimdevices.com/lists/listinfo/discuss
