Random background music player
Add music to the sounds directory. Minetest only accepts ogg format at this time.
Do not use extra dots/periods in files names. It will not read them correctly.
Add music file names to list.lua according to the format in the examples list.
It will only randomly select those files accordingly. See sample files for example naming.
options in config.lua are commented to explain the use.
Definitely set them up first before using.
The batch and shell scripts included can be used to automatically create the list from the files in the sounds folder.
Or you can add and remove manually. Will only play those on the list.
NOTE: Be careful how much you put into the sounds folder, minetest will load them all. A large set of sounds will cause
very long loading times for the client.
Code: LGPLv2.1+, textures: CC BY-SA 3.0 Unported
Mod dependencies: default
it's a sound mod so no screenshots here. :)
I'm in the process of learning to mod with lua and this was one of my first builds. Hopefully it will be useful to someone.
Fully operational at this time but may add a couple things so leaving in WIP at the moment.
Download: https://github.com/theshadow-minetest/minetest-rand_play-mod