A NodeJS server and web client for streaming music (and videos) to your network.
- Install Node.js
- Download the latest release from GitHub
- Extract the files into a folder and rename it to MusicStream
- Within the MusicStream directory run:
npm install && npm start
in a CLI (On windows typecmd
in the location bar to open a CLI in that folder) - In your browser go to: http://localhost:8000
Run npm start
in the MusicStream directory in a CLI.
By default MusicStream will check if there is a new version available (This can be turned off in the settings). It will only notify, not update.
As of MusicStream version v0.2.5, you can run npm run update
or node update.js
for an automated update process.
If you're running an older version, you can follow the instructions below.
Updating MusicStream isn't very difficult, but it is a bit tedious. Updating is almost the same as installing, but you have to copy the save files. If you follow these steps, you should be fine.
- Move/copy the save files to a different location for safekeeping. These are the files that are configured for your setup. Like the settings and playlist files. These include: settings.js, playlists.json, The Plugins folder and other config files that you may have added like the https-config file.
- Delete the MusicStream folder.
- Download the latest version from GitHub. The update message will tell you the URL for the latest version, but you can also go to this URL and click on the most recent one.
- Extract the downloaded zip file.
- Move the save files back.
- Edit the settings.js file to include the newest settings values (This is super important! MusicStream might crash if you don't)
- Run
npm install && npm start
in a CLI. - Done! Enjoy the new version
As of version v0.2.5 MusicStream has a dedicated mobile page, made with Angular.
You can find it at https://github.com/Jantje19/MusicStreamMobile.
MusicStream supports plug-ins. See how it works here. I've also created some plug-ins. They can be found here.
The web-interface only works with browsers that have ES6 support. Almost all (up to date) modern browsers have this. If it doesn't work on your browser try to update it. See if you have the latest version of your browser here.
This program needs Node-ID3 version 0.0.10 or higher to work with images properly.
Manipulating files (adding/removing tags) requires the installation of FFMPEG. This is not required however.
Internet Explorer won't work. (but why would you use it anyway.)
You can still use it on old browsers. On the main page it will ask you to move to the old browsers page. It features a limited interface and features.
Only tested (and used) on Google Chrome and Chrome on Android
I am a huge fan of privacy, that's why I try to be as specific as I can describing how my programs handle data. All of the data MusicStream collects stays on your own device (it also saves me server costs =P). Some third party APIs are used:
- LastFM:
- What: artist name and song title
- When: every time when a new songs gets started & when adding auto tags
- Which: local device
- YouTube API
- What: the YouTube URL
- When: YouTube video is downloaded
- Which: server
- makeitpersonal API (lyrics)
- What: artist name and song title
- When: the request lyrics button is pressed
- Which device: server
- Update
- What: checking for updates on GitHub
- When: on start of MusicStream if enabled
- Which: server and/or local device
It crashes, why?
- Make sure you ran
npm install
. - Make sure that you've installed Node-ID3 version 0.0.10 or higher. You can update it with this command:
npm update node-id3
. - If you are editing tags, make sure that you have FFMPEG installed.
My browser gives error messages or shows a weird page?
- Make sure that you are using the latest version of your browser. You can check if you have the latest version here. If you are using Internet Explorer you should switch to another browser (Chrome or Firefox, since they are independently updated of your OS).
Still not working? Add an issue.