diff options
author | Stephane Desneux <stephane.desneux@iot.bzh> | 2018-08-01 12:07:54 +0200 |
---|---|---|
committer | Thierry Bultel <thierry.bultel@iot.bzh> | 2019-04-24 14:18:11 +0200 |
commit | c3d43245f69639183766b10a530963129fa8d867 (patch) | |
tree | 79a01bdd5fe7e1794f7f6a04743865d447054d65 /bin/lib4a-tools.sh | |
parent | 15812b9f7092fe55e9558bd7c4eb22510e587423 (diff) |
4a-api: add subcommands for mediaplayer and mediascanner
Change-Id: Ib4933d68efe23c9f1dce0b190db713bc2001d057
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
Diffstat (limited to 'bin/lib4a-tools.sh')
-rw-r--r-- | bin/lib4a-tools.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/lib4a-tools.sh b/bin/lib4a-tools.sh index 776b1c0..f799cc2 100644 --- a/bin/lib4a-tools.sh +++ b/bin/lib4a-tools.sh @@ -45,3 +45,10 @@ function 4a-client() { function 4a-roles() { 4a-client ahl-4a get_roles "" | tail -n +2 | jq '.response|.[]' } + +function mediascanner-client() { + afb-client-demo -H -d unix:/run/user/0/apis/ws/mediascanner "$@" +} +function mediaplayer-client() { + afb-client-demo -H -d unix:/run/user/0/apis/ws/mediaplayer "$@" +} |