Skip to content

Instantly share code, notes, and snippets.

Forked from orhun/
Created Jul 7, 2020
What would you like to do?
Random MOD player
# Plays a random MOD file from
# Depends on XMP (
rand=$(shuf -i 1-189573 -n 1)
tmp=$(mktemp /tmp/${rand}.XXXXXXXX.mod)
curl${rand} > ${tmp}
xmp ${tmp}
rm ${tmp}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment