bgm-set-policy

Use the interface to set the play policy of BGM.

Request Mode

 POST http://ip/mwapi?method=bgm-set-policy
Parameter Description
musicPolicy The play policy
1: play in order
2: shuffle the playlist
3: repeat a single song
4: repeat the playlist
{
  "musicPolicy":1
}

Response Body

JSON structure is as follows:

{
    "message": "success",
    "status": 0
}
1. Response Status
"status": 0
Name Description
status 0 indicates a successful data acquisition. Refer to API Status Codes to find specific description for other values.

results matching ""

    No results matching ""

    results matching ""

      No results matching ""