From 2e49587cc291ebc90ca30b66fe58c93dc754db4d Mon Sep 17 00:00:00 2001 From: Brendan Le Glaunec Date: Thu, 23 May 2019 09:19:04 +0200 Subject: [PATCH] Remove erroneous route and update dictionary updater (#207) * Remove erroneous route and update dictionary updater * Rename dictionary updater --- dictionaries/routes | 1 - .../main.go | 5 ++++- 2 files changed, 4 insertions(+), 2 deletions(-) rename tools/{automatic_route_dictionary_updater => dictionary_updater}/main.go (97%) diff --git a/dictionaries/routes b/dictionaries/routes index 685ee80..ab982a6 100644 --- a/dictionaries/routes +++ b/dictionaries/routes @@ -123,7 +123,6 @@ play2.sdp profile2/media.smp profile5/media.smp rtpvideo1.sdp -rtsp://ip-addr rtsp_live0 rtsp_live1 rtsp_live2 diff --git a/tools/automatic_route_dictionary_updater/main.go b/tools/dictionary_updater/main.go similarity index 97% rename from tools/automatic_route_dictionary_updater/main.go rename to tools/dictionary_updater/main.go index 607017d..0799d69 100644 --- a/tools/automatic_route_dictionary_updater/main.go +++ b/tools/dictionary_updater/main.go @@ -168,7 +168,10 @@ func loadRoutes(url string, bar *mpb.Bar) { } switch rtspURL { - case "", "[Details]", "rtsp://ip-addr/", "http://ip-addr/": + case "", + "rtsp://ip-addr/", + "rtsp://ip-addr", + "rtsp://ip-addr:pass@10.0.0.5:6667/blinkhd": return default: route := strings.TrimSpace(strings.TrimPrefix(rtspURL, "rtsp://ip-addr/"))