Nick Craig-Wood
27a9d0f570
serve dlna: only select interfaces which can multicast for SSDP
...
Before this change we used all UP interfaces - now we need the
interfaces to be UP and MULTICAST capable.
See: https://forum.rclone.org/t/error-using-rclone-serve-dlna-on-termux/11083
2019-08-20 16:24:56 +01:00
Nick Craig-Wood
57d5de6fba
build: fix up package paths after repo move
...
git grep -l github.com/ncw/rclone | xargs -d'\n' perl -i~ -lpe 's|github.com/ncw/rclone|github.com/rclone/rclone|g'
goimports -w `find . -name \*.go`
2019-07-28 18:47:38 +01:00
Dan Walters
f0e439de0d
dlna: improve logging and error handling
...
Mostly trying to get logging to happen through rclone's log methods.
Added request logging, and a trace parameter that will dump the
entire request/response for debugging when dealing with poorly
written clients.
Also added a flag to specify the device's "Friendly Name" explicitly,
and made an attempt at allowing mime types in addition to video.
2019-05-27 14:42:33 +01:00
Dan Walters
60bb01b22c
dlna: refactor the serve mux
...
Trying to make it a little easier to understand and work on all the
available routes, etc.
2019-05-27 14:42:33 +01:00
Dan Walters
be8c23f0b4
dlna: use vfsgen for static assets
...
As more assets are added, using vfsgen makes things a bit easier.
2019-05-27 14:42:33 +01:00
nicolov
0b7fdf16a2
serve: add dlna server
2019-01-09 19:14:14 +00:00