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
Support
Installation, configuration support
How to: use DD Octopus Net in MP
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="armandp" data-source="post: 1066345" data-attributes="member: 71896"><p>I went a little further this time and i first created a small utility to generate two types of m3u using <a href="http://www.dtvmonitor.com" target="_blank">http://www.dtvmonitor.com</a>.</p><p>One with only the transponders (for use in MP) and a second one with all the channel (for use in VLC).</p><p></p><p>I grabbed 1.6 TVLibrary source code and edited TvCardDVBIPBuiltIn.cs to include code.</p><p></p><p>[CODE] public override ITvSubChannel Tune(int subChannelId, IChannel channel)</p><p></p><p> {</p><p> DVBIPChannel chan = channel as DVBIPChannel;</p><p></p><p> if (!chan.FreeToAir)</p><p> {</p><p> var append = String.Format("&x_pmt={0}", chan.PmtPid);</p><p> if (!chan.Url.EndsWith(append))</p><p> {</p><p> chan.Url = chan.Url + append;</p><p> }</p><p> }</p><p></p><p> return base.Tune(subChannelId, chan);</p><p> }[/CODE]</p><p></p><p>Replaced the original TVLibrary.dll with my own custom version that has the above code compiled in.</p><p>I can now use the transponder only m3u file to scan for new or updated channels. When i tune a channel it will trigger the code above and append the needed x_pmt parameter when a channel is encrypted. Hurray...</p><p></p><p>(if i have time i could perhaps create a whole new card based on DVBIPBuiltIn with detection for the OctopusNet on the network so a "new" card will be added)</p></blockquote><p></p>
[QUOTE="armandp, post: 1066345, member: 71896"] I went a little further this time and i first created a small utility to generate two types of m3u using [url]http://www.dtvmonitor.com[/url]. One with only the transponders (for use in MP) and a second one with all the channel (for use in VLC). I grabbed 1.6 TVLibrary source code and edited TvCardDVBIPBuiltIn.cs to include code. [CODE] public override ITvSubChannel Tune(int subChannelId, IChannel channel) { DVBIPChannel chan = channel as DVBIPChannel; if (!chan.FreeToAir) { var append = String.Format("&x_pmt={0}", chan.PmtPid); if (!chan.Url.EndsWith(append)) { chan.Url = chan.Url + append; } } return base.Tune(subChannelId, chan); }[/CODE] Replaced the original TVLibrary.dll with my own custom version that has the above code compiled in. I can now use the transponder only m3u file to scan for new or updated channels. When i tune a channel it will trigger the code above and append the needed x_pmt parameter when a channel is encrypted. Hurray... (if i have time i could perhaps create a whole new card based on DVBIPBuiltIn with detection for the OctopusNet on the network so a "new" card will be added) [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
Installation, configuration support
How to: use DD Octopus Net in MP
Contact us
RSS
Top
Bottom