Example code for changing channels??? (1 Viewer)

gstone

Portal Member
November 29, 2006
11
0
54
Is there any example code for changing channels on the tuner cards from a vb or c# app?
 

piba

Retired Team Member
  • Premium Supporter
  • October 26, 2006
    70
    5
    Home Country
    Netherlands Netherlands
    Download and install TortoiseSVN then checkout this SVNpath to a folder on your PC :
    https://svn.sourceforge.net/svnroot/mediaportal/trunk/TvEngine3/TVLibrary

    then open TvLibrary.sln in VisualStudio and search in all files for the method :
    public bool Tune(IChannel channel)

    Then depending on what type of card (Analog, ATSC, DVBC, DVBS, DVBT, SS2) you try to tune, go to the appropriate file.

    And from there continue your search.. good look.
     

    Users who are viewing this thread


    Write your reply...

    Similar threads

    Well, the log doesn't show any problems. I can see correctly tuned channels in the log. It seems to me that the tuner works fine. Can you copy the created ts file(located in your timeshift folder) somewhere else while in channel preview and try to play it in VLC or MPC-HC? PS: You can also try to make short record
    Well, the log doesn't show any problems. I can see correctly tuned channels in the log. It seems to me that the tuner works fine...
    I've been successfully using MediaPortal1 and TV Server 1.17 on Win7 for years, using first a HDHomerun tuner, when that died, a...
    Replies
    4
    Views
    842
    I should point out that the developers have not formally left the project, and development has not formally stopped. The developers have instead simply "faded away", gradually spending less and less time on MP2 until the present, when they spend no time on MP2. But one or more of the developers might return next week! It is impossible...
    I should point out that the developers have not formally left the project, and development has not formally stopped. The developers...
    Hi Folks, I need some help with fixing the Problem that MP2 doesn't keep the sorted Order of Channels in TV-Configuraiton. I am...
    Replies
    10
    Views
    476
    Brief update... Hauppauge support responded quickly, stating that the "driver for all of our product confirm to the BDA format". Not sure what that means, but to test that, I downloaded a copy of Capture4Me, and indeed, it switches LNBs without any issues with minimal configuration (just set DiSEqC to 1.x A/B/C/D and select the...
    Brief update... Hauppauge support responded quickly, stating that the "driver for all of our product confirm to the BDA format"...
    Due to ongoing issues with my TBS5520SE USB tuner, I've invested in a Hauppauge WinTV-NOVA-S2 tuner. I have a multi-LNB setup...
    Replies
    18
    Views
    1K
    The reason I was thinking I needed more RAM is that TV now seems to be HiDef and so the files have grown. I edit the files before storing them, to reduce some size. It is finding that slower, I think. Or it could just be because I'm expecting more? The Baseboard manufacturer says ASUSTech Computer Inc; Baseboard product P7P55D-E...
    The reason I was thinking I needed more RAM is that TV now seems to be HiDef and so the files have grown. I edit the files before...
    I'm not sure where to post this query - I've been told, during a conversation about costs of upgrading, that W11 may not support my...
    Replies
    4
    Views
    302
    I installed the new EXE on my MP 1.36 64-bit system (Win 10 laptop), and... it works fine. (y) :) Thank you for making this change :). I hope that it will be included in the next release. -- from CyberSimian in the UK
    I installed the new EXE on my MP 1.36 64-bit system (Win 10 laptop), and... it works fine. (y) :) Thank you for making this...
    In "MP Config" the following setting enables the display of channel numbers in the TV EPG: But there is no equivalent setting in...
    Replies
    4
    Views
    709
    Top Bottom