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

    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
    507
    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
    244
    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
    328
    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
    1K
    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
    1K
    Top Bottom