diff --git a/templates/themes/radio/info.php b/templates/themes/radio/info.php new file mode 100644 index 00000000..d6679733 --- /dev/null +++ b/templates/themes/radio/info.php @@ -0,0 +1,23 @@ + 'Radio', + 'description' => 'Display a link to the lainchan radio', + 'version' => 'v1', + + 'config' => array( + array('title' => 'Page title', + 'name' => 'title', + 'type' => 'text'), + + array('title' => 'Slogan', + 'name' => 'subtitle', + 'type' => 'text', + 'comment' => '(optional)'), + + array('title' => 'File', + 'name' => 'file', + 'type' => 'text', + 'default' => 'radio.html')), + + 'build_function' => 'radio_build'); +?> \ No newline at end of file diff --git a/templates/themes/radio/radio.html b/templates/themes/radio/radio.html new file mode 100644 index 00000000..7976bb7d --- /dev/null +++ b/templates/themes/radio/radio.html @@ -0,0 +1,52 @@ +{% filter remove_whitespace %} + + +
+ +Welcome to lainchan's very own internet radio!
Statistics
+ about this stream such as current listeners, song title, et
+ cetera, can currently be found
+ at radio.lain.io; they will
+ soon be added to this page.
+
NOTE: Some experimental browsers, namely + very recent versions of Chromium, have been known to break with + OGG streams. If your connection is choppy, try a either running + the stream in a different browser, or opening one of the + playlists in a media player:
+ +