Reply to thread

I went a little further this time and i first created a small utility to generate two types of m3u using http://www.dtvmonitor.com.

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)


Top Bottom