From dddbc5556e278b4f6770d9b036158eacd90429f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Janouch?= Date: Mon, 1 Oct 2018 00:36:49 +0200 Subject: 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. --- README.adoc | 28 +++++++++++++++++----------- 1 file changed, 17 insertions(+), 11 deletions(-) (limited to 'README.adoc') 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 ------------------------ -- cgit v1.2.3