-
Notifications
You must be signed in to change notification settings - Fork 0
QueryPlayerState
Ken Luo edited this page May 19, 2020
·
1 revision
服務器位址:
http://127.0.0.1:22231
參數:
value=GetState (GetState 為取得目前點歌狀態)
返回類型:
application/json
返回資料:
[
{
"IsPlaying": "True",
"PlayerState": "Paused",
"CurrentSong": "201196",
"CurrentChannel": "Voice",
"CurrentVolume": "60",
"IsVolumeMute": "False",
"CurrentPitch": "0",
"CurrentSpeedRatio": "1"
}
]
查無資料或錯誤返回:
空的 JSON 陣列
查詢範例:
查詢目前點歌台狀態:
http://127.0.0.1:22231/QueryPlayerState?value=GetState