woob.capabilities.audiostream

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

Bases: woob.capabilities.audio.BaseAudio

Audio stream object

Variables

current – (StreamInfo) Information related to current broadcast

class woob.capabilities.audiostream.CapAudioStream

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