Skip to content
This repository has been archived by the owner on Apr 4, 2022. It is now read-only.
/ subsonic_jukebox Public archive

A Mobile friendly Subsonic Jukebox manager

Notifications You must be signed in to change notification settings

mhzawadi/subsonic_jukebox

Repository files navigation

Abandoned!!!!

This repo is now Abandoned in favor of using nextcloud deck, please fork and fix any issues you have.


Subsonic Jukebox

A Subsonic Jukebox manager, it has base functions to add tracks and start or stop. I plan to build out the other functions as I find time, or I get PRs.

Getting Started

This is a PHP app, so you will need a web server that runs PHP 7.1.

Prerequisites

  • php 7.1
  • Subsonic 6.1.4

Installing

  1. clone the repository
  2. run composer install
  3. copy the config/config.example.php to config/config.php
  4. edit the config file with your subsonic address, username and password (see the API page)[http://www.subsonic.org/pages/api.jsp]
  5. point you browser at the site
$ git clone https://github.com/mhzawadi/subsonic_jukebox.git
$ cd subsonic_jukebox
$ composer install
$ cp src/config/comfig.example.php src/config/config.php

Docker setup

You can pull my docker image and have it setup in no time

wget https://github.com/mhzawadi/subsonic_jukebox/blob/master/docker-compose.yml
docker-compose up -d

Environment variables summary

  • SUB_URL: the URL for the jukebox site (including any ports) e.g. jukebox.example.com
  • SUB_ADDR: the address of subsonic e.g. 192.168.1.1
  • SUB_USER: your username
  • SUB_PASS: your md5(password + salt)
    • For example: if the password is sesame and the random salt is c19b2d, then token = md5("sesamec19b2d") = 26719a1196d2a940705a59634eb18eab
  • SUB_SALT: the salt you used to make your hash

Docker hub tags

You can use following tags on Docker hub:

  • latest - latest stable release
  • v0.0.7 - latest stable release for the 0.0.7

how to build

Latest is build from the docker hub once I push to the github repo, the arm versions are built from my mac with the below buildx tool

docker buildx build --platform linux/amd64,linux/arm64 -t mhzawadi/subsonic_jukebox:v0.0.7 --push .

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Authors

  • Matthew Horwood - Initial work - mhzawadi