Skip to content

SongData

SongData<PluginData> = object & (undefined extends PluginData ? unknown : object)

Type Parameter Default type
PluginData unknown
Name Type Description
ageRestricted? boolean True when the provider marks the media for adults, false when it says it is not, absent when it did not say. Core never acts on it.
artist? string -
duration? number -
id string -
name string -
pluginData? PluginData Provider-owned display and identity data. Core never reads it.
source string -
thumbnails? readonly Thumbnail[] Worst first, best last; thumbnail reads the last. Known widths must not decrease.
url string -