Skip to content
forked from hakko/subsonic

A streaming music server. Based on Subsonic, with MusicCabinet integration.

Notifications You must be signed in to change notification settings

thrice43/subsonic

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 

Repository files navigation

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 a static demo of the features added at http://dilerium.se/musiccabinet/demo.htm.

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".

Building

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

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

Clone git@github.com:hakko/subsonic.git to $workspace/subsonic.
cd $workspace/subsonic/subsonic-main
mvn package

Installation

Installation assumes that you have previously installed Subsonic from http://subsonic.org.

  1. Stop your Subsonic service
  2. Make a backup of current settings, just in case
  3. Use the subsonic.war file from $workspace/subsonic/subsonic-main/target/subsonic.war, and replace your current one.
  4. Start your Subsonic service

Log in to Subsonic as usual 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.

About

A streaming music server. Based on Subsonic, with MusicCabinet integration.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published