speaker.get_playing_info()
- Get the main information about playing sound. A plugin can ask only about its own commands.
Edit
Parameter Name | Type | Required | Description |
---|---|---|---|
id | string | + | Unique ID of a command |
Edit
Table Field | Type | Required | Description |
---|---|---|---|
id | string | + | Unique Id of a request. |
path | string | + | Path to a sound file in plugin path format. |
volume | int | + | The volume of playing. Possible range: 1-100. |
status | string | + | Status of playing. Possible values: , , , , . |
user_data | any | – | User data which was passed to speaker.play() call. |
Edit
- Required parameter didn’t define:
- Wrong format of the parameter:
- Plugin doesn’t have permissions to the request:
- Id doesn’t exist