made the playing function print the song name :3

This commit is contained in:
mint 2021-05-06 00:57:47 -04:00
parent 2fd399c4e2
commit 0595761566
1 changed files with 3 additions and 0 deletions

View File

@ -21,12 +21,15 @@ end
function playDisc() function playDisc()
disk.playAudio(drive) disk.playAudio(drive)
print(disk.getAudioTitle(drive))
end end
function ejectDisc() function ejectDisc()
disk.eject()
end end
function stopDisc() function stopDisc()
disk.stopAudio()
end end
if disk.isPresent(drive) and disk.hasAudio(drive) then if disk.isPresent(drive) and disk.hasAudio(drive) then