weboob.capabilities.audiostream

class weboob.capabilities.audiostream.BaseAudioStream(id=u'', url=NotLoaded, backend=None)

Bases: weboob.capabilities.audio.BaseAudio

Audio stream object
Variables:current – (StreamInfo) Information related to current broadcast
class weboob.capabilities.audiostream.CapAudioStream

Bases: weboob.capabilities.audio.CapAudio

Audio streams provider

get_audiostream(_id)

Get an audio stream

Parameters:_id – Audiostream ID
Return type:BaseAudioStream
search_audiostreams(pattern, sortby=0)

Search an audio stream

Parameters:
  • pattern (str) – pattern to search
  • sortby – sort by ... (use SEARCH_* constants)
Return type:

iter[BaseAudioStream]