diff --git a/README.md b/README.md index 47fdf8f..5fc26c9 100644 --- a/README.md +++ b/README.md @@ -4,16 +4,17 @@ This Docker provides a simple solution to get live NHL and MLB games into your E - [Run](#run) - [Setup](#setup) - - [Env file](#env-file) - - [Cron schedule](#cron-schedule) - - [Sample volume mapping](#sample-volume-mapping) - - [xTeVe](#xteve) - - [guide2go](#guide2go) - - [Testing cronjob function](#testing-cronjob-function) + - [Env file](#env-file) + - [Cron schedule](#cron-schedule) + - [Sample volume mapping](#sample-volume-mapping) + - [xTeVe](#xteve) + - [guide2go](#guide2go) + - [Testing cronjob function](#testing-cronjob-function) + - [Notes on Channels DVR](#notes-on-channels-dvr) - [Credits](#credits) - - [guide2go](#guide2go-1) - - [Lazystream](#lazystream) - - [xTeVe](#xteve-1) + - [guide2go](#guide2go-1) + - [Lazystream](#lazystream) + - [xTeVe](#xteve-1) # Run @@ -69,6 +70,13 @@ If you have an existing guide2go setup you may copy the `.yaml` files into the p Simply run the cronjob file inside the Docker container `docker exec -it dockername ./cronjob.sh` +## Notes On Channels DVR + +- You have to select MPEG-TS as the stream format +- The stream only works in a browser - not on Android TV or Android +- Adding an m3u playlist to Channels: + https://getchannels.com/docs/channels-dvr-server/how-to/custom-channels/#adding-your-custom-channels + # Credits [Lazystream](https://github.com/tarkah/lazystream) – [@tarkah](https://github.com/tarkah/) diff --git a/root/etc/cont-init.d/60-update-lazystream b/root/etc/cont-init.d/60-update-lazystream index 3e0d9c2..c5cc8f0 100644 --- a/root/etc/cont-init.d/60-update-lazystream +++ b/root/etc/cont-init.d/60-update-lazystream @@ -20,10 +20,12 @@ latest_version=$(echo $latest_release | grep -oE 'v[0-9]+\.[0-9]+\.[0-9]+' | hea echo "remote version: ${latest_version}" +[ "$(arch)" == "x86_64" ] && release_name=$lazyStreamReleaseName || release_name=$lazyStreamReleaseNameAarch64 + if [ $current_version != $latest_version ]; then echo "newer version available, downloading..." - wget https://github.com/tarkah/lazystream/releases/download/$latest_version/lazystream-$latest_version-x86_64-unknown-linux-musl.tar.gz -O lazystream.tar.gz; \ + wget https://github.com/tarkah/lazystream/releases/download/$latest_version/lazystream-$latest_version-$release_name.tar.gz -O lazystream.tar.gz; \ tar xzf lazystream.tar.gz; \ mv ././lazystream /usr/bin/lazystream; \ rm lazystream.tar.gz; \ diff --git a/sample.env b/sample.env index e0f7585..4d2e0d2 100644 --- a/sample.env +++ b/sample.env @@ -55,4 +55,11 @@ plexUpdateURL= # channelsUpdateXmltvURL -> http://192.168.1.1:8089/dvr/lineups/XMLTV- use_channelsAPI=no channelsUpdateM3uURL= -channelsUpdateXmltvURL= \ No newline at end of file +channelsUpdateXmltvURL= + +### LazyStream Release Names +# ** WARNING ** +# If you change these values you're on your own! There's really no need to change anything here unless +# your unique setup calls for it. +lazyStreamReleaseName=x86_64-unknown-linux-musl +lazyStreamReleaseNameAarch64=aarch64-unknown-linux-gnu