weboob.capabilities.radio

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

Bases: weboob.capabilities.base.BaseObject

Radio object.
Variables:
  • title – (unicode) Title of radio
  • description – (unicode) Description of radio
  • current – (StreamInfo) Current emission
  • streams – (list) List of streams
class weboob.capabilities.radio.CapRadio

Bases: weboob.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]