From: Guillaume Pellerin Date: Thu, 16 Dec 2010 00:27:53 +0000 (+0000) Subject: change default conf files X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=7728f7fb84077743867feb0e8c5e30fb1240fd25;p=deefuzzer.git change default conf files --- diff --git a/example/deefuzz_xml_gen.py b/example/deefuzz_xml_gen.py deleted file mode 100755 index 26beb21..0000000 --- a/example/deefuzz_xml_gen.py +++ /dev/null @@ -1,25 +0,0 @@ -#!/usr/bin/python -# -*- coding: utf-8 -*- - -import sys -from string import Template - -nb_station = sys.argv[1] -deefuzz_from = sys.argv[2] -deefuzz_to = sys.argv[3] - -df = open(deefuzz_from, 'r') -dt = open(deefuzz_to, 'w') -t = Template(df.read()) - -dt.write('\n') -dt.write(' /tmp/deefuzz.log\n') -dt.write(' /tmp/deefuzz.m3u\n') - -for i in range(0,int(nb_station)): - xml = t.substitute(number='_'+str(i+1)) - dt.write(xml) -dt.write('\n') - -df.close() -dt.close() diff --git a/example/deefuzzer.xml b/example/deefuzzer.xml new file mode 100644 index 0000000..4fb995c --- /dev/null +++ b/example/deefuzzer.xml @@ -0,0 +1,60 @@ + + /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 + your access token key + your access token secret key + bla bla + + + 0 + /path/to/jingles + 1 + + + 0 + 1234 + + + 0 + http://anotherdomain.com:8000/stream.mp3 + Me + + + 0 + /path/to/archives + + + + + + diff --git a/example/deefuzzer_doc.xml b/example/deefuzzer_doc.xml new file mode 100644 index 0000000..ca32342 --- /dev/null +++ b/example/deefuzzer_doc.xml @@ -0,0 +1,105 @@ + + + /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 + + your access token key + + your access token secret key + + bla bla + + + + 0 + + /path/to/jingles + + 1 + + + + 0 + + 1234 + + + + 0 + + http://anotherdomain.com:8000/stream.mp3 + + Me + + + + 0 + + /path/to/archives + + + + + + + diff --git a/example/myfuzz.xml b/example/myfuzz.xml deleted file mode 100644 index ca32342..0000000 --- a/example/myfuzz.xml +++ /dev/null @@ -1,105 +0,0 @@ - - - /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 - - your access token key - - your access token secret key - - bla bla - - - - 0 - - /path/to/jingles - - 1 - - - - 0 - - 1234 - - - - 0 - - http://anotherdomain.com:8000/stream.mp3 - - Me - - - - 0 - - /path/to/archives - - - - - - -