1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Hauppauge HD-PVR & Colossus Support | Page 6

Discussion in 'MediaPortal 1 Talk' started by WileECoyote, March 26, 2011.

  1. WileECoyote
    • Premium Supporter

    WileECoyote MP Donator

    Joined:
    October 14, 2008
    Messages:
    1,156
    Likes Received:
    218
    Occupation:
    IT Director
    Location:
    Cary, NC
    Ratings:
    +220 / 1
    Home Country:
    United States of America United States of America
    Show System Specs
    Hey mm1352000,
    The attached files are my mods on your latest patches to add Colossus support. There is only one change to the TVCardCollection.cs file, and the Locals & Constructors of the TVCardHDPVR.cs & HDPVRChannel.cs files. You can do a diff against your latest to find the changes. These changes are minimal and do not impact the HDPVR or any other code.



    Thanks!
    Wile E.

    P.S. I recieved my second Colossus tuner today, so I also modded the code for multiple tuners.
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. mm1352000
    • Team MediaPortal

    mm1352000 Development Group

    Joined:
    September 1, 2008
    Messages:
    21,262
    Likes Received:
    4,642
    Ratings:
    +8,044 / 15
    Home Country:
    New Zealand New Zealand
    Arg! The power of one line of code...

    :sorry:
     

    Attached Files:

  4. WileECoyote
    • Premium Supporter

    WileECoyote MP Donator

    Joined:
    October 14, 2008
    Messages:
    1,156
    Likes Received:
    218
    Occupation:
    IT Director
    Location:
    Cary, NC
    Ratings:
    +220 / 1
    Home Country:
    United States of America United States of America
    Show System Specs
    I hope you didnt misunderstand my post, the code attached to the prior post is for the Colossus changes only. I havent figured out the issue with the channel change :(

    If you need more info (Logs, etc) please let me know.

    Thanks!
     
  5. mm1352000
    • Team MediaPortal

    mm1352000 Development Group

    Joined:
    September 1, 2008
    Messages:
    21,262
    Likes Received:
    4,642
    Ratings:
    +8,044 / 15
    Home Country:
    New Zealand New Zealand
    Eeeek! :sorry::sorry::sorry:

    I forgot the attachment. You must have thought I was moaning about your changes. I *sincerely* apologise! What I meant was that *I* missed one line of code, and that is what was wrong with the last build.

    Apologies once again....

    BTW: I'm putting together a patch with the Colossus support included. I just clean ran out of time though this morning. I have to get to work now - I'm already late :(
     
  6. WileECoyote
    • Premium Supporter

    WileECoyote MP Donator

    Joined:
    October 14, 2008
    Messages:
    1,156
    Likes Received:
    218
    Occupation:
    IT Director
    Location:
    Cary, NC
    Ratings:
    +220 / 1
    Home Country:
    United States of America United States of America
    Show System Specs
    No worries, Thanks!

    BTW, what was the one line of code? I only ask so I can do more testing with dual Colossus tuners tonight :)
     
  7. mm1352000
    • Team MediaPortal

    mm1352000 Development Group

    Joined:
    September 1, 2008
    Messages:
    21,262
    Likes Received:
    4,642
    Ratings:
    +8,044 / 15
    Home Country:
    New Zealand New Zealand
    The one line was:

    Code (Text):
    1.       if (!SetupPmtGrabber(HDPVR_PMT_PID, HDPVR_SERVICE_ID))
    2.       {
    3.         // Already "tuned" and receiving PMT. Set the
    4.         // PMT version to trick the timeshifting logic
    5.         // into thinking that we waited and received PMT,
    6.         // and then reset the audio/video events so that
    7.         // the timeshifter can detect audio and video.
    8.         _pmtVersion = 0;
    9.         [B]OnAfterTuneEvent();[/B]
    10.         return true;
    11.       }
    :)
     
  8. WileECoyote
    • Premium Supporter

    WileECoyote MP Donator

    Joined:
    October 14, 2008
    Messages:
    1,156
    Likes Received:
    218
    Occupation:
    IT Director
    Location:
    Cary, NC
    Ratings:
    +220 / 1
    Home Country:
    United States of America United States of America
    Show System Specs
    Unfortunately the same result. First tune works fine, but changing the channel gives error...

    Logs attached.

    As far as the Colossus integration goes, please look at my code I attached on post #51. You should quickly be able to see what I have done and drop my code right it. I can pull out the code I added if you would like.

    Thanks!
     
  9. elliottmc
    • Team MediaPortal

    elliottmc Retired Team Member

    Joined:
    August 7, 2005
    Messages:
    14,927
    Likes Received:
    4,009
    Gender:
    Male
    Location:
    Cardiff, UK
    Ratings:
    +5,501 / 13
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    Hi,

    Would it be possible for someone to clarify?

    Does the HDPVR work in MediaPortal 1.2.0alpha?

    Also, I guess (but remember I don't make the decision) the Colossus support will not be included in 1.2.0beta, as this is a new feature.

    Best wishes,

    Mark
     
  10. mm1352000
    • Team MediaPortal

    mm1352000 Development Group

    Joined:
    September 1, 2008
    Messages:
    21,262
    Likes Received:
    4,642
    Ratings:
    +8,044 / 15
    Home Country:
    New Zealand New Zealand
    Hi Mark

    I believe it does, yes.

    That is something that I think should be seriously discussed. I'd be leaning towards including it...
     
  11. mm1352000
    • Team MediaPortal

    mm1352000 Development Group

    Joined:
    September 1, 2008
    Messages:
    21,262
    Likes Received:
    4,642
    Ratings:
    +8,044 / 15
    Home Country:
    New Zealand New Zealand
    Okay Wile E

    I've removed the code that doesn't wait for PMT on retune - I possibly could have fixed it, but it seems to only be causing trouble. I've also incorportated your Colossus code :)D) with a few minor modifications (like logging -> "HDPVR:..." or "Colossus:...", which just makes things a little nicer). The final thing that I've done is to include more thorough quality control support. I'm not sure if the HD PVR or Colossus support that, but code support was partially there so it either needed to be completed or taken out entirely. Patch and binary attached...
     

    Attached Files:

    • Like Like x 1
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Like Us On Facebook

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!