Skip to content

rq.MusicInfo ​

since 2.4.0

What rq.music.info tells about a track.

Fields ​

NameTypeDescription
nointegerThe track number.
namestringThe game's name for it (音楽の名前), or the mod's name; "" when it has none.
existsbooleanWhether the game has this track.
file (optional)stringThe mod's file, as the mod gave it; nil when the game's plays.
mod (optional)stringThe id of the mod whose file it is.
volume (optional)integerThe file's volume, 0 to 200.
off (optional)booleanreplace only: true when the player switched this track off on the mod's page, so the file is kept but does not play. Since 2.27.0.
loop_start (optional)numberThe file's loop start, in seconds.
loop_end (optional)numberThe file's loop end, in seconds.
seconds (optional)numberThe length, in seconds: the file's, else the game track's.

Used by ​

rq.music.info, rq.music.replace