Skip to main content
Version: 1.4.1

TrackInfo

ruvyrias


ruvyrias / TrackInfo

Interface: TrackInfo

Defined in: src/Track.ts:18

Represents detailed information about a track.

Properties

album

album: null | string

Defined in: src/Track.ts:40

The album to which the track belongs, if applicable.


artworkUrl

artworkUrl: null | string

Defined in: src/Track.ts:38

The URL of the artwork associated with the track.


author

author: string

Defined in: src/Track.ts:24

The author or artist of the track.


identifier

identifier: string

Defined in: src/Track.ts:20

The unique identifier of the track.


isrc

isrc: null | string

Defined in: src/Track.ts:42

The International Standard Recording Code (ISRC) of the track, if available.


isSeekable

isSeekable: boolean

Defined in: src/Track.ts:22

Indicates whether the track is seekable.


isStream

isStream: boolean

Defined in: src/Track.ts:28

Indicates whether the track is a stream.


length

length: number

Defined in: src/Track.ts:26

The duration of the track in milliseconds.


position?

optional position: number

Defined in: src/Track.ts:30

The position of the track, if available.


requester?

optional requester: any

Defined in: src/Track.ts:44

The requester or user associated with the track, if available.


sourceName

sourceName: string

Defined in: src/Track.ts:36

The name of the source providing the track.


title

title: string

Defined in: src/Track.ts:32

The title of the track.


uri

uri: string

Defined in: src/Track.ts:34

The URI or source link of the track.