summaryrefslogtreecommitdiffstats
path: root/bin/lib4a-tools.sh
AgeCommit message (Collapse)AuthorFilesLines
2019-04-244a-api: add subcommands for mediaplayer and mediascannerStephane Desneux1-0/+7
Change-Id: Ib4933d68efe23c9f1dce0b190db713bc2001d057 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2019-04-24Fix issue with the unit file detectionLoïc Collignon1-1/+2
Fix a bug introduced by the commit e4e0b9b, due to the wildcard in the unit file. Change-Id: Iddc47378207a0ced207861433cd0ec02a52bc1a5 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2019-04-24Added a way to make 4a-api work on hostLoïc Collignon1-3/+14
On host you can't detect the API port and token based on the systemd unit file. So when the file is not found, use API_4A_PORT and API_4A_TOKEN environment variable to allow users to make it work on host so they can still test 4a. Change-Id: I6379457c29c9e45db9cce8c78f6d646935b2caa5 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2019-04-24change media pathsStephane Desneux1-0/+35
Change-Id: I0d4783d37da25a315073eb847c7f525ed1b51d5c Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>