« get me outta code hell

http-music - Command-line music player + utils (not a server!)
about summary refs log tree commit diff
path: root/man/http-music-crawl-http.1
diff options
context:
space:
mode:
Diffstat (limited to 'man/http-music-crawl-http.1')
-rw-r--r--man/http-music-crawl-http.139
1 files changed, 18 insertions, 21 deletions
diff --git a/man/http-music-crawl-http.1 b/man/http-music-crawl-http.1
index 949d682..003e8f7 100644
--- a/man/http-music-crawl-http.1
+++ b/man/http-music-crawl-http.1
@@ -1,16 +1,13 @@
 .TH http-music-crawl-http 1
 
-
 .SH NAME
 http-music-crawl-http - create a playlist file using an HTTP-based directory listing
 
-
 .SH SYNOPSIS
 .B http-music-crawl-http
 \fIdownloadURL\fR
 [opts...]
 
-
 .SH DESCRIPTION
 \fBhttp-music-crawl-http\fR is a (convolutedly-named) command line utility used to generate playlist files for \fBhttp-music\fR by crawling the directory listing found at a given URL.
 http-music uses playlist files as its source of music; without a playlist file, the program simply does not know what to play!
@@ -44,26 +41,26 @@ http://example.com/
 .PP
 .nf
 .RS
-[
-  ['Rainbows', [
-    ['Sunlight', 'http://example.com/Rainbows/Sunlight.mp3'],
-    ['Rainbows', 'http://example.com/Rainbows/Rainbows.mp3'],
-    ['Pineapples', 'http://example.com/Rainbows/Pineapples.mp3']
-  ]],
-  ['Cool Author 72', [
-    ['Good Album', [
-      ['Hello World!', 'http://example.com/Cool%20Author%2072/Good%20Album/Hello%20World.mp3'],
-    ]]
-  ]],
-  ['Bad News', [
-    ['Bad News - Single', [
+{items: [
+  {name: 'Rainbows', items: [
+    {name: 'Sunlight', downloaderArg: 'http://example.com/Rainbows/Sunlight.mp3'},
+    {name: 'Rainbows', downloaderArg: 'http://example.com/Rainbows/Rainbows.mp3'},
+    {name: 'Pineapples', downloaderArg: 'http://example.com/Rainbows/Pineapples.mp3'}
+  ]},
+  {name: 'Cool Author 72', items: [
+    {name: 'Good Album', items: [
+      {name: 'Hello World!', downloaderArg: 'http://example.com/Cool%20Author%2072/Good%20Album/Hello%20World.mp3'},
+    ]}
+  ]},
+  {name: 'Bad News', [
+    {name: 'Bad News - Single', items: [
       ['Bad News', 'http://example.com/Bad%20News/Bad%20News%20-%20Single/Bad%20News.mp3']
-    ]],
-    ['Irony', [
+    ]},
+    {name: 'Irony', items: [
       ['Rahhhh!!', 'http://example.com/Bad%20News/Irony/Rahhhh!!.mp3']
-    ]]
-  ]]
-]
+    ]}
+  ]}
+]}
 .RE
 .fi