bestlibre / hassio-addons

173 stars 109 forks source link

Dynamic packages (pip and apt-get) #50

Open editter opened 6 years ago

editter commented 6 years ago

I was wondering if you could add some dynamic pip & apt-get packages to the config for mopidy? The hassio appdaemon does it but it is in a different shell file and not the dockerfile which may or maynot make sense to you (I am not overly familiar with docker)?

The reason for this would be to allow the end user to manage their own setup without having to get you involved and, in theory, create less maintenance for you :)

the general idea being something like this in the config

{
"local_scan": true,
"options": [
  "pandora/username": "me@mydomain.com",
  "pandora/password": "secret"
],
"pip": [
  "Mopidy-Pandora"
],
"apt-get": [
  "pydora",
  "cachetools",
  "requests"
]

}
bestlibre commented 6 years ago

I do not have the time to dig into this right now. That being said, I can try to add pandora support if you need it.