AddMusicDisc
This compatibility method behaves like AddDiscPlayer. Adds a disc-style audio player connected to a playlist or media controller. It is kept so scripts written with the older AddMusicDisc name continue to work.
AddMusicDisc
Compatibility alias
AddMusicDisc is an alternate name for AddDiscPlayer. New code can use AddDiscPlayer.
What it does
This compatibility method behaves like AddDiscPlayer. Adds a disc-style audio player connected to a playlist or media controller. It is kept so scripts written with the older AddMusicDisc name continue to work.
When to use it
Use it when you want music playback controls with a visual spinning-disc presentation. Prefer AddDiscPlayer in new code so the method name matches the current API.
XLQPGen1:AddMusicDisc(Config)
local Result = Library:AddMusicDisc({
Name = "Example",
})Behavior and return value
This alias forwards to AddDiscPlayer, so its options, callbacks, and returned value follow the canonical method.
Fields marked optional may be omitted. XLQP then uses the method’s built-in default or leaves that feature disabled.
Related reference
AddLineChart
This compatibility method behaves like CreateChart. Creates a configurable line or filled chart with a bounded point history. It is kept so scripts written with the older AddLineChart name continue to work.
AddNumber
This compatibility method behaves like CreateStat. Creates an animated statistic with optional delta and duration. It is kept so scripts written with the older AddNumber name continue to work.