aboutsummaryrefslogtreecommitdiff
path: root/README.adoc
diff options
context:
space:
mode:
authorPřemysl Janouch <p@janouch.name>2018-10-01 00:36:49 +0200
committerPřemysl Janouch <p@janouch.name>2018-10-11 17:06:34 +0200
commitdddbc5556e278b4f6770d9b036158eacd90429f1 (patch)
tree599b7e7d45492d94c13d1fb3f04fe1fcfe46baff /README.adoc
parentae26e5a8ea95ed1feed8daf47b90c23a2983a8ea (diff)
downloadbbc-on-ice-dddbc5556e278b4f6770d9b036158eacd90429f1.tar.gz
bbc-on-ice-dddbc5556e278b4f6770d9b036158eacd90429f1.tar.xz
bbc-on-ice-dddbc5556e278b4f6770d9b036158eacd90429f1.zip
It's about time to make this work
Luckily BBC is /still/ using HLS for their streams, and even the external metadata format hasn't changed.
Diffstat (limited to 'README.adoc')
-rw-r--r--README.adoc28
1 files changed, 17 insertions, 11 deletions
diff --git a/README.adoc b/README.adoc
index 74d4ba6..4b49dd7 100644
--- a/README.adoc
+++ b/README.adoc
@@ -11,22 +11,28 @@ a package with the latest development version from Archlinux's AUR.
Building and Running
--------------------
-Build dependencies: CMake, go
+Build dependencies: go
- $ git clone --recursive https://git.janouch.name/p/bbc-on-ice.git
- $ mkdir bbc-on-ice/build
- $ cd bbc-on-ice/build
- $ cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug
- $ make
+ $ git clone https://git.janouch.name/p/bbc-on-ice.git
+ $ cd bbc-on-ice
+ $ go build
-To install the application, you can do either the usual:
+To run the local server:
- # make install
+ $ ./bbc-on-ice :8000
-Or you can try telling CMake to make a package for you. For Debian it is:
+Streams have URLs in the following form:
- $ cpack -G DEB
- # dpkg -i bbc-on-ice-*.deb
+ $ mpv http://localhost:8000/nonuk/sbr_low/bbc_radio_one
+ $ mpv http://localhost:8000/uk/sbr_high/bbc_1xtra
+
+Socket activation
+-----------------
+The provided bbc-on-ice.service and bbc-on-ice.socket should do, just change
+the `ExecStart` path as needed and place the files appropriately. Then:
+
+ $ systemctl enable bbc-on-ice.socket
+ $ systemctl start bbc-on-ice.socket
Contributing and Support
------------------------