summaryrefslogtreecommitdiffstats
path: root/bin/lib4a-tools.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/lib4a-tools.sh')
-rw-r--r--bin/lib4a-tools.sh7
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 "$@"
+}