feat: make lazy stream host name configurable (#72)

* run raw plex curl request

* update sample env file

* parse raw chrome curl req

* update cronjob

* use post request to update plex

* oops

* feat: make lazystream host configurable

* feat: update xml template

* fix: revert plex update changes for now (needs more testing)

* feat: update readme
This commit is contained in:
taylorbourne
2021-11-03 17:03:49 -07:00
committed by GitHub
parent cbbb2f7786
commit 1e6334d7bd
3 changed files with 6 additions and 1 deletions

View File

@@ -10,7 +10,7 @@ exec 1> >(prepend "[update-hosts] ")
# Update hosts file
export IP=$(getent ahostsv4 freesports.ddns.net | awk '{ print $1 }' | head -1)
export IP=$(getent ahostsv4 "$lazyStreamHost" | awk '{ print $1 }' | head -1)
echo $IP playback.svcs.mlb.com >> /etc/hosts
echo $IP mf.svc.nhl.com >> /etc/hosts