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

    Similar threads

    Yes, all compatible with x64 ;)
    Yes, all compatible with x64 ;)
    Hi folks, for all those who would like to enjoy Mediaportal on the Titanskin, I have now adapted the well-known MP games package...
    Replies
    7
    Views
    1K
    Thank you very much for the tip. The Germany-Full doesn't have all the channels either. But I've now found out that I can read the frequencies using DVB-Viewer, which also receives all the channels I can receive. I'll use that to create my own channel file. Let's see if that works.
    Thank you very much for the tip. The Germany-Full doesn't have all the channels either. But I've now found out that I can read the...
    I switch MP1 to cable reception. I'm trying that with a WinTV Dual. I found an XML file for Vodafone in the forum. the given list...
    Replies
    2
    Views
    235
    And this is the follow-up thread, which includes log files: PiP audio problem
    And this is the follow-up thread, which includes log files: PiP audio problem
    I just updated from 2.4. Update did not conserve my channels or epg plug-in or anything, looks like, which of course was a...
    Replies
    5
    Views
    1K
    It's getting weirder..... If I remove all the IP cards in the TVServer setup and then add them back I can scan the M3u and tune the stations but if I rescan it on the same card it just keeps updating the 1 channel. My brain is melting.........
    It's getting weirder..... If I remove all the IP cards in the TVServer setup and then add them back I can scan the M3u and tune the...
    Having great fun with this still. I have a fairly good PC setup, Ryzen 5 8500g, Msi Pro 650M-P with 32GB of RAM with a TBS 6281 and...
    Replies
    2
    Views
    248
    The UseSSL trick made MediaPortal great again, thanks.
    The UseSSL trick made MediaPortal great again, thanks.
    Hi, Trakt has work perfectly for me for over 10 years, but for some reason this week it will not Authorize my account. I can log...
    Replies
    10
    Views
    996
    Top Bottom