nixos: use HDHR port 5004 for stream URLs
This commit is contained in:
parent
f62101f754
commit
c3579ac917
1 changed files with 6 additions and 1 deletions
|
|
@ -281,7 +281,12 @@ in
|
||||||
base="http://$base"
|
base="http://$base"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
input="$base/auto/v$ch"
|
# HDHomeRun streaming is on port 5004, regardless of the discover BaseURL.
|
||||||
|
hostport="''${base#http://}"
|
||||||
|
hostport="''${hostport#https://}"
|
||||||
|
hostport="''${hostport%%/*}"
|
||||||
|
host="''${hostport%%:*}"
|
||||||
|
input="http://$host:5004/auto/v$ch"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cmd=(
|
cmd=(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue