disk.getAudioTitle

Returns the title from a music disk in the given disk drive. Returns false, if there is no music disk in the disk drive.

ExamplePrint title
Print the title of the music disk in the top drive.
Code
print(disk.getAudioTitle("top"))
Output C418 - ward

disk.getAudioTitle
Function
Syntax
disk.getAudioTitle(
  • side or network name : string
)

Returns string title
API disk
Source CC:Tweaked (source)
This article is issued from Computercraft. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.