]> git.parisson.com Git - deefuzzer.git/commitdiff
add more examples
authorGuillaume Pellerin <guillaume.pellerin@free.fr>
Wed, 31 Jan 2024 17:22:12 +0000 (18:22 +0100)
committerGuillaume Pellerin <guillaume.pellerin@free.fr>
Wed, 31 Jan 2024 17:22:12 +0000 (18:22 +0100)
example/deefuzzer_telecaster_test.yaml [new file with mode: 0644]
example/deefuzzer_test.xml [new file with mode: 0644]
example/deefuzzer_webm.json [new file with mode: 0644]
example/deefuzzer_webm_file.json [new file with mode: 0644]
example/deefuzzer_webm_relay.json [new file with mode: 0644]
example/deefuzzer_webm_relay_multiple.yaml [new file with mode: 0644]

diff --git a/example/deefuzzer_telecaster_test.yaml b/example/deefuzzer_telecaster_test.yaml
new file mode 100644 (file)
index 0000000..3658225
--- /dev/null
@@ -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 (file)
index 0000000..06c04ac
--- /dev/null
@@ -0,0 +1,78 @@
+<deefuzzer>
+    <log>/tmp/station.log</log>
+    <m3u>/tmp/station.m3u</m3u>
+    <stationdefaults>
+        <control>
+            <mode>0</mode>
+            <port>16001</port>
+        </control>
+        <jingles>
+            <dir>/path/to/jingles</dir>
+            <mode>0</mode>
+            <shuffle>1</shuffle>
+        </jingles>
+    </stationdefaults>
+    <station>
+        <control>
+            <mode>0</mode>
+            <port>16001</port>
+        </control>
+        <infos>
+            <description>My personal best funky playlist ever !</description>
+            <genre>Various Funk Groove</genre>
+            <name>My best funky station</name>
+            <short_name>My_station</short_name>
+            <url>http://parisson.com</url>
+        </infos>
+        <jingles>
+            <dir>/path/to/jingles</dir>
+            <mode>0</mode>
+            <shuffle>1</shuffle>
+        </jingles>
+        <media>
+            <bitrate>96</bitrate>
+            <source>/home/guyom/Musique/MP3/NovaTunes</source>
+            <format>mp3</format>
+            <ogg_quality>4</ogg_quality>
+            <samplerate>48000</samplerate>
+            <shuffle>0</shuffle>
+            <voices>2</voices>
+        </media>
+        <record>
+            <dir>/path/to/archives</dir>
+            <mode>0</mode>
+        </record>
+        <relay>
+            <author>Unknown</author>
+            <mode>0</mode>
+            <url>http://127.0.0.1:8000/telecaster_live.mp3</url>
+        </relay>
+        <feeds>
+            <mode>1</mode>
+            <rss>1</rss>
+            <json>1</json>
+            <playlist>1</playlist>
+            <dir>/tmp/feeds</dir>
+            <enclosure>1</enclosure>
+            <media_url>http://localhost/media/</media_url>
+        </feeds>
+        <server>
+            <host>stream7.parisson.com</host>
+            <mountpoint>monitor</mountpoint>
+            <port>8000</port>
+            <public>0</public>
+            <sourcepassword>source2parisson</sourcepassword>
+            <type>icecast</type>
+            <appendtype>1</appendtype>
+        </server>
+        <twitter>
+            <key>your access token key</key>
+            <mode>0</mode>
+            <secret>your access token secret key</secret>
+            <tags>parisson deefuzzer</tags>
+        </twitter>
+    </station>
+
+</deefuzzer>
+
+
diff --git a/example/deefuzzer_webm.json b/example/deefuzzer_webm.json
new file mode 100644 (file)
index 0000000..20d9e32
--- /dev/null
@@ -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 (file)
index 0000000..a3b8ef4
--- /dev/null
@@ -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 (file)
index 0000000..7e96520
--- /dev/null
@@ -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 (file)
index 0000000..361bd35
--- /dev/null
@@ -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"