Skip to content

Track#

Track ABC's.

The tracks abstract classes.

Track #

Bases: abc.ABC

Track.

The base track.

Lavalink Reference

encoded property #

encoded: str

The BASE-64 encoded track data.

info property #

info: TrackInfo

Information about the track.

plugin_info property #

plugin_info: typing.Mapping[str, typing.Any]

Additional track info provided by plugins.

user_data property #

user_data: typing.Mapping[str, typing.Any]

Additional track data.

requestor property #

requestor: hikari.Snowflake | None

The person who requested this track.

TrackInfo #

Bases: abc.ABC

Track information.

All of the information about the track.

Lavalink Reference

identifier property #

identifier: str

The track identifier.

is_seekable property #

is_seekable: bool

Whether the track is seekable.

author property #

author: str

The track author.

length property #

length: int

The track length in milliseconds.

is_stream property #

is_stream: bool

Whether the track is a stream.

position property #

position: int

The track position in milliseconds.

title property #

title: str

The track title.

source_name property #

source_name: str

The tracks source name.

uri property #

uri: str | None

The track URI.

artwork_url property #

artwork_url: str | None

The track artwork URL.

isrc property #

isrc: str | None

The track ISRC.