pyytlounge.PlaybackState

class pyytlounge.PlaybackState(logger: Logger, state: _NowPlayingData | None = None)

Current playback state

__init__(logger: Logger, state: _NowPlayingData | None = None)

Methods

__init__(logger[, state])

apply_state(state)

Apply the new state on top of current state

Attributes

currentTime

duration

videoId

state