From b56c996751d7913339015516cabf58fc78af1d6c Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Sun, 17 Jan 2010 02:58:29 +0000 Subject: [PATCH] begin XML doc --- README | 89 +++++++++++++++++++++++++++++++++++++++++++--- example/myfuzz.xml | 18 +++++----- 2 files changed, 94 insertions(+), 13 deletions(-) diff --git a/README b/README index ac5bfa6..5d96f16 100644 --- a/README +++ b/README @@ -49,11 +49,11 @@ Usage : deefuzzer CONFIGFILE where CONFIGFILE is the path for a XML config file. For example:: - $ deefuzzer example/myfuzz.xml +$ deefuzzer example/myfuzz.xml To make the deefuzzer act as a deamon, just play it in the background:: - $ deefuzzer example/myfuzz.xml & +$ deefuzzer example/myfuzz.xml & Note that you must edit the config file with right parameters before playing. You can find an example for a draft XML file in the directory "example/" of this @@ -66,11 +66,92 @@ BE CAREFULL : at the moment, the multi-threaded implementation of deefuzzer inst avoids shutting down the streams with CTRL+C... You have to kill them manually, after a CTRL+Z, making this:: - $ kill -9 PROCESS_ID +$ kill -9 PROCESS_ID or:: - $ kill -9 `pgrep deefuzzer` +$ kill -9 `pgrep deefuzzer` + + +XML Configuration +================= + +Example :: + + + + /path/to/log/mystation.log + + + /path/to/m3u/mystation.m3u + + + + + my_station + + + My best funky station + + + My personal best funky playlist ever ! + + + http://mydomain.com + + + Various Funk Groove + + + + + mydomain.com + + 8000 + + icecast_source_password + + 1 + + + + + /path/to/mp3/ + mp3 + 192 + 7 + 44100 + 2 + 1 + + + /path/to/rss/ + 1 + + + 0 + my_twitter_user + my_twitter_password + bla bla + + + 0 + /path/to/jingles + 1 + + + 0 + 1234 + + + 0 + http://anotherdomain.com:8000/stream.mp3 + + + OSC Control diff --git a/example/myfuzz.xml b/example/myfuzz.xml index b2ccbca..fb009f9 100644 --- a/example/myfuzz.xml +++ b/example/myfuzz.xml @@ -1,6 +1,6 @@ - /tmp/deefuzz.log - /var/www/m3u/mystation.m3u + /path/to/log/mystation.log + /path/to/m3u/mystation.m3u My_Station_1 @@ -10,13 +10,13 @@ Other - localhost + mydomain.com 8000 icecast_source_password 1 - /path/to/my/mp3/ + /path/to/mp3/ mp3 192 7 @@ -25,13 +25,13 @@ 1 - /tmp/rss/ + /path/to/rss/ 1 0 - xxxxxx - xxxxxx + my_twitter_user + my_twitter_password bla bla @@ -40,12 +40,12 @@ 1 - 1 + 0 1234 0 - http://parisson.com:8000/deefuzz_1.mp3 + http://anotherdomain.com:8000/stream.mp3 -- 2.39.5