I'm currently reworking the code that communicates with the LMS server
The current implementation uses in effect a telnet client to request status and data Should the LMS server reboot the connection is invalidated - but it does so "quietly" - I could fix that or... The LMS web front end and many other UI tools, e.g. iPeng, use the jsonrpc web interface This is more "robust" in that a HTTP request is really simple to process, you get 200 Ok and all is well - anything else and you can define a simple remediation tack The jsonrpc interface is also easier to process, just pass the response through the json interpreter and decompose the payload, actually a lot simpler than the decode implementation for the telnet solution. We already have several interfaces using this same setup, the "where am i" and weather implementations for example. Added to robustness is the ability to detect if the player has gone offline - we can do some interesting thing knowing that. I've a prototype in the works and just need interface it with the current "tags" mechanism, and add a few bells and whistles to the offline modes I'll ping back with details when the solution goes to the repo On the NHD1322 OLED front I'm also making progress, not ready for prime time quite yet but its of the blocks so watch out for updates on that front too As of 2020/09/11 *Total Tracks: 152,573 Total Albums: 14,063 Total Artists: 19,846 Total Genres: 712 Total Playing Time: 24417:05:11 * ------------------------------------------------------------------------ shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185 View this thread: http://forums.slimdevices.com/showthread.php?t=111790 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/unix
