milaq
169877e42b
some AVRs expect a content-length header
...
also use a correct length hex value as token response as at least some
yamaha avrs are having trouble with 'malformed' tokens
2019-01-25 00:54:18 +01:00
milaq
5888815cd8
add compatibility for other vendors
...
do not hardcode initurl to get easy compatibility with other initurls (e.g. onkyo)
2019-01-24 22:07:06 +01:00
milaq
5e2733f841
clean up duplicate header code
2019-01-21 02:59:21 +01:00
Étienne Loks
a1e6fdb8f8
handle vtuner api token requests
...
A token request is now made at initialization. Reply to this
request with an arbitrary token.
2019-01-21 02:46:37 +01:00
milaq
c085974137
use host address from headers for redirects
...
allow compatibility with other addresses (e.g. AVRs from other manufacturers)
2019-01-21 02:38:56 +01:00
milaq
891384350c
allow help call w/o stations.yml
2019-01-21 01:57:50 +01:00
milaq
61d584c8be
better handling of common errors
2018-07-23 18:36:47 +02:00
milaq
4432f1ef96
make listen address and port configurable via commandline
2018-07-23 18:28:43 +02:00
milaq
ef54ad932e
do not redirect to listen_port
...
the initial request arrives at port 80 either way.
also, in case we are not listening on all interfaces and/or firewall rules are
in the way this leads to the receiver not querying an accessible url.
2018-07-23 14:34:21 +02:00
milaq
bbc4e55e55
initial commit
2018-07-23 14:25:01 +02:00