streamer Package

streamer Package

afkstreamer Module

class hanyuu.streamer.afkstreamer.Streamer(attributes)[source]

Bases: object

Top wrapper of the AFK Streamer. This gives out filenames and metadata to the underlying audio module.


Stop the audio pipeline and disconnects from icecast.

connect(*args, **kwargs)[source]

Deprecated since version 1.2: use start(): instead.


Returns True if the audio modules audio.icecast is currently connected. Else returns False.

shutdown(*args, **kwargs)[source]

Deprecated since version 1.2: use close(): instead.


Starts the audio pipeline and connects to icecast.


Returns a tuple of (filename, metadata) to be played next.

Project Versions

Table Of Contents

Previous topic

status Package

Next topic

audio Package

This Page