Skip to content
This repository has been archived by the owner on Jun 13, 2021. It is now read-only.

cknave/demosauce

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

demosauce - fancy icecast source client

BUILDING
==================
officially we support only linux, but the code is written with portability in mind.

Libraries
------------------
required libs:
libsamplerate, libmp3lame, libshout, libavcodec, libavformat

optional libs:
bass, libid3tag

you can use BASS for module playback (mod, s3m, xm, it). the configure script will ask and to the work for you. alternatively you can get the binaries for your system here http://www.un4seen.com/bass.html. extract the bass.h header file and bass.so for your platform. libid3tag is required for bass.

Linux
------------------
run installDependencies.sh to install the required libraries. it may actually work on a few distros.

OSX
------------------
you will need to install the required libraries manually.

BSD
------------------
on freebsd installDependencies.sh should work 

Windows
------------------
lol

SETUP
==================
copy contrib/demosauce.conf.example to demosauce.conf. then edit it. the comments will guide you.  

RUN
==================
you can either run demosauce with a full demovibes server (which demosauce was written for) or provide your own script. that script will listen on a certain port for a command (NEXTSONG) upon which it will return information about the next song to be played. the format is a couple of key-value pairs. if you're using demosauce with demovibes, just run the sockulf.py script in the demobibes directory.  
for a simple custom example script, check contrib/simple-sockulf.py. it will play all playable files in a given directory in a random order. you can use that script as the basis for you own solution. you probably only have to change the djDerp class. 
to control demosauce while it's running, use contrib/demosauce-control.py. 

LICENSE
==================
GPLv3 http://www.gnu.org/licenses/gpl.txt

FAQ
==================
if you have a question, contact me (maep) via irc: #nectarine on irc.eu.esper.net

what per-song settings are available?
    general
    ------------------
    gain        : <replay gain value>
    length      : <force length in seconds, 0 = disabled>
    fade_out    : false | true
    mix         : auto  | 0.0 - 0.5

    bass only
    ------------------
    bass_inter  : auto | off  | linear | sinc
    bass_ramp   : auto | off  | normal | sensitive
    bass_mode   : auto | bass | pt1    | ft2

cheers, maep

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published