NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Linux v
« Previous 1 … 24 25 26 27 28 … 34 Next »
Hauppauge HD-PVR2

 
  • 0 Vote(s) - 0 Average
Hauppauge HD-PVR2
christheman
Offline

Member

Posts: 104
Threads: 14
Joined: Apr 2014
#11
2020-07-21, 09:34 AM
Okay, so far so good (I think).  I have been working at transforming some of my customizations and changes from the older Windows XP version over to the current Linux version, mostly with good results.  I still have at least a couple questions on the program changes and newer features.

Is there any ability now to list any single channel's contents in a vertical web listing?  The old web interface had a form that would show the entire 13-14 days available, for any single channel, vertically in one shot (not broken up and no drop down selectors).  I currently use this vertical web listing and scheduling page, embedded within another program I wrote.

Also is there an option for updating the EPG from an external shell script?  I have been using XMLTV on the old system, and invoke a command  at the end of a batch file: 
"c:\program files\npvr\nextpvr.exe" -updateepgonly
This allows me to just go to the machine and click on a batch file each day to update it, with the added benefit that I can see the exact progress in real time and thus properly address it (sometimes Schedules Direct is down or my connection is down, etc).

Thanks
Graham
Offline

Posting Freak

UK
Posts: 4,058
Threads: 102
Joined: Dec 2005
#12
2020-07-21, 09:45 AM
(2020-07-21, 09:34 AM)christheman Wrote: Also is there an option for updating the EPG from an external shell script?  I have been using XMLTV on the old system, and invoke a command  at the end of a batch file: 
"c:\program files\npvr\nextpvr.exe" -updateepgonly
This allows me to just go to the machine and click on a batch file each day to update it, with the added benefit that I can see the exact progress in real time and thus properly address it (sometimes Schedules Direct is down or my connection is down, etc).

Here ya go ... https://github.com/sub3/NextPVR/wiki/nscripthelper
christheman
Offline

Member

Posts: 104
Threads: 14
Joined: Apr 2014
#13
2020-07-21, 07:58 PM
(2020-07-21, 09:45 AM)Graham Wrote:
(2020-07-21, 09:34 AM)christheman Wrote: Also is there an option for updating the EPG from an external shell script?  I have been using XMLTV on the old system, and invoke a command  at the end of a batch file: 
"c:\program files\npvr\nextpvr.exe" -updateepgonly
This allows me to just go to the machine and click on a batch file each day to update it, with the added benefit that I can see the exact progress in real time and thus properly address it (sometimes Schedules Direct is down or my connection is down, etc).

Here ya go ... https://github.com/sub3/NextPVR/wiki/nscripthelper

Okay, upon testing there seems to be a file it is looking for.  

   

Upon searching for all instances of that type of file on my system, I get a return for NextPVRServer, but not for NScriptHelper.

   

At this point I am not sure it wasn't there to begin with, but it isn't there for me right now.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,823
Threads: 954
Joined: May 2006
#14
2020-07-21, 08:20 PM
It isn't in the zip but you can create NScriptHelper.runtimeconfig.json with this information.

Code:
{
  "runtimeOptions": {
    "tfm": "netcoreapp3.1",
    "framework": {
      "name": "Microsoft.AspNetCore.App",
      "version": "3.1.0"
    }
  }
}

Martin
christheman
Offline

Member

Posts: 104
Threads: 14
Joined: Apr 2014
#15
2020-07-22, 10:20 PM (This post was last modified: 2020-07-22, 10:23 PM by christheman.)
(2020-07-21, 08:20 PM)mvallevand Wrote: It isn't in the zip but you can create NScriptHelper.runtimeconfig.json  with this information.

Code:
{
  "runtimeOptions": {
    "tfm": "netcoreapp3.1",
    "framework": {
      "name": "Microsoft.AspNetCore.App",
      "version": "3.1.0"
    }
  }
}

Martin


Okay, now I am getting this output (this time run from my XMLTV bash script).  I have tried different combinations of file location and running as privileged / unprivileged user, with no difference.  The NextPVR setting points to a valid XMLTV file and works from within the program.

   


Also I noticed that running NScriptHelper from a terminal or a bash script will create this directory structure in my user directory, though so far running NextPVR in the browser doesn't seem to, or at least I hadn't noticed it before this.  The logs directory just contains the same error message as in the previous image.

   
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,823
Threads: 954
Joined: May 2006
#16
2020-07-22, 10:36 PM
I guess this command is being executed by the client and not as a web service.  Maybe sub should change that but I can give you a script to change this.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,652
Threads: 767
Joined: Nov 2003
#17
2020-07-22, 10:42 PM
(2020-07-22, 10:36 PM)mvallevand Wrote: I guess this command is being executed by the client and not as a web service.
That's not the case. It calls the 'system.epg.update' api on the server, and the server updates the EPG.
christheman
Offline

Member

Posts: 104
Threads: 14
Joined: Apr 2014
#18
2020-07-22, 11:09 PM (This post was last modified: 2020-07-22, 11:10 PM by christheman.)
It could also be something on my end.  Though I haven't done that much with this load, anything is possible. 

I could always test something if you want.


Here's another thing I was using on the old v. 2.7 NextPVR:

"c:\Program Files\NPVR\imageGrabLite.exe" --oid %3 --rename --zap2it

I think this is just to rename the recordings to [movie title (year)] format, despite the name of the image grab program.  This was in the PostProcessing and PostCancel batch files under Scripts in the Windows XP "All Users" directory.

I see a provision to rename entries in the database, but not on files stored on the HDD here.  Not sure if this the the correct substitute or not for the current version:
https://github.com/sub3/NextPVR/wiki/nsc...ows-Script

Thanks
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,823
Threads: 954
Joined: May 2006
#19
2020-07-22, 11:53 PM
(2020-07-22, 10:42 PM)sub Wrote:
(2020-07-22, 10:36 PM)mvallevand Wrote: I guess this command is being executed by the client and not as a web service.
That's not the case. It calls the 'system.epg.update' api on the server, and the server updates the EPG.
Ok then you must attempt to "find" config.xml to get the port and if so NShared must do an pseudo install before calling localhost.

@christheman are you running with PIN 0000 ? if not you need to re read the documentation.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,652
Threads: 767
Joined: Nov 2003
#20
2020-07-22, 11:59 PM
(2020-07-22, 11:53 PM)mvallevand Wrote: Ok then you must attempt to "find" config.xml to get the port and if so NShared must do an pseudo install before calling localhost.
I just checked the code, and I'm pretty sure the only thing it shares from anything in NextPVR is the log file functions.

It defaults to http://127.0.0.1:8866, and pin 0000, but these can be overridden with -server:xxxxx:8866 and -pin:1234
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): « Previous 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Can't Remember How to Install Hauppauge Firmware Mark_S 2 1,077 2023-09-03, 12:18 PM
Last Post: Mark_S
  Raspberry Pi 4 & Hauppauge 950Q - Stuck on Live TV jogeedaklown 2 908 2022-01-06, 04:26 PM
Last Post: jogeedaklown
  Multirec with Hauppauge koijh65 6 1,856 2021-03-09, 04:55 AM
Last Post: koijh65
  Hauppauge 2650 Tuner glb1945 13 2,551 2020-10-17, 01:51 AM
Last Post: mvallevand
  RPi4 crashes or root disk is unmounted while recording on Hauppauge WinTV-dualHD scotrich99 17 3,921 2020-06-09, 02:56 AM
Last Post: mvallevand
  Hauppauge 2650 support glb1945 1 1,069 2020-02-06, 02:47 AM
Last Post: sub

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode