Musicify is a command line utility for ComputerCraft:Tweaked to stream* songs in game.
To install, run
wget run https://raw.githubusercontent.com/knijn/musicify/main/install.lua
To develop under Codespaces, you'll need the CraftOS VSCode Extention and install CraftOS-PC with the following commands:
sudo add-apt-repository ppa:jackmacwindows/ppa
sudo apt update
sudo apt install craftos-pc
Musicify is licensed under the GNU General Public License v3.0.
Shows the help menu showing all commands
Shows all of the playable songs in the repository set
Displays info about the current version of Musicify, and about the repository set
Plays the song with the specified ID
A playlist file has the following format: <songid>,<songid>,<songid>,<songid>
. These song IDs can be found using musicify list. And can also be URLs.
Show an in development GUI
Shuffle the songs in the repository, and optionally from and to a specific song id
Forces an update on Musicify
Loops over a specific song or URL
Plays a specific URL
Set up your Computer with the install command above. Make sure to have a speaker and a modem (or ender modem) attached if you want to use multiple speakers
Musicify offers the following configuration options:
musicify.repo
: Sets the repo to music load from (default:https://raw.githubusercontent.com/knijn/musicify-songs/main/index.json
)musicify.autoUpdates
: Sets whether Musicify will automatically update when there's a new version. (default:true
)musicify.serverChannel
: Sets the channel to broadcast audio packets onmusicify.serverMode
: Sets whether Musicify will broadcast audio packets
The program also should work as an api, this is not tested though. If you want to support the program, please make a pull request. It helps out a ton!
If you want to run the development version of Musicify, run
wget run https://raw.githubusercontent.com/knijn/musicify/mian/git_install.lua