-
Improvement
-
Resolution: Fixed
-
Major
-
master
-
Raspberry Pi 4
hi
now, in the 7_pyagl.md of pyagl doc, found the error sample command;
raspberrypi4-64:/usr/lib/python3.8/site-packages/pyagl/services# python3 audiomixer.py --list_controls
usage: audiomixer.py [-h] [-l \{CRITICAL,FATAL,ERROR,WARN,WARNING,INFO,DEBUG,NOTSET}] [--port PORT] [--listener] [--subscribe event]
[--unsubscribe event] [--list_controls] [--getmute] [--setmute \{0,1}] [--setvolume SETVOLUME] [--getvolume]
ipaddr
audiomixer.py: error: the following arguments are required: ipaddr
so fix the test command, as the below:
raspberrypi4-64:/usr/lib/python3.8/site-packages/pyagl/services# python3 -m pyagl.services.audiomixer 127.0.0.1 --list_controls
Requesting list_controls with id 435472
[RESPONSE][Status: success][435472][Info: None][Data: [\{'control': 'Master', 'volume': 1.0, 'mute': 0}]]
# | Subject | Branch | Project | Status | CR | V |
---|---|---|---|---|---|---|
26420,2 | update test sample command for pyagl test doc | master | AGL/documentation | Status: MERGED | +2 | +1 |