Skip to content

daniel-j/parasprite-radio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

e28757d Â· Nov 1, 2023
Oct 20, 2015
Nov 1, 2023
Oct 4, 2017
Nov 1, 2023
Nov 3, 2016
Mar 23, 2020
May 8, 2019
May 5, 2021
Oct 4, 2017
May 28, 2018
Nov 5, 2016
Nov 5, 2016
Mar 11, 2019
Oct 31, 2016
Oct 31, 2016
Nov 12, 2014
Oct 31, 2016
Oct 31, 2016
Oct 7, 2019
Nov 1, 2016
Nov 3, 2016
Mar 23, 2020
Mar 23, 2020
Oct 7, 2019

Repository files navigation

Parasprite Radio

Under development! See the live site: http://radio.djazz.se

Installation

Note: Installation instructions are not complete!

Install dependencies

Ubuntu

TODO

Arch Linux

sudo pacman -S nodejs npm mariadb mpd icecast mediainfo graphicsmagick flac opus-tools curl festival sox

Now install Liquidsoap from AUR or OPAM.

Install ffmpeg-git from AUR or build it yourself. Any recent ffmpeg version with fdkaac enabled should work. You could also install the ffmpeg-full or ffmpeg-full-git package, or possibly ffmpeg-libfdk_aac.

Follow these instructions to set up the MySQL service.

Set up

# Install Gulp globally:
sudo npm install -g gulp

# Install nodejs dependencies and build the app in debug mode:
./install

# Create structure for MPD:
mkdir -p ~/.mpd/playlists
touch ~/.mpd/playlists/radio.m3u

Edit /etc/icecast.xml and increase <sources> from 2 to 10. Also, change passwords! Create a MySQL database for the radio. Edit conf/radio.toml and conf/mpd.conf. Start Icecast and MySQL services.

Usage

Start MPD: bin/startmpd

Start Liquidsoap: in development bin/startliq dev or production bin/startliq

Start node server: in development bin/startserver -d or production bin/startserver

If you haven't changed the default port, you can view the radio page here: http://localhost:8002

For debugging with BrowserSync, run gulp watch, bin/startserver -d and open http://localhost:3000

To build the app for production: gulp -p