From: Guillaume Pellerin Date: Wed, 31 Jan 2024 17:22:12 +0000 (+0100) Subject: add more examples X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=098d3b7e7aba11cb616102cbbb22ea107528a824;p=deefuzzer.git add more examples --- diff --git a/example/deefuzzer_telecaster_test.yaml b/example/deefuzzer_telecaster_test.yaml new file mode 100644 index 0000000..3658225 --- /dev/null +++ b/example/deefuzzer_telecaster_test.yaml @@ -0,0 +1,31 @@ +deefuzzer: + log: /tmp/telecaster_webm_monitor.log + m3u: /tmp/telecaster_webm_monitor.m3u + station: + control: {mode: 1, port: 16002} + infos: {description: TeleCaster WebM monitor stream, genre: Vocal, name: monitor_0.webm, short_name: monitor_0.webm, + url: 'https://www.parisson.com'} + jingles: {dir: /path/to/jingles, mode: '0', shuffle: '0'} + media: {bitrate: '512', dir: /usr/local/share/telecaster/media/webm, format: webm, ogg_quality: '4', + samplerate: '48000', shuffle: '0', voices: '1'} + record: {dir: /tmp/webm/0, mode: 1} + relay: {author: TeleCaster, mode: '1', url: 'http://127.0.0.1:17000/telecaster_live_0.webm'} + rss: {dir: /var/www/rss, enclosure: '0', media_url: 'http://localhost/rss/'} + server: {host: 127.0.0.1, port: '8000', public: '0', sourcepassword: source2parisson, + type: icecast, mountpoint: monitor_0.webm} + twitter: {key: 76728330-OjKgbHtn4II86Ad7pNUGEzfNAkGTW5Wvw38qUmLE, mode: '0', secret: 4egZs1dSM37XVY8zXa016Yueku2fleXF2bx8k25V4, + tags: bla bla} + station: + control: {mode: 1, port: 16012} + infos: {description: TeleCaster WebM monitor stream, genre: Vocal, name: monitor_2.webm, short_name: monitor_2.webm, + url: 'https://www.parisson.com'} + jingles: {dir: /path/to/jingles, mode: '0', shuffle: '0'} + media: {bitrate: '512', dir: /usr/local/share/telecaster/media/webm, format: webm, ogg_quality: '4', + samplerate: '48000', shuffle: '0', voices: '1'} + record: {dir: /tmp/webm/2, mode: 1} + relay: {author: TeleCaster, mode: '1', url: 'http://127.0.0.1:17000/telecaster_live_2.webm'} + rss: {dir: /var/www/rss, enclosure: '0', media_url: 'http://localhost/rss/'} + server: {host: 127.0.0.1, port: '8000', public: '0', sourcepassword: source2parisson, + type: icecast, mountpoint: monitor_2.webm} + twitter: {key: 76728330-OjKgbHtn4II86Ad7pNUGEzfNAkGTW5Wvw38qUmLE, mode: '0', secret: 4egZs1dSM37XVY8zXa016Yueku2fleXF2bx8k25V4, + tags: bla bla} \ No newline at end of file diff --git a/example/deefuzzer_test.xml b/example/deefuzzer_test.xml new file mode 100644 index 0000000..06c04ac --- /dev/null +++ b/example/deefuzzer_test.xml @@ -0,0 +1,78 @@ + + /tmp/station.log + /tmp/station.m3u + + + 0 + 16001 + + + /path/to/jingles + 0 + 1 + + + + + 0 + 16001 + + + My personal best funky playlist ever ! + Various Funk Groove + My best funky station + My_station + http://parisson.com + + + /path/to/jingles + 0 + 1 + + + 96 + /home/guyom/Musique/MP3/NovaTunes + mp3 + 4 + 48000 + 0 + 2 + + + /path/to/archives + 0 + + + Unknown + 0 + http://127.0.0.1:8000/telecaster_live.mp3 + + + 1 + 1 + 1 + 1 + /tmp/feeds + 1 + http://localhost/media/ + + + stream7.parisson.com + monitor + 8000 + 0 + source2parisson + icecast + 1 + + + your access token key + 0 + your access token secret key + parisson deefuzzer + + + + + + diff --git a/example/deefuzzer_webm.json b/example/deefuzzer_webm.json new file mode 100644 index 0000000..20d9e32 --- /dev/null +++ b/example/deefuzzer_webm.json @@ -0,0 +1,77 @@ +{ + "deefuzzer": { + "log": "~/tmp/station.log", + "m3u": "~/tmp/station.m3u", + "stationdefaults": { + "control": { + "mode": 0, + "port": 16001 + }, + "jingles": { + "dir": "/path/to/jingles", + "mode": 0, + "shuffle": 1 + } + }, + "station": { + "control": { + "mode": 0, + "port": 16001 + }, + "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" + }, + "jingles": { + "dir": "/path/to/jingles", + "mode": 0, + "shuffle": 1 + }, + "media": { + "bitrate": 96, + "source": "/home/guyom/Videos/test/webm/", + "format": "webm", + "ogg_quality": 4, + "samplerate": 48000, + "shuffle": 0, + "voices": 2 + }, + "record": { + "dir": "/path/to/archives", + "mode": 0 + }, + "relay": { + "author": "Unknown", + "mode": 0, + "url": "http://127.0.0.1:8000/telecaster_live.mp3" + }, + "feeds": { + "mode": 1, + "rss": 1, + "json": 0, + "playlist": 0, + "dir": "~/tmp/rss", + "enclosure": 1, + "media_url": "http://localhost/media/" + }, + "server": { + "host": "localhost", + "mountpoint": "monitor", + "port": 8000, + "public": 0, + "sourcepassword": "hackme", + "type": "icecast", + "appendtype": 1 + }, + "twitter": { + "key": "you access token key", + "mode": 0, + "secret": "your access token secret key", + "tags": "parisson deefuzzer" + } + } + } +} diff --git a/example/deefuzzer_webm_file.json b/example/deefuzzer_webm_file.json new file mode 100644 index 0000000..a3b8ef4 --- /dev/null +++ b/example/deefuzzer_webm_file.json @@ -0,0 +1,77 @@ +{ + "deefuzzer": { + "log": "~/tmp/station.log", + "m3u": "~/tmp/station.m3u", + "stationdefaults": { + "control": { + "mode": 0, + "port": 16001 + }, + "jingles": { + "dir": "/path/to/jingles", + "mode": 0, + "shuffle": 1 + } + }, + "station": { + "control": { + "mode": 0, + "port": 16001 + }, + "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" + }, + "jingles": { + "dir": "/path/to/jingles", + "mode": 0, + "shuffle": 1 + }, + "media": { + "bitrate": 96, + "source": "/home/guyom/Vidéos/test/webm/", + "format": "webm", + "ogg_quality": 4, + "samplerate": 48000, + "shuffle": 0, + "voices": 2 + }, + "record": { + "dir": "/path/to/archives", + "mode": 0 + }, + "relay": { + "author": "Unknown", + "mode": 0, + "url": "http://127.0.0.1:8000/telecaster_live.mp3" + }, + "feeds": { + "mode": 1, + "rss": 1, + "json": 0, + "playlist": 0, + "dir": "~/tmp/rss", + "enclosure": 1, + "media_url": "http://localhost/media/" + }, + "server": { + "host": "localhost", + "mountpoint": "monitor", + "port": 8000, + "public": 0, + "sourcepassword": "hackme", + "type": "icecast", + "appendtype": 1 + }, + "twitter": { + "key": "you access token key", + "mode": 0, + "secret": "your access token secret key", + "tags": "parisson deefuzzer" + } + } + } +} diff --git a/example/deefuzzer_webm_relay.json b/example/deefuzzer_webm_relay.json new file mode 100644 index 0000000..7e96520 --- /dev/null +++ b/example/deefuzzer_webm_relay.json @@ -0,0 +1,77 @@ +{ + "deefuzzer": { + "log": "~/tmp/station.log", + "m3u": "~/tmp/station.m3u", + "stationdefaults": { + "control": { + "mode": 0, + "port": 16001 + }, + "jingles": { + "dir": "/path/to/jingles", + "mode": 0, + "shuffle": 1 + } + }, + "station": { + "control": { + "mode": 0, + "port": 16001 + }, + "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" + }, + "jingles": { + "dir": "/path/to/jingles", + "mode": 0, + "shuffle": 1 + }, + "media": { + "bitrate": 96, + "source": "/home/guyom/Vidéos/test/webm/", + "format": "webm", + "ogg_quality": 4, + "samplerate": 48000, + "shuffle": 0, + "voices": 2 + }, + "record": { + "dir": "/path/to/archives", + "mode": 0 + }, + "relay": { + "author": "Unknown", + "mode": 1, + "url": "http://localhost:17032/monitor.webm" + }, + "feeds": { + "mode": 0, + "rss": 1, + "json": 0, + "playlist": 0, + "dir": "~/tmp/rss", + "enclosure": 1, + "media_url": "http://localhost/media/" + }, + "server": { + "host": "localhost", + "mountpoint": "monitor", + "port": 8000, + "public": 0, + "sourcepassword": "hackme", + "type": "icecast", + "appendtype": 1 + }, + "twitter": { + "key": "you access token key", + "mode": 0, + "secret": "your access token secret key", + "tags": "parisson deefuzzer" + } + } + } +} diff --git a/example/deefuzzer_webm_relay_multiple.yaml b/example/deefuzzer_webm_relay_multiple.yaml new file mode 100644 index 0000000..361bd35 --- /dev/null +++ b/example/deefuzzer_webm_relay_multiple.yaml @@ -0,0 +1,112 @@ +deefuzzer: + log: "/tmp/station.log" + m3u: "/tmp/station.m3u" + stationdefaults: + control: + mode: 0 + port: 16001 + jingles: + dir: "/path/to/jingles" + mode: 0 + shuffle: 1 + station: + - + control: + mode: 0 + port: 16001 + infos: + name: "monitor_1" + short_name: "monitor_1" + description: "bla bla" + genre: "testing" + url: "http://parisson.com" + jingles: + dir: "/path/to/jingles" + mode: 0 + shuffle: 1 + media: + bitrate: 96 + source: "/home/guyom/Vidéos/test/webm" + format: webm + ogg_quality: 4 + samplerate: 48000 + shuffle: 0 + voices: 2 + record: + dir: "/tmp/deefuzzer/1" + mode: 1 + relay: + author: Unknown + mode: 1 + url: "http://localhost:17032/monitor.webm" + feeds: + mode: 0 + rss: 1 + json: 0 + playlist: 1 + dir: "/path/to/rss/" + enclosure: 1 + media_url: "http://localhost/media/" + server: + host: "127.0.0.1" + mountpoint: monitor_1 + port: 8000 + public: 0 + sourcepassword: hackme + type: icecast + appendtype: 1 + twitter: + key: "your access token key" + mode: 0 + secret: "your access token secret key" + tags: "parisson deefuzzer" + - + control: + mode: 0 + port: 16002 + infos: + name: "monitor_2" + short_name: "monitor_2" + description: "bla bla" + genre: "testing" + url: "http://parisson.com" + jingles: + dir: "/path/to/jingles" + mode: 0 + shuffle: 1 + media: + bitrate: 96 + source: "/home/guyom/Vidéos/test/webm" + format: webm + ogg_quality: 4 + samplerate: 48000 + shuffle: 0 + voices: 2 + record: + dir: "/tmp/deefuzzer/2" + mode: 1 + relay: + author: Unknown + mode: 1 + url: "http://localhost:17033/monitor.webm" + feeds: + mode: 0 + rss: 1 + json: 0 + playlist: 1 + dir: "/path/to/rss/" + enclosure: 1 + media_url: "http://localhost/media/" + server: + host: "127.0.0.1" + mountpoint: monitor_2 + port: 8000 + public: 0 + sourcepassword: hackme + type: icecast + appendtype: 1 + twitter: + key: "your access token key" + mode: 0 + secret: "your access token secret key" + tags: "parisson deefuzzer"