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

    Thank you for pointing out that my analysis may be less than accurate. :eek: :p Although the change to TV channel 71 may not also have been applied to the independent radio channels (different MUXes), the logs that I prepared for one of the development team does show a difference between channel 704 ("BBC Radio 4") and channel 731...
    Thank you for pointing out that my analysis may be less than accurate. :eek: :p Although the change to TV channel 71 may not also...
    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
    10
    Views
    2K
    Those folder's last modified time isn't really accurate it seems. Latest change was a merge from PR #384 on may 3rd which was exactly that fix, see f.e. MediaPortal-1/mediaportal/MediaPortal.Application/MediaPortal.cs at 8fa4ccca20059a5534a029266efa596e83387f5b · MediaPortal/MediaPortal-1
    Those folder's last modified time isn't really accurate it seems. Latest change was a merge from PR #384 on may 3rd which was...
    Now that MediaPortal has gone 64-bit, any references to lParam should be converted to int64 rather than int32 or compared to zero...
    Replies
    7
    Views
    902
    MP1 MP2 MP2 - V2.5 MP2 - V2.5 Server on Windows 11 Pro DE
    Good evening, the last weeks my MP2.5 Server with TVE3 is running not very good/stable. After 30 min the server quits working after changing EPG from EPG Buddie to Clickfinder (TV Movie). The OS and the MP2.5 Server Software were installed several times new, but in general nothing changed. Are there any changes or setting needed for...
    Good evening, the last weeks my MP2.5 Server with TVE3 is running not very good/stable. After 30 min the server quits working...
    Good evening, the last weeks my MP2.5 Server with TVE3 is running not very good/stable. After 30 min the server quits working...
    Replies
    0
    Views
    873
    See my reply in the other thread. -- from CyberSimian in the UK
    See my reply in the other thread. -- from CyberSimian in the UK
    Any idea where can I get the Windows7 installation software for this AverMedia A323AF card. I found the drivers for the A323 which...
    Replies
    1
    Views
    196
    Sorry, it's my fault -- I did not notice that you are using MP2. :( MP1 has a separate configuration utility, similar to "TV Server Config". I have tried MP2 only a couple of times, and have never used it seriously. I don't know what MP2 supports with regard to adjusting audio delay, but I do know that all of the adjustments of...
    Sorry, it's my fault -- I did not notice that you are using MP2. :( MP1 has a separate configuration utility, similar to "TV...
    Hi. I recently upgraded my home cinema AVR which also meant changed from sending audio from my HTPC as 5.1 using optical to 7.1...
    Replies
    5
    Views
    1K
    Top Bottom