Thread Previous • Date Previous • Date Next • Thread Next |
On 23.09.2015 17:44, Gran PC wrote:
But third-party apps can't actually extend media-hub, right? As I understand it, this is something that would need to be distributed with the OS.
No. It would be just another executable your click package would ship and would be exposed to media-hub at runtime by .json file in a common directory (generated through a click-hook). This .json file then knows the combination of url scheme (e.g spotify://) to excutable name (below your app directory) and that is what media-hub needs to know - no hard dependency, no distribution in the core OS.
This is similar to how we handle helpers for the Ubuntu Push client side implementation (see https://developer.ubuntu.com/en/start/platform/guides/push-notifications-client-guide/).
For sure, there need to be some guards set around this executable in terms of security (our apparmor profiles) and also resource usage.
regards, Simon
Thread Previous • Date Previous • Date Next • Thread Next |