Internet radio player for OpenClaw with station search, favorites, volume control, and playback management.
Use when user wants to:
This skill provides the following CLI commands in scripts/:
play [volume] Play a stream by URL or by name from favorites or the built-in list.
If no target is provided, the skill chooses a random station from stations.json.
Optional volume is 0-100 and defaults to the saved setting.
Examples:
play https://stream.zeno.fm/0r0xa792kwzuvplay BBC Radio 1play "Jazz 24 (KNKX)" 60stopStop playback immediately.
pausePause or resume the current playback process.
nextSkip to the next favorite station in a cycle.
volume [level]Show the current volume or set a new default volume from 0-100.
Examples:
volumevolume 75nowShow the current station URL, volume, PID, and playback status.
favorite add Add a station to favorites.
favorite remove Remove a station from favorites.
listList all favorite and built-in stations.
find [number] Search the Radio Browser directory. When number is provided, play that result immediately.
Examples:
find jazzfind "lofi hip hop" 1Preferences are stored in: {baseDir}/preferences.json
{
"last_station": "",
"volume": 80,
"favorites": [
{"name": "BBC Radio 1", "url": "http://..."},
{"name": "Jazz 24 (KNKX)", "url": "https://..."}
],
"audio_device": "auto",
"current_pid": null,
"paused": false
}
Audio device auto-detection:
coreaudio/BuiltInSpeakerDevicealsa/defaultdirectsound/defaultOverride locations when needed:
AGENT_RADIO_BASE_DIRAGENT_RADIO_PREF_FILEAGENT_RADIO_STATIONS_FILEmpv --no-video --audio-device= --volume= --cache=yes ffplay -nodisp -autoexit play, any existing playback is stopped before starting the next stream.next cycles favorite URLs instead of depending on station-name matching.mpv and ffplay are missing, return install guidance.jq or curl are missing, fail early with a clear message./radio play https://stream.zeno.fm/0r0xa792kwzuv
/radio play "BBC Radio 1"
/radio volume 70
/radio now
/radio find jazz
/radio find "lofi hip hop" 1
/radio favorite add "Lounge Jazz" https://jazz.stream
/radio list
/radio next
/radio stop
共 1 个版本