Skip to content

Playlist🔗

Constructor🔗

Playlist()

Methods🔗

build🔗

Builds the object.

def build() -> playlist.Playlist

interval🔗

Interval sets the time between switching views in a playlist.

FIXME: Is this based on a standardized format or what options are available? Can datemath be used?

def interval(interval: str) -> typing.Self

items🔗

The ordered list of items that the playlist will iterate over.

FIXME! This should not be optional, but changing it makes the godegen awkward

def items(items: list[cogbuilder.Builder[playlist.PlaylistItem]]) -> typing.Self

name🔗

Name of the playlist.

def name(name: str) -> typing.Self

uid🔗

Unique playlist identifier. Generated on creation, either by the

creator of the playlist of by the application.

def uid(uid: str) -> typing.Self

See also🔗