From 46d806ce2df69f120da5360c15ecc4ff0d03f127 Mon Sep 17 00:00:00 2001 From: Justin Maggard Date: Mon, 1 May 2017 18:42:24 -0700 Subject: [PATCH] Document the new tivo_discovery config parameter --- avahi.c | 2 +- minidlna.conf | 4 ++++ minidlna.conf.5 | 4 ++++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/avahi.c b/avahi.c index 92d19f3..e48f66b 100644 --- a/avahi.c +++ b/avahi.c @@ -64,7 +64,7 @@ _add_svc(const char *cat, const char *srv, const char *id, const char *platform) snprintf(path, sizeof(path), "path=/TiVoConnect?Command=QueryContainer&Container=%s", id); - DPRINTF(E_INFO, L_SSDP, "Registering '%s' with Avahi\n", name); + DPRINTF(E_INFO, L_SSDP, "Registering '%s'\n", name); ret = avahi_entry_group_add_service(ctx.group, AVAHI_IF_UNSPEC, AVAHI_PROTO_UNSPEC, 0, name, srv, NULL, NULL, runtime_vars.port, "protocol=http", path, platform, NULL); diff --git a/minidlna.conf b/minidlna.conf index 446ed3e..16cd15f 100644 --- a/minidlna.conf +++ b/minidlna.conf @@ -45,6 +45,10 @@ inotify=yes # set this to yes to enable support for streaming .jpg and .mp3 files to a TiVo supporting HMO enable_tivo=no +# set this to beacon to use legacy broadcast discovery method +# defauts to bonjour if avahi is available +tivo_discovery=bonjour + # set this to strictly adhere to DLNA standards. # * This will allow server-side downscaling of very large JPEG images, # which may hurt JPEG serving performance on (at least) Sony DLNA products. diff --git a/minidlna.conf.5 b/minidlna.conf.5 index f5ecb97..d02fd46 100644 --- a/minidlna.conf.5 +++ b/minidlna.conf.5 @@ -141,6 +141,10 @@ album_art_names=Cover.jpg/cover.jpg/AlbumArtSmall.jpg/albumartsmall.jpg/AlbumArt Set this to yes to enable support for streaming .jpg and .mp3 files to a TiVo supporting HMO, default is no. +.IP "\fBtivo_discovery\fP" +Set this to 'beacon' to use the legacy TiVo broadcast discovery method. Defaults to +using Bonjour if Avahi support is available. + .IP "\fBroot_container\fP" Use a different container as the root of the tree exposed to clients. .nf