This repository was archived by the owner on Jun 13, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathREADME
More file actions
65 lines (50 loc) · 2.34 KB
/
README
File metadata and controls
65 lines (50 loc) · 2.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
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