Skip to content
/ pitunes Public

PiTunes è un semplice player realizzato in html+js (grazie a js-subsonic by acroyear) per accedere facilmente alla modalità jukebox di subsonic tramite web browser

Notifications You must be signed in to change notification settings

frazei/pitunes

Repository files navigation

pitunes

è un semplice player realizzato in html+js (grazie a js-subsonic by acroyear) per accedere facilmente alla modalità jukebox di subsonic tramite web browser.

How to install:
$ git clone https://github.com/frazei/pitunes.git
$ cd pitunes
$ git submodule update --init --recursive
La configurazione si trova all'interno del file index.html nell'array settings:
  • server: url di accesso al server subsonic
  • username e password: utente con accesso alla modalità jukebox (vedi settings di subsonic)
  • listlen: quanti album visualizzare per volta
  • watchInt: intervallo di aggiornamento del player

Modalità jukebox

Per funzionare correttamente il dispositivo su cui è installato subsonic deve essere collegato ad un amplificatore tramite l'uscita audio (jack audio o hdmi).
Sul raspberry (con raspian o simili) è necessario sistemare un paio di cose:
1. Impostare l'uscita audio di default (0=auto, 1=analog, 2=hdmi):
$ amixer cset numid=3 1
2. Fix dello script di avvio di subsonic:
$ sudo vim /usr/bin/subsonic
add the following line before the -verbose:gc \ line
'-Djavax.sound.sampled.SourceDataLine=#ALSA [default]' \
3. Sostituire ffmpeg con libav-tools (in raspian non c'è ffmpeg):
$ sudo apt-get install libav-tools
$ cd /var/subsonic/transcode
$ mv ffmpeg ffmpeg.ori
$ ln -s /usr/bin/avconv ffmpeg

About

PiTunes è un semplice player realizzato in html+js (grazie a js-subsonic by acroyear) per accedere facilmente alla modalità jukebox di subsonic tramite web browser

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published