woob.capabilities.radio

class woob.capabilities.radio.CapRadio

Bases: woob.capabilities.base.Capability

Capability of radio websites.

get_radio(id)

Get a radio from an ID.

Parameters

id (str) – ID of radio

Return type

Radio

Search a radio.

Parameters

pattern (str) – pattern to search

Return type

iter[Radio]

class woob.capabilities.radio.Radio(id='', url=NotLoaded, backend=None)

Bases: woob.capabilities.base.BaseObject

Radio object.

Variables
  • title – (str) Title of radio

  • description – (str) Description of radio

  • current – (StreamInfo) Current emission

  • streams – (list) List of streams