skip then play
This commit is contained in:
		
							parent
							
								
									304a0241fa
								
							
						
					
					
						commit
						91dfc7f708
					
				@ -28,7 +28,8 @@ def button_callback_1(channel):
 | 
				
			|||||||
def button_callback_2(channel):
 | 
					def button_callback_2(channel):
 | 
				
			||||||
    print("Button 2 pressed!")
 | 
					    print("Button 2 pressed!")
 | 
				
			||||||
    client = create_client()
 | 
					    client = create_client()
 | 
				
			||||||
    control_player(client, "PAUSE")
 | 
					    control_player(client, "SKIP")
 | 
				
			||||||
 | 
					    control_player(client, "PLAY")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
def button_callback_3(channel):
 | 
					def button_callback_3(channel):
 | 
				
			||||||
    print("Button 3 pressed!")
 | 
					    print("Button 3 pressed!")
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user