Skip to content

Jukebox

jukebox.png
Pretty standard jukebox integration, that allows you to make automatic playlist.


Peripheral methods

Function Returns Description
getDisc() table Returns information about stored disc or nil
replay() nil Starts play disc again, error if no disc inside
stop() nil Stop playing disc
ejectDisc(to: string) Result Tries to move disc from jukebox to target inventory
injectDisc(from: string, item: string) Result Tries to move disc with id item from target inventory to jukebox