--- extends: application.j2 default_block: help title: woob radio description: Console application able to search for radios on supported websites, to get and play direct stream URLs, get current playing songs, etc. short_description: Search for radios, and get direct stream URLs and current playing songs. capability: Radio Audio type: repl category: console --- ### List radios Usage:
radio> ls [PATTERN]Example:
radio> ls * (1) OUÏ FM Indé (ouifm) OUI FM - Rock Indé (Current: CAT POWER - NAKED) * (2) OUÏ FM Blues (ouifm) OUI FM - Blues (Current: GUITAR SLIM - THE THINGS THAT I USED TO D) * (3) OUÏ FM Collector (ouifm) OUI FM - Classic Rock (Current: FRANK ZAPPA - JOE'S GARAGE) * (4) OUÏ FM Alternatif (ouifm) OUI FM - L'Alternative Rock (Current: JIMMY EAT WORLD - HIGHER DEVOTION) * (5) OUÏ FM (ouifm) OUI FM (Current: ROBERT FRANCIS - KEEP ON RUNNING)### Get information about a radio Usage:
radio> info <# or ID>For example:
radio> info 1 id: blues@ouifm title: OUÏ FM Blues description: OUI FM - Blues current: ETTA JAMES - BALL AND CHAIN streams: [128kbits/s (http://ouifm.ice.infomaniak.ch/ouifm4.mp3)]### Play a radio stream You can play the stream of a radio with a found player:
radio> play <# or ID>Example:
radio> play 1 Invoking "mplayer http://ouifm.ice.infomaniak.ch/ouifm4.mp3".## Use cases ### Display the current song in Conky You can add this line in `~/.conkyrc` to refresh current song on *OuiFM Blues* every 30 seconds:
$color${texeci 30 radio info blues@ouifm --select current --no-keys}