Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
IPTV: autonet fix parsing without path
  • Loading branch information
perexg committed Nov 14, 2015
1 parent fb9044c commit 52730c5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/input/mpegts/iptv/iptv_auto.c
Expand Up @@ -155,7 +155,8 @@ iptv_auto_network_process_m3u_item(iptv_network_t *in,
tvh_strlcatf(url2, sizeof(url2), l, "%s", u.host);
if (u.port > 0)
tvh_strlcatf(url2, sizeof(url2), l, ":%d", u.port);
tvh_strlcatf(url2, sizeof(url2), l, "%s", u.path);
if (u.path)
tvh_strlcatf(url2, sizeof(url2), l, "%s", u.path);
if (u.query)
tvh_strlcatf(url2, sizeof(url2), l, "?%s", u.query);
url = url2;
Expand Down

0 comments on commit 52730c5

Please sign in to comment.