mirror of
				https://fem.mint.lgbt/m/Rhythmblock.git
				synced 2024-08-14 20:27:11 +00:00 
			
		
		
		
	made the playing function print the song name :3
This commit is contained in:
		
							parent
							
								
									2fd399c4e2
								
							
						
					
					
						commit
						0595761566
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -21,12 +21,15 @@ end
 | 
			
		|||
 | 
			
		||||
function playDisc()
 | 
			
		||||
	disk.playAudio(drive)
 | 
			
		||||
	print(disk.getAudioTitle(drive))
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
function ejectDisc()
 | 
			
		||||
	disk.eject()
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
function stopDisc()
 | 
			
		||||
	disk.stopAudio()
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
if disk.isPresent(drive) and disk.hasAudio(drive) then
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue