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.

close(force=False)[source]

Stop the audio pipeline and disconnects from icecast.

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

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

connected[source]

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.

start()[source]

Starts the audio pipeline and connects to icecast.

supply_song()[source]

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