Giter VIP home page Giter VIP logo

subsonic's Introduction

Subsonic

Subsonic is a web-based music streaming service, created by Sindre Mehus and released under the GPL.

This project is forked from Subsonic version 4.6, adding extensive last.fm integration through the MusicCabinet library. See https://github.com/hakko/musiccabinet for details.

There's an introduction to the project at http://dilerium.se/musiccabinet.

Pre-requisites

To use this add-on, you need a PostgreSQL database running on the same host as your Subsonic server. There are pre-built binary packages available for most platforms at http://www.postgresql.org/download/. During install:

  • you'll be asked to create a database user. Stick to the default name, "postgres".
  • you'll be asked to choose a port number. Stick to the default value, "5432".

You also need Java 7. Uninstalling Java 6 is a good idea, unless you don't explicitly need it.

Building

The build process assumes that you have Java 7 or later and Maven 3 installed, and that PostgreSQL is running.

Clone [email protected]:hakko/musiccabinet.git to $workspace/musiccabinet
Update your PostgreSQL password in $workspace/musiccabinet/musiccabinet-server/src/main/resources/local.jdbc.properties
cd $workspace/musiccabinet/musiccabinet-server
mvn compile
mvn exec:java -Dexec.mainClass=com.github.hakko.musiccabinet.service.DatabaseAdministrationService
mvn install

Clone [email protected]:hakko/subsonic.git to $workspace/subsonic.
cd $workspace/subsonic
mvn install
cd $workspace/subsonic/subsonic-booter
mvn install

cd $workspace/subsonic/subsonic-installer-standalone
mvn package

To also build a .war file that runs on a Tomcat server, execute:

cd $workspace/subsonic/subsonic-main
mvn -P tomcat package

If a test case fails during build, please report and re-run with mvn -fn as a workaround.

Installation

  1. If you're already running Subsonic: stop your service, and backup your settings. (Just in case.)
  2. Go to $workspace/subsonic/subsonic-installer-standalone/target.
  3. Unzip subsonic-installer-standalone.zip to preferred install directory.
  4. In the install directory, tweak and run the subsonic.sh script to start your new server.

Log in to Subsonic as usual (localhost:4040, as admin/admin) and click the "Configure MusicCabinet" link (the header). It should be pretty self-explanatory from there.

Please note that the initial import of data from last.fm will take a while, roughly 30 minutes per 10.000 tracks. You can follow the progress meanwhile but MusicCabinet features won't work until it's finished.

subsonic's People

Contributors

hakko avatar maxxh avatar

Watchers

 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.