I'm trying to write a script that will always launch smplayer with shuffle enabled, however whenever I use the
$ smplayer -send-action pl_shuffle
command it simply toggles shuffle on and off. How can I make it so it will only toggle shuffle to be on if shuffle is disabled but will never toggle shuffle off if it is disabled?
Thanks for the help!