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

gstone

Portal Member
November 29, 2006
11
0
55
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

    Similar threads

    I made some updates to the Wiki page describing the <import> and <include> tags, including adding a couple of new xml examples. For the first example, I highlighted the example text and eventually found the location in the menus where I could select the CODE macro to have the example text formatted as a code example. So far, so good...
    I made some updates to the Wiki page describing the <import> and <include> tags, including adding a couple of new xml examples. For...
    I made some updates to the Wiki page describing the <import> and <include> tags, including adding a couple of new xml examples. For...
    Replies
    0
    Views
    1K
    I note that you are using MP2. The following applies to MP1, but I think that MP2 is identical in this situation. "TV Server Config" has a "TV Mapping" panel in the "TV Channels" section. On the "TV Mapping" tab: The left column lists the channels that have not yet been mapped to the TV tuner identified by the drop-down menu just...
    I note that you are using MP2. The following applies to MP1, but I think that MP2 is identical in this situation. "TV Server...
    I've scanned for channels, and got all channels mapped to tuner 0 of my 8 channel TV card (eg: 2 cards of 4 channels each) Is there...
    Replies
    1
    Views
    1K
    OK, I now understand your post (I have reproduced that behaviour on my test system). If you create a channel group for HD channels (and no others), then when that group is the active group and you select a future programme in the EPG, you were expecting the "Upcoming Episodes" panel to show only episodes broadcast on channels in that...
    OK, I now understand your post (I have reproduced that behaviour on my test system). If you create a channel group for HD channels...
    My channel list shows both HD and SD programs for some channels. However, there are no SD channels listed. For example, ZDF HD and...
    Replies
    6
    Views
    2K
    I meant use MP client to try to spot how it's requesting streams for specific channels and then try to do the same with VLC. TV Server development looks dead so I'm afraid you're going to have to figure that out by yourself if it's even possible.
    I meant use MP client to try to spot how it's requesting streams for specific channels and then try to do the same with VLC. TV...
    Hi everyone, I've set up Mediaportal TV Server on a Windows 11 box, tuner deteced okay, scanned channels, can preview, all seems...
    Replies
    8
    Views
    3K
    As Alexander Pope said: A little learning is a dangerous thing, and Dr Google explains this as: The quotation warns that superficial knowledge of a subject can make people arrogant or foolish, suggesting one should either learn deeply or not at all. "Superficial", and "arrogant or foolish" would be me :eek: . However... I would...
    As Alexander Pope said: A little learning is a dangerous thing, and Dr Google explains this as: The quotation warns that...
    I have just discovered that I can no longer receive any of the independent radio channels broadcast on DVB-T in the UK. In...
    Replies
    12
    Views
    5K
    Top Bottom