added ShufflePlaylist
This commit is contained in:
		@ -23,6 +23,12 @@ func LoadFile(socket string, file string, flags LoadFileFlag) error {
 | 
			
		||||
	return err
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func ShufflePlaylist(socket string) error {
 | 
			
		||||
	cmd := &Command{Command: []interface{}{"playlist-shuffle"}}
 | 
			
		||||
	_, err := SendCommand[any](socket, cmd)
 | 
			
		||||
	return err
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func Quit(socket string) error {
 | 
			
		||||
	cmd := &Command{Command: []interface{}{"quit"}}
 | 
			
		||||
	_, err := SendCommand[any](socket, cmd)
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user