From 2a9e511f8dae8e708b2c31863385f91b7965c582 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fran=C3=A7ois=20LASSERRE?= Date: Mon, 4 Aug 2014 21:22:33 +0200 Subject: [PATCH] Remove trailing whitespaces. Reorder each files. --- example/deefuzzer.json | 77 ++++++++++++----------- example/deefuzzer.xml | 78 +++++++++++------------ example/deefuzzer.yaml | 48 +++++++------- example/deefuzzer_doc.xml | 129 +++++++++++++++++++------------------- 4 files changed, 167 insertions(+), 165 deletions(-) diff --git a/example/deefuzzer.json b/example/deefuzzer.json index 333f112..fd4acfe 100644 --- a/example/deefuzzer.json +++ b/example/deefuzzer.json @@ -1,60 +1,61 @@ { "deefuzzer": { - "log": "mystation.log", - "m3u": "mystation.m3u", + "log": "/path/to/station.log", + "m3u": "/path/to/station.m3u", "station": { "control": { - "mode": 0, + "mode": 0, "port": 16001 - }, + }, "infos": { - "description": "my_station", - "genre": "music", - "name": "my_station", + "description": "My personal best funky playlist ever !", + "genre": "Various Funk Groove", + "name": "My best funky station", + "short_name": "My_station", "url": "http://parisson.com" - }, + }, "jingles": { - "dir": "/path/to/jingles", - "mode": 0, + "dir": "/path/to/jingles", + "mode": 0, "shuffle": 1 - }, + }, "media": { - "bitrate": 96, - "dir": "/path/to/mp3/", - "format": "mp3", - "m3u": "/path/to/m3u_file", - "ogg_quality": 4, - "samplerate": 48000, - "shuffle": 0, + "bitrate": 96, + "dir": "/path/to/mp3/", + "format": "mp3", + "m3u": "/path/to/m3u_file", + "ogg_quality": 4, + "samplerate": 48000, + "shuffle": 0, "voices": "2" - }, + }, "record": { - "dir": "/home/telecaster/archives/mp3", + "dir": "/path/to/archives", "mode": 0 - }, + }, "relay": { - "author": "Inconnu", - "mode": 0, + "author": "Unknown", + "mode": 0, "url": "http://127.0.0.1:8000/telecaster_live.mp3" - }, + }, "rss": { - "dir": "/var/www/rss", - "enclosure": 0, - "media_url": "http://localhost/rss/" - }, + "dir": "/path/to/rss", + "enclosure": 1, + "media_url": "http://localhost/media/" + }, "server": { - "host": "127.0.0.1", - "mountpoint": "monitor", - "port": 8000, - "public": 0, - "sourcepassword": "source2parisson", + "host": "127.0.0.1", + "mountpoint": "monitor", + "port": 8000, + "public": 0, + "sourcepassword": "icecast_source_password", "type": "icecast" - }, + }, "twitter": { - "key": "76728330-OjKgbHtn4II86Ad7pNUGEzfNAkGTW5Wvw38qUmLE", - "mode": 0, - "secret": "4egZs1dSM37XVY8zXa016Yueku2fleXF2bx8k25V4", - "tags": "bla bla" + "key": "you access token key", + "mode": 0, + "secret": "your access token secret key", + "tags": "parisson deefuzzer" } } } diff --git a/example/deefuzzer.xml b/example/deefuzzer.xml index 9b46c57..c3f48bf 100644 --- a/example/deefuzzer.xml +++ b/example/deefuzzer.xml @@ -1,61 +1,61 @@ - mystation.log - mystation.m3u - + /path/to/station.log + /path/to/station.m3u + + 0 + 16001 + - my_station - My best funky station My personal best funky playlist ever ! - http://mydomain.com Various Funk Groove + My best funky station + My_station + http://parisson.com - - icecast - mydomain.com - 8000 - icecast_source_password - 1 - + + /path/to/jingles + 0 + 1 + + 96 /path/to/mp3/ mp3 - 192 - 7 - 44100 - 2 - 1 /path/to/m3u_file + 4 + 48000 + 0 + 2 + + /path/to/archives + 0 + + + Unknown + 0 + http://127.0.0.1:8000/telecaster_live.mp3 + /path/to/rss/ 1 - http://my.domain.com/media/ + http://localhost/media/ + + 127.0.0.1 + monitor + 8000 + 0 + icecast_source_password + icecast + - 0 your access token key + 0 your access token secret key - bla bla + parisson deefuzzer - - 0 - /path/to/jingles - 1 - - - 0 - 1234 - - - 0 - http://anotherdomain.com:8000/stream.mp3 - Me - - - 0 - /path/to/archives - diff --git a/example/deefuzzer.yaml b/example/deefuzzer.yaml index c2d5712..d663020 100644 --- a/example/deefuzzer.yaml +++ b/example/deefuzzer.yaml @@ -1,47 +1,47 @@ deefuzzer: - log: mystation.log - m3u: mystation.m3u + log: /path/to/station.log + m3u: /path/to/station.m3u station: control: {mode: 0, port: 16001} - server: {host: 127.0.0.1, - mountpoint: monitor, - port: 8000, public: 0, - sourcepassword: source2parisson, - type: icecast} - - infos: {name: my_station, - description: my_station, - genre: music, + infos: {description: 'My personal best funky playlist ever!', + genre: 'Various Funk Groove', + name: 'My best funky station', + short_name: "My_station", url: 'http://parisson.com'} - media: {dir: /path/to/mp3/, - m3u: /path/to/m3u_file, + jingles: {dir: /path/to/jingles, + mode: 0, + shuffle: 1} + + media: {bitrate: 96, + dir: /path/to/mp3/, format: mp3, - bitrate: 96, + m3u: /path/to/m3u_file, ogg_quality: 4, samplerate: 48000, shuffle: 0, voices: '2'} - jingles: {dir: /path/to/jingles, - mode: 0, - shuffle: 1} - - record: {dir: /home/telecaster/archives/mp3, + record: {dir: /path/to/archives, mode: 0} - relay: {author: Inconnu, + relay: {author: Unknown, mode: 0, url: 'http://127.0.0.1:8000/telecaster_live.mp3'} rss: {dir: /var/www/rss, enclosure: 0, - media_url: 'http://localhost/rss/'} + media_url: 'http://localhost/media/'} + server: {host: 127.0.0.1, + mountpoint: monitor, + port: 8000, public: 0, + sourcepassword: icecast_source_password, + type: icecast} - twitter: {key: 76728330-OjKgbHtn4II86Ad7pNUGEzfNAkGTW5Wvw38qUmLE, - mode: 0, secret: 4egZs1dSM37XVY8zXa016Yueku2fleXF2bx8k25V4, - tags: bla bla} + twitter: {key: 'your access token key', + mode: 0, secret: 'your acess token secret key', + tags: 'parisson deefuzzzer'} diff --git a/example/deefuzzer_doc.xml b/example/deefuzzer_doc.xml index 71cff54..aa915be 100644 --- a/example/deefuzzer_doc.xml +++ b/example/deefuzzer_doc.xml @@ -1,55 +1,73 @@ - /path/to/log/mystation.log + /path/to/station.log - /path/to/m3u/mystation.m3u - + /path/to/station.m3u + + + 0 + + 16001 + - - my_station + + My personal best funky playlist ever! My best funky station - - My personal best funky playlist ever ! + + My_station - http://mydomain.com + http://parisson.com Various Funk Groove - - - icecast - - mydomain.com - - 8000 - - icecast_source_password - - 1 - + + + /path/to/jingles + + 0 + + 1 + + + 96 /path/to/mp3/ mp3 - - 192 + + /path/to/m3u_file - 7 + 4 - 44100 + 48000 + + 0 2 - - 1 - - /path/to/m3u_file + + + /path/to/archives + + 0 + + + + Unknown + + 0 + + http://127.0.0.1:8000/telecaster_live.mp3 + - http://my.domain.com/media/ + http://localhost/media/ + + + 127.0.0.1 + + monitor + + 8000 + + 0 + + icecast_source_password + + icecast + - - 0 your access token key + + 0 your access token secret key - bla bla + parisson deefuzzer - - - 0 - - /path/to/jingles - - 1 - - - - 0 - - 1234 - - - - 0 - - http://anotherdomain.com:8000/stream.mp3 - - Me - - - - 0 - - /path/to/archives - -- 2.39.5