]> git.parisson.com Git - deefuzzer.git/commitdiff
Updated example config files with new/renamed options
authorachbed <github@achbed.org>
Wed, 19 Nov 2014 21:57:41 +0000 (15:57 -0600)
committerachbed <github@achbed.org>
Wed, 19 Nov 2014 21:57:41 +0000 (15:57 -0600)
Signed-off-by: achbed <github@achbed.org>
example/deefuzzer.json
example/deefuzzer.xml
example/deefuzzer.yaml
example/deefuzzer_doc.xml

index fd4acfed79810eddbdd8eab5283661edd9ec387d..a535be256adb07c974c32f134bdc354caef96743 100644 (file)
                 "mode": 0,
                 "url": "http://127.0.0.1:8000/telecaster_live.mp3"
             },
-            "rss": {
+            "feeds": {
+                "mode": 1,
+                "rss": 1,
+                "json": 0,
+                "playlist": 0,
                 "dir": "/path/to/rss",
                 "enclosure": 1,
                 "media_url": "http://localhost/media/"
index c3f48bf3ef68176d539c66d08e3f52d88e8fa749..cdc04ec77172f82e072bb6bd3161a1351286c1d8 100644 (file)
             <mode>0</mode>
             <url>http://127.0.0.1:8000/telecaster_live.mp3</url>
         </relay>
-        <rss>
+        <feeds>
+            <mode>1</mode>
+            <rss>1</rss>
+            <json>0</json>
+            <playlist>1</playlist>
             <dir>/path/to/rss/</dir>
             <enclosure>1</enclosure>
             <media_url>http://localhost/media/</media_url>
-        </rss>
+        </feeds>
         <server>
             <host>127.0.0.1</host>
             <mountpoint>monitor</mountpoint>
index d663020015a7dbbfba454bad47371f8405737b59..8987c3765303c42b70a9e5df33d69b3cf6bc58e6 100644 (file)
@@ -32,7 +32,8 @@ deefuzzer:
             mode: 0,
             url: 'http://127.0.0.1:8000/telecaster_live.mp3'}
 
-    rss: {dir: /var/www/rss,
+    feeds: {mode: 1, rss: 1, json: 0, playlist: 1,
+          dir: /var/www/rss,
           enclosure: 0,
           media_url: 'http://localhost/media/'}
 
index aa915becb3d13b18347335320dba78001eb90dd0..92ce38da144e66104a597d5969337508b2270cde 100644 (file)
             <url>http://127.0.0.1:8000/telecaster_live.mp3</url>
         </relay>
         <rss>
-            <!-- A path to the directory containing RSS (XML) files that is 'currently playing'
+            <!-- If '1', the feeds will output, '0' will do nothing.  Default: '1' -->
+            <mode>1</mode>
+            <!-- If '1', the feeds will output in RSS format, '0' will not.  Default: '1' -->
+            <rss>1</rss>
+            <!-- If '1', the feeds will output in JSON format, '0' will not.  Default: '0' -->
+            <json>0</json>
+            <!-- If '1', the feeds will output a 'playlist' feed, '0' will not.  Default: '1' -->
+            <playlist>1</playlist>
+            <!-- REQUIRED: A path to the directory containing RSS (XML) files that is 'currently playing'
                 and 'playlist' feeds (need write access rights to the directory).
                 The file is preferably accessible behind an url,
                 for example, http://mydomain.com/rss/mystation.xml -->
             <dir>/path/to/rss/</dir>
-            <!-- If '1', the RSS feeds will contain an enclosure to become a podcast feed.
+            <!-- REQUIRED: If '1', the RSS feeds will contain an enclosure to become a podcast feed.
                 '0' for simple RSS feed without enclosure -->
             <enclosure>1</enclosure>
-            <!-- the base URL of all media items (optional).
+            <!-- the base URL of all media items.
                  Default is station url /media -->
             <media_url>http://localhost/media/</media_url>
         </rss>