xbmc file upload / playlist insert example
[clinton/scratch.git] / xbmc / upload.html
diff --git a/xbmc/upload.html b/xbmc/upload.html
new file mode 100644 (file)
index 0000000..3f7eae0
--- /dev/null
@@ -0,0 +1,18 @@
+<html>
+  <head>
+    <style>
+      input[type=file], input[type=submit] { height: 20em; width: 100%; }
+    </style>
+  </head>
+  <body>
+    <form action="upload.py.cgi" method="post" enctype="multipart/form-data">
+      <p>
+       <input name="song" type="file" accept="audio/*"
+              <!-- multiple="multiple" --> />
+       <input type="submit" value="Party On!" />
+       <input type="checkbox" value="faster" name="asap" />
+       <label for="faster">ASAP</label>
+      </p>
+    </form>
+  </body>
+</html>