HDPVR2 Dish Network MediaPortal and Me (1 Viewer)

swifty

Portal Pro
January 6, 2006
205
10
Home Country
United Kingdom United Kingdom
Ah indeed thanks for the tip :)
If I'd read the error more closely it would have been clear, but I saw BadImageFormatException and figured it was some x64 error in my rush to get out to work :p

I did a 'Download Zip' from github using the link you posted, so I assume it would be .net 3.5, since the branch name suggests 1.4x.
When I looked at the project properties in VS2010 is showed as targetting .net 4, so I've changed them to .net 3.5 and recompiled, it starts up but the HD-PVR isn't detecting properly.. however my 2x DVB-S tuners still work OK :-/

I will try again tonight!
 

swifty

Portal Pro
January 6, 2006
205
10
Home Country
United Kingdom United Kingdom
Ok, so it turns out I was just having a really bad day and on closer inspection had somehow got master from github instead of the branch that was linked! - d'oh!

So at least that explains why it was targetting .net 4.0 and why the card wasn't detected, using the correct branch seems to be working ok :)

I've set the PMT to 0x200 and haven't noticed any improvement in channel start speeds, it still seems to be around 8 seconds - that could however be the client though as I've only been able to test with XBMC so far (my wife is watching a program now using the HD-PVR!).

I've checked the logs after the change and i'm not 100% sure what to look for, but there does appear to be a ~4 second gap in the log then 'got new PMT' so I'm not sure if it's helped or not? (PMT timeout is currently set at 3 secs) - http://pastebin.com/rmhFV2ck

Hopefully I can check with MePo later to eliminate any issue with XBMC.
 

mm1352000

Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    Well done! :)

    I've set the PMT to 0x200 and haven't noticed any improvement in channel start speeds, it still seems to be around 8 seconds - that could however be the client though as I've only been able to test with XBMC so far (my wife is watching a program now using the HD-PVR!).
    The improvement would only be a few seconds if anything. Expect the first startup to be quite slow, but channel changes after that should be a bit faster.

    I've checked the logs after the change and i'm not 100% sure what to look for, but there does appear to be a ~4 second gap in the log then 'got new PMT' so I'm not sure if it's helped or not? (PMT timeout is currently set at 3 secs) - http://pastebin.com/rmhFV2ck
    While helpful, the TsWriter log by itself doesn't show the full picture.
    You can see the first PMT grab is faster:
    06-11-2013 22:15:10.324 pmtgrabber: set callback:c0ff58
    06-11-2013 22:15:10.324 pmtgrabber: grab pmt:200 sid:1
    06-11-2013 22:15:11.291 pmtgrabber: got pmt 200 sid:1
    06-11-2013 22:15:11.292 pmtgrabber: PMT pids changed from:
    06-11-2013 22:15:11.292 pcr pid: 0
    06-11-2013 22:15:11.292 pmt pid: 0
    06-11-2013 22:15:11.292 pmtgrabber: PMT pids changed to:
    06-11-2013 22:15:11.292 pcr pid: 1011
    06-11-2013 22:15:11.292 pmt pid: 200
    06-11-2013 22:15:11.292 video pid: 1011 type: H
    06-11-2013 22:15:11.292 audio pid: 1100 language: UNK type: A
    06-11-2013 22:15:11.292 pmtgrabber: got new pmt version:a ffffffff, service_id:1
    06-11-2013 22:15:11.293 pmtgrabber: do callback pid 200

    Previously you would have had the 3+ second delay here.
    The later entry "06-11-2013 22:15:16.16 pmtgrabber: got new pmt version:b a, service_id:1" is when the STB channel change completes and propagates to the STB output, down the cable, through the HD-PVR and into TV Server territory.
     

    swifty

    Portal Pro
    January 6, 2006
    205
    10
    Home Country
    United Kingdom United Kingdom
    Cool, so it sounds like the ~3 sec delay is now out of the chain anyway :)

    I will try and get onto MePo again later when the tuner and have a play around.
    Thanks very much for the help!
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    Any updates on a patch ? Really looking forward to using HD-PVR2 with MePo.
    Do you have a problem with the patch I already provided for MP 1.5 PR, or are you talking about a patch for MP 1.5 final?

    Attached is a patch for MP 1.5 final which also uses the correct PMT PID (to remove the channel change delay). This will be the final patch that I'll provide unless further issues are found. Please do not ask me for any other updates. I don't say this to be harsh. Rather, I'm focussed on completing our next generation version of TV Server, and I don't have the time to maintain every patch I create until it is integrated into MediaPortal. I really only released this patch to get me the information I needed to add support to the new TV Server. I hope you can understand and accept this. The code is available for anybody to examine, modify, build, release.
    https://github.com/MediaPortal/Medi...4-FEAT-Add_support_for_the_Hauppauge_HD-PVR_2
     

    Attachments

    • TVLibrary[MP1.5_HD-PVR2_v2].zip
      202.1 KB

    Cpoc

    Portal Member
    January 7, 2013
    25
    0
    Home Country
    Canada Canada
    When I first tested the patch it was the first patch you released befere 1.5 final was released. Then when 1.5 final was released I assumed that the same patch would be used as well but I was wrong. Thanks man for all your hard work. Now this is what exactly I was looking for as my hdpvr2 was just sitting gathering dust now I can finally capture HD content again. I really hope this makes it to MePo 1.6 final and is fully intergrated into the server as well. I believe the USB approach is better than the pci-e as some of us don't have free pci-e slots to spare. Thanks again now only if we can get dual usb-uirt in IRSS working that would be amazing.
     

    Cpoc

    Portal Member
    January 7, 2013
    25
    0
    Home Country
    Canada Canada
    The patch works perfectly. I won't upgrade until the new server is complete and this patch is integrated in final product. I'll be staying on 1.5 cause I don't want to loose hdpvr-2 support until new version supports it officially. Thank you again.
     

    swifty

    Portal Pro
    January 6, 2006
    205
    10
    Home Country
    United Kingdom United Kingdom
    If anyone with HD-PVR2 wants to upgrade to 1.6 I've attached DLLs for this version which have the changes by mm1352000 (plus PMT patch).

    Been running OK for about a week here, but obviously make a backup of your current ones if you decide to try these :)
     

    Attachments

    • MePo 1_6 HD-PVR2.zip
      245.3 KB

    Users who are viewing this thread

    Top Bottom