Results 1 to 5 of 5

Thread: LivePvrData.dll

  1. #1
    Join Date
    Jun 2015
    Location
    Dutchess County, NY USA
    Posts
    276

    LivePvrData.dll

    Would like to get some information on how to use this DLL or the website that supplies the data. I'm looking to use Powershell and see what I can do with extending the recording time of live TV. Also, I would also like to find out how NextEnd tells NextPVR to extend the stop time.

    Can someone help?

    Thank you.
    Later...JohnC

    System Status: Humming
    Desktop: Intel DX38BT MB - Intel Q9650 3GHz Quad - AMD HD6670 Video
    Software: Win 10 Pro(Creators) - NextPVR - WinTV8 - Total Media Extreme - VLC
    Video: Verizon FiOS - Hauppauge DCR-3250 - Hauppauge 1512 HDPVR2

  2. #2
    Join Date
    May 2006
    Location
    Canada
    Posts
    26,095
    As a bit of background LivePVRData.dll is a .NET dll that a SageTV developer Slugger wrote for me several years ago that allowed NextEnd to connect to the remote server he was running for SageTV users of his Sports Extending plugin SRE https://forums.sagetv.com/forums/showthread.php?t=57364

    Slugger dropped support for SRE a while back and it was picked up by another SageTV users skiingwiz but their web server was never brought back on line. Each users runs a local web server to get the date. I decided for NextPVR that I would could run a linux cloud VM to support the few NextEnd users since it only costs me about $3 a month.

    The source code for the server and the client dll are maintained here https://github.com/livepvrdata-oss

    In theory the server can extend any program but in reality it would need to know how to do this. For sports it is simple as there are APi's and web sites to scrap that help determine when the shows end. The lenghs of most other delays caused by news, weather, politicans etc are much harder to figure out from a known web site, probably a waste of time even trying.

    From NextEnd's perspective. I determine when the sports program is just about to end and keep bumping it until the server and DLL return that it stopped. For extending non sports, I check the ending time of sports that proceed any show following on the same channel that you are recording and if the sport goes over the expected end time all subsequent shows are extended by the same amount plus some buffer to allow for the sports wrap up.


    Martin

  3. #3
    Join Date
    Jun 2015
    Location
    Dutchess County, NY USA
    Posts
    276
    Many thanks, Martin. Your reply was very informative. I'm not sure where I can go with this information but I will certainly dig in and take a look. If I see something, I'll say something although I not really sure what I'm looking for. It seems NextEnd has everything covered.

    I think what I'm asking is what seems to "break" NextEnd most often. May I can start looking there.

    Thanks, again.

  4. #4
    Join Date
    May 2006
    Location
    Canada
    Posts
    26,095
    The main things that break are on the remote server including

    - API changes for matching. NASCAR changed 3 times since I started but it seems to be generic now.
    - Sports team names not being matched via the subtitle data in the EPG
    - ESPN web site slow to update end of event. SD is worse

    Logic wise

    - rain delays and cancellations cause in predictable results.
    - guessing how much post game chat to add to the recording.

    Martin

  5. #5
    Join Date
    Jun 2015
    Location
    Dutchess County, NY USA
    Posts
    276
    Good tips, Martin. Thanks.

    JohnC

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •