Hello
I'd like to offer patch with few improvements in DVB-IP channel scanning. First I like to explain why this patch is done.
My ISP provides IPTV service with few different sets of channels which can be ordered separately. URL to the playlist is common (http://tv.ipnet.ua/ipnet.m3u) and content of the playlist depends on ISP user’s current subscription. So, first of all I cannot prepare the playlist for submitting to MP repository because I've not subscribed to all sets of channels, and second I have to change playlist for channel scanning every time when IPS adds new channels or I become subscribed for new channels set.
Second issue is a format of playlist. It contains additional control elements like the following:
Current implementation cannot parse #EXTVLCOPT element properly.
Third issue is number of network adapters on my TV Server. I have three network adapters in my TV Server, so for correct scanning of multicast streams I have to change every URL and add there IP address of correct network adapter.
So, my patch offers next changes:
1) Parsing of M3U files is changed. Any elements starting with # are allowed, #EXTINF and #EXTVLCOPT will be parsed properly
2) M3U file can contain URL to another M3U file. Only one URL as the first element of M3U file is allowed, and only one level of nesting is allowed. Playlist which is pointed by URL will be downloaded and parsed. So, playlist for my ISP have the following format now:
3) An ability to select network adapter is added to DVB-IP scanning section. Default behavior is not changed since default value of network interface combobox is Auto which doesn't change URLs.
Here is attached patch file against last SVN
Looking forward for any suggestions
Changelog:
I'd like to offer patch with few improvements in DVB-IP channel scanning. First I like to explain why this patch is done.
My ISP provides IPTV service with few different sets of channels which can be ordered separately. URL to the playlist is common (http://tv.ipnet.ua/ipnet.m3u) and content of the playlist depends on ISP user’s current subscription. So, first of all I cannot prepare the playlist for submitting to MP repository because I've not subscribed to all sets of channels, and second I have to change playlist for channel scanning every time when IPS adds new channels or I become subscribed for new channels set.
Second issue is a format of playlist. It contains additional control elements like the following:
Code:
#EXTINF:0,1+1
#EXTVLCOPT:audio-track-id=770
udp://@239.23.0.5:1234/
Third issue is number of network adapters on my TV Server. I have three network adapters in my TV Server, so for correct scanning of multicast streams I have to change every URL and add there IP address of correct network adapter.
So, my patch offers next changes:
1) Parsing of M3U files is changed. Any elements starting with # are allowed, #EXTINF and #EXTVLCOPT will be parsed properly
2) M3U file can contain URL to another M3U file. Only one URL as the first element of M3U file is allowed, and only one level of nesting is allowed. Playlist which is pointed by URL will be downloaded and parsed. So, playlist for my ISP have the following format now:
Code:
#EXTM3U
#EXTVLCOPT:http-charset=utf-8
http://tv.ipnet.ua/ipnet.m3u
Here is attached patch file against last SVN
Looking forward for any suggestions
Changelog:
24th of May, 2011 Updated network adapter selection to conform new version of https://forum.team-mediaportal.com/...here-48/dvb-ip-mediaportal-iptv-filter-96726/