Auto remove queue tracks option

Apologies if these are stupid questions:

Is there an option which will automatically remove a track from the queue after its been played?

Is there any way to completely clear a queue list automatically at a specified time, e.g. 3 am?

Thanks

Volumio does not have this option by default. But clearing the queue at fixed times is easy. The Volumio REST API already has a command for this:

volumio.local/api/v1/commands/?cmd=clearQueue

Simply run it with:

curl volumio.local/api/v1/commands/?cmd=clearQueue

Write that into a bash script and set it as a cronjob, or even directly add this command as a cronjob, and Bob’s your uncle.