]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
IPTV: autonet - allow pipe:// URLs - quickfix, fixes #3221
authorJaroslav Kysela <perex@perex.cz>
Thu, 29 Oct 2015 15:05:39 +0000 (16:05 +0100)
committerJaroslav Kysela <perex@perex.cz>
Thu, 29 Oct 2015 15:06:07 +0000 (16:06 +0100)
src/input/mpegts/iptv/iptv_auto.c

index fb2d5850cdb711477746d4eb28a6c3c330b020d0..89024eafce9fd244df210d5baa5b58462f110ff5 100644 (file)
@@ -128,6 +128,10 @@ iptv_auto_network_process_m3u_item(iptv_network_t *in,
   }
 
   urlinit(&u);
+
+  if (strncmp(url, "pipe://", 7) == 0)
+    goto skip_url;
+
   if (urlparse(url, &u))
     return;
   if (u.host == NULL || u.host[0] == '\0')
@@ -171,6 +175,7 @@ iptv_auto_network_process_m3u_item(iptv_network_t *in,
     url = url2;
   }
 
+skip_url:
   if (last_url) {
     if (charset_id) {
       x = intlconv_to_utf8safestr(charset_id, name, strlen(name)*2);