LithiumX / UnresolvedTrack
Interface: UnresolvedTrack
Defined in: src/Structures/Player.ts:623
Unresolved tracks can't be played normally, they will resolve before playing into a Track.
Extends
Partial<Track>
Properties
artworkUrl?
readonlyoptionalartworkUrl:string
Defined in: src/Structures/Player.ts:582
The artwork url of the track.
Inherited from
Partial.artworkUrl
author?
optionalauthor:string
Defined in: src/Structures/Player.ts:627
The author to search against.
Overrides
Partial.author
customData?
optionalcustomData:Record<string,unknown>
Defined in: src/Structures/Player.ts:610
Add your own data to the track.
Inherited from
Partial.customData
duration?
optionalduration:number
Defined in: src/Structures/Player.ts:629
The duration to search within 1500 milliseconds of the results from YouTube.
Overrides
Partial.duration
identifier?
readonlyoptionalidentifier:string
Defined in: src/Structures/Player.ts:588
The identifier of the track.
Inherited from
Partial.identifier
isrc?
readonlyoptionalisrc:string
Defined in: src/Structures/Player.ts:594
The ISRC of the track.
Inherited from
Partial.isrc
isSeekable?
readonlyoptionalisSeekable:boolean
Defined in: src/Structures/Player.ts:596
If the track is seekable.
Inherited from
Partial.isSeekable
isStream?
readonlyoptionalisStream:boolean
Defined in: src/Structures/Player.ts:598
If the track is a stream..
Inherited from
Partial.isStream
pluginInfo?
optionalpluginInfo:TrackPluginInfo
Defined in: src/Structures/Player.ts:608
Additional track info provided by plugins.
Inherited from
Partial.pluginInfo
requester?
readonlyoptionalrequester:string
Defined in: src/Structures/Player.ts:604
The user that requested the track.
Inherited from
Partial.requester
sourceName?
readonlyoptionalsourceName:TrackSourceName
Defined in: src/Structures/Player.ts:584
The track source name.
Inherited from
Partial.sourceName
thumbnail?
readonlyoptionalthumbnail:string
Defined in: src/Structures/Player.ts:602
The thumbnail of the track or null if it's a unsupported source.
Inherited from
Partial.thumbnail
title
title:
string
Defined in: src/Structures/Player.ts:625
The title to search against.
Overrides
Partial.title
track?
readonlyoptionaltrack:string
Defined in: src/Structures/Player.ts:580
The base64 encoded track.
Inherited from
Partial.track
uri?
readonlyoptionaluri:string
Defined in: src/Structures/Player.ts:600
The uri of the track.
Inherited from
Partial.uri
Methods
displayThumbnail()?
optionaldisplayThumbnail(size?):string
Defined in: src/Structures/Player.ts:606
Displays the track thumbnail with optional size or null if it's a unsupported source.
Parameters
size?
Returns
string
Inherited from
Partial.displayThumbnail
resolve()
resolve():
Promise<void>
Defined in: src/Structures/Player.ts:631
Resolves into a Track.
Returns
Promise<void>