Now Playing

class AzuracastPy.models.now_playing.NowPlaying(station: Station, listeners: Listeners, live: Live, now_playing: CurrentSong, playing_next: PlayingNext, song_history: List[SongHistory], is_online: bool, cache: str)

Represents the data of the current status of a station.

__init__(station: Station, listeners: Listeners, live: Live, now_playing: CurrentSong, playing_next: PlayingNext, song_history: List[SongHistory], is_online: bool, cache: str)

Initializes a NowPlaying object.

Note

This class should not be initialized directly. Instead, obtain an instance via: now_playing().