[WIP] Music Devices [0.0] [music_devices] [Git]
AnxiousInfusion's Music Devices Mod
Version: 0.0
Code: LGPL 2.1
Assets: CC BY-SA 3.0
MT Version: 0.4.14+
Dependencies: default
In this mod:
- Craft a Portable Music Player to carry with you and play music that can only be heard by you.
- Craft a Boombox Music Player to place and play music that can be heard by others nearby.
- Or add your own music files to mod directory as .ogg formatted files.
Roadmap:
- Make the music per-device and per-player as intended.
- Add ability for the interface to know when a song has ended to either update the "Now Playing" status or to automatically play the next track.
- Replace temporary art assets with finalized textures.
- Allow songs to have white space in their names?
- Configure the mod devices to grab track list from a generic "tracks.txt" instead of in-script, per device. (Easier to add your own songs)



Songs are short (<20 seconds) to keep the world quick to load, especially over a network and the same song will never be played twice in a row. These are manipulated through an easy to understand, region-neutral interface.
This is my second ever mod and there are a lot of hitches still to iron out. It is not currently recommended for any multiplayer environment as music played per-player is not totally isolated yet. I hope that the finished product will be useful and please do share your criticisms or ideas.
Source Code
Download
Extract the file into your ~/minetest/mods directory and rename it "music_devices".
Changelist:
Version: 0.0
Code: LGPL 2.1
Assets: CC BY-SA 3.0
MT Version: 0.4.14+
Dependencies: default
In this mod:
- Craft a Portable Music Player to carry with you and play music that can only be heard by you.
- Craft a Boombox Music Player to place and play music that can be heard by others nearby.
- Or add your own music files to mod directory as .ogg formatted files.
Roadmap:
- Make the music per-device and per-player as intended.
- Add ability for the interface to know when a song has ended to either update the "Now Playing" status or to automatically play the next track.
- Replace temporary art assets with finalized textures.
- Allow songs to have white space in their names?
- Configure the mod devices to grab track list from a generic "tracks.txt" instead of in-script, per device. (Easier to add your own songs)



Songs are short (<20 seconds) to keep the world quick to load, especially over a network and the same song will never be played twice in a row. These are manipulated through an easy to understand, region-neutral interface.
This is my second ever mod and there are a lot of hitches still to iron out. It is not currently recommended for any multiplayer environment as music played per-player is not totally isolated yet. I hope that the finished product will be useful and please do share your criticisms or ideas.
Source Code
Download
Extract the file into your ~/minetest/mods directory and rename it "music_devices".
Changelist:
+
Spoiler