home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Development
Submit: code patches (MediaPortal/TV-Server/etc.)
DVB-IP scanning improvements
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="AlexPlas" data-source="post: 747458" data-attributes="member: 24336"><p>Hello</p><p></p><p>I'd like to offer patch with few improvements in DVB-IP channel scanning. First I like to explain why this patch is done. </p><p></p><p>My ISP provides IPTV service with few different sets of channels which can be ordered separately. URL to the playlist is common (<a href="http://tv.ipnet.ua/ipnet.m3u" target="_blank">http://tv.ipnet.ua/ipnet.m3u</a>) 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.</p><p></p><p>Second issue is a format of playlist. It contains additional control elements like the following:[CODE]#EXTINF:0,1+1</p><p>#EXTVLCOPT:audio-track-id=770</p><p>udp://@239.23.0.5:1234/[/CODE]Current implementation cannot parse #EXTVLCOPT element properly.</p><p></p><p>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.</p><p></p><p>So, my patch offers next changes:</p><p>1) Parsing of M3U files is changed. Any elements starting with # are allowed, #EXTINF and #EXTVLCOPT will be parsed properly</p><p>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</p><p>#EXTVLCOPT:http-charset=utf-8</p><p>http://tv.ipnet.ua/ipnet.m3u[/CODE]</p><p>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.</p><p></p><p>Here is attached patch file against last SVN</p><p></p><p>Looking forward for any suggestions</p><p></p><p>Changelog:</p><ul> <li data-xf-list-type="ul"><br /> 24th of May, 2011 Updated network adapter selection to conform new version of <a href="https://forum.team-mediaportal.com/general-development-no-feature-request-here-48/dvb-ip-mediaportal-iptv-filter-96726/" target="_blank">https://forum.team-mediaportal.com/general-development-no-feature-request-here-48/dvb-ip-mediaportal-iptv-filter-96726/</a></li> </ul></blockquote><p></p>
[QUOTE="AlexPlas, post: 747458, member: 24336"] 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 ([url]http://tv.ipnet.ua/ipnet.m3u[/url]) 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/[/CODE]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:[CODE]#EXTM3U #EXTVLCOPT:http-charset=utf-8 http://tv.ipnet.ua/ipnet.m3u[/CODE] 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: [LIST] 24th of May, 2011 Updated network adapter selection to conform new version of [url]https://forum.team-mediaportal.com/general-development-no-feature-request-here-48/dvb-ip-mediaportal-iptv-filter-96726/[/url] [/LIST] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
Submit: code patches (MediaPortal/TV-Server/etc.)
DVB-IP scanning improvements
Contact us
RSS
Top
Bottom