Yes. The menu is retrieved by sending a json command. The module interprets the response and turns it into menu item objects.
TBH I was confused about this, too. I think what you're doing in the library actually belongs in the application specific space: you're taking a menu definition and transform it into something _your_ application will understand. But for the library I'd just leave the meu definition as it is, and leave it to the application to figure out what it wants to do with it.
But other than that I think it's great to see some more work for Python, as it's clearly becoming more and more popular (thanks Pi!)
-- Michael _______________________________________________ diy mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/diy
