/music_server

Music server which index musics on filesystem and display in web interface

Primary LanguageGoApache License 2.0Apache-2.0

Music server is a server which index musics on a specific folder (over network too).

Developpment

Project in written in GO for server and rest services, and html5 / jQuery for interface.

Server index musics with id3tag info, cover (from MusicBrainz) and music length.

No database is required, work only with index files.

At home, it runs on a raspberry PI 2 and musics are on a SAN (Drobo).

Compile

I’m using go module to manage dependencies.

Dependences :

I also use mp3info to extract real length of a music (in windows, must be install in index folder)

Launch

To launch server : ./music_server with following arguments :

  • -folder indexFolder
  • musicFolder : folder where musics will be.
  • -log : folder where log must be written (/var/log for instance)
  • -port : port of web application
  • addressMask : if you want to launch musics update from web interface, control mask of requester IP