Coder Social home page Coder Social logo

xing1p / musicstream Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jantje19/musicstream

0.0 0.0 0.0 4.9 MB

A NodeJS server and web client for streaming music (and videos) to your network

License: GNU General Public License v3.0

HTML 37.09% CSS 8.11% JavaScript 54.80%

musicstream's Introduction

MusicStream

A NodeJS server and web client for streaming music (and videos) to your network.

Screenshots

Desktop

Screenshot of the desktop page

Mobile

Screenshot of the mobile page Screenshot of the mobile page (player)

Installation

Manual Installation Steps

  1. Install Node.js
  2. Download the latest release from GitHub
  3. Extract the files into a folder and rename it to MusicStream
  4. Within the MusicStream directory run: npm install && npm start in a CLI (On windows type cmd in the location bar to open a CLI in that folder)
  5. In your browser go to: http://localhost:8000

Running

Run npm start in the MusicStream directory in a CLI.

Updating

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.

Manual updating

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.

  1. 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.
  2. Delete the MusicStream folder.
  3. 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.
  4. Extract the downloaded zip file.
  5. Move the save files back.
  6. Edit the settings.js file to include the newest settings values (This is super important! MusicStream might crash if you don't)
  7. Run npm install && npm start in a CLI.
  8. Done! Enjoy the new version

Mobile page

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.

Plugins

MusicStream supports plug-ins. See how it works here. I've also created some plug-ins. They can be found here.

Notes

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

Privacy

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

Crashes

It crashes, why?

  1. Make sure you ran npm install.
  2. 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.
  3. 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.

musicstream's People

Contributors

jantje19 avatar dependabot[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.