Uploaded image for project: ' AGL Development'
  1. AGL Development
  2. SPEC-3973

update test sample command for pyagl test doc

XMLWordPrintable

    • 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}]]

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            jsmoeller Jan-Simon Moeller
            liuyh.fnst liu yahui
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: