Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
webconsole-upnp-plugin-1.0.2
-
None
Description
UPnP Plugin needs small refactoring because now it's hard to read, and not efficient. Details:
- ControlServlet.hex should go as Hex.encode()
- static methods ControlServlet.<something>ToJson should go in separate Serializer class
- now only icons are cached, we should also cache devices, now to render all device you do a loop through all service references. And when you open the plugin page, all devices are rendered. So if you have 80 devices you have 80 * 80 loops!