Download dir now taken from config

pull/2/head
Paulus Schoutsen 2013-10-08 00:02:01 -07:00
parent 32b357f5e1
commit a58319aebd
2 changed files with 5 additions and 5 deletions

View File

@ -9,8 +9,8 @@ username=admin
password=PASSWORD
http_id=aaaaaaaaaaaaaaa
[hue]
host=192.168.1.107
[chromecast]
host=192.168.1.120
host=192.168.1.120
[downloader]
download_dir=downloads

View File

@ -33,7 +33,7 @@ actors.LightTrigger(eventbus, statemachine,
devicetracker, actors.HueLightControl())
actors.setup_chromecast(eventbus, config.get("chromecast", "host"))
actors.setup_file_downloader(eventbus, "downloads")
actors.setup_file_downloader(eventbus, config.get("downloader", "download_dir"))
actors.setup_webbrowser(eventbus)
# Init HTTP interface