diff --git a/neodj.lua b/neodj.lua index e11c038..3ba0564 100644 --- a/neodj.lua +++ b/neodj.lua @@ -3,12 +3,18 @@ local buttonColor = colors.lightGray local backgroundColor = colors.black local drive = peripheral.getType("disk_drive") -function playDisk() +function playDisc() disk.playAudio(drive) end +function ejectDisc() +end + +function stopDisc +end + if disk.isPresent(drive) and disk.hasAudio(drive) then - playDisk(drive) + playDisc(drive) elseif disk.isPresent() then print "Not a music disc" else