08-30-2019, 11:31 AM
(This post was last modified: 08-30-2019, 11:33 AM by Pieter.
Edit Reason: Add info on daemon
)
Update:
I found a solution much simpler than emulating button presses in X: https://github.com/cbumae/mpdrandom
Calling mpdrandom will select an album at random from the current playlist, and by calling the option -l the script will select, queue and play an album from the entire library.
The script offers a daemon function as well, queuing an entire album when the end of the playlist is reached. I'm an album guy so will replace the ashuffle implementation with this.
I found a solution much simpler than emulating button presses in X: https://github.com/cbumae/mpdrandom
Calling mpdrandom will select an album at random from the current playlist, and by calling the option -l the script will select, queue and play an album from the entire library.
The script offers a daemon function as well, queuing an entire album when the end of the playlist is reached. I'm an album guy so will replace the ashuffle implementation with this.