Presets
Manage presets
The WiiM Home App allows users to configure 12 presets for quick access to
preferred radio stations, playlists, mixes, albums, or artists. Each preset is accessible through its assigned number.
Play preset with preset number
Play preset with preset number and track number
http://10.10.10.254/httpapi.asp?command=MCUKeyShortClick:%d:%t
%d: Range is from 1 to 12
%t: Track number, start from 1, default is 1
Parameters
Path Parameters
Preset number
1234567891011121Track number, start from 1, default is 1
1Responses
Successful response
Get Preset List
http://10.10.10.254/httpapi.asp?command=getPresetInfo
JSON Response
{
"preset_num": 3,
"preset_list": [
{
"number": 1,
"name": "BBC Radio Norfolk",
"url": "http://as-hls-wwlive.akamaized.net/pool_904/live/ww/bbc_radio_norfolk/bbc_radio_norfolk.isml/bbc_radio_norfolk-audio%3d96000.norewind.m3u8",
"source": "Linkplay Radio",
"picurl": "http://cdnprofiles.tunein.com/s6852/images/logoq.jpg?t=638353933090000000"
},
{
"number": 6,
"name": "Radio Paradise",
"url": "http://stream.radioparadise.com/flacm",
"source": "RadioParadise",
"picurl": "https://cdnprofiles.tunein.com/s13606/images/logod.png?t=637541039930000000"
},
{
"number": 8,
"name": "1. Country Heat",
"url": "unknow",
"source": "Prime",
"picurl": "https://m.media-amazon.com/images/I/51uR6AJUAQL.jpg"
}
]
}
Description
Field type Description
preset_num int Total number of presets
preset_list json array Preset list information
number int Preset index (Start from 1)
name string Playlist name
url string Play url
source string Music source
picurl string Cover picture url
Responses
Successful response