disk.getAudioTitle
From ComputerCraft Wiki
Revision as of 18:39, 21 April 2013 by Hawk777 (Talk | contribs) (Add description and clarify return value)
| Reads the title of the audio track from the music record in the drive. The disk.getLabel function also returns the track title of a music record. | |
| Syntax | disk.getAudioTitle(string side) |
| Returns | string the track title, or nil if there is not a music record in the drive |
| Part of | ComputerCraft |
| API | disk |
Examples
| Returns the title of an audio disk | |
| Code |
print(disk.getAudioTitle("bottom"))
|
| Output | C418 - ward Output changes according to the audio title |