From 3b10049d721bac95f4f242e6c14dfd1a0340f62b Mon Sep 17 00:00:00 2001 From: whatdoineed2do/Ray Date: Tue, 23 Oct 2018 10:06:11 +0100 Subject: [PATCH] [filescanner] parse https streams for m3u --- src/library/filescanner_playlist.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/library/filescanner_playlist.c b/src/library/filescanner_playlist.c index e81a1fda..f195c31d 100644 --- a/src/library/filescanner_playlist.c +++ b/src/library/filescanner_playlist.c @@ -245,6 +245,7 @@ scan_playlist(const char *file, time_t mtime, int dir_id) // Protect this playlist's radio stations from purge after scan db_pl_ping_items_bymatch("http://", pli->id); + db_pl_ping_items_bymatch("https://", pli->id); free_pli(pli, 0); return; } @@ -338,7 +339,7 @@ scan_playlist(const char *file, time_t mtime, int dir_id) continue; /* Check if line is an URL, will be added to library, otherwise it should already be there */ - if (strncasecmp(path, "http://", 7) == 0) + if (strncasecmp(path, "http://", 7) == 0 || strncasecmp(path, "https://", 8) == 0) ret = process_url(pl_id, path, &mfi); else ret = process_regular_file(pl_id, path);