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
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,823
Threads: 954
Joined: May 2006
#21
2020-07-23, 12:13 AM (This post was last modified: 2020-07-23, 12:18 AM by mvallevand.)
(2020-07-22, 11:59 PM)sub Wrote:
(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

Ok but since he is running as a user with no environment it doesn't find /var/opt/nextpvr/config.xml and it creates the .NPVR-data folder structure for logging and also the default config.xml  

Code:
/home/martin/.NPVR-data/
/home/martin/.NPVR-data/logs
/home/martin/.NPVR-data/media
/home/martin/.NPVR-data/media/shows
/home/martin/.NPVR-data/media/channels
/home/martin/.NPVR-data/scripts
/home/martin/.NPVR-data/web
/home/martin/.NPVR-data/web/temp
Config.xml does not exists. Creating it from master.

That is why I suspect the pin now.
 
Martin
christheman
Offline

Member

Posts: 104
Threads: 14
Joined: Apr 2014
#22
2020-07-23, 03:40 AM
(2020-07-23, 12:13 AM)mvallevand Wrote:
(2020-07-22, 11:59 PM)sub Wrote:
(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

Ok but since he is running as a user with no environment it doesn't find /var/opt/nextpvr/config.xml and it creates the .NPVR-data folder structure for logging and also the default config.xml  

Code:
/home/martin/.NPVR-data/
/home/martin/.NPVR-data/logs
/home/martin/.NPVR-data/media
/home/martin/.NPVR-data/media/shows
/home/martin/.NPVR-data/media/channels
/home/martin/.NPVR-data/scripts
/home/martin/.NPVR-data/web
/home/martin/.NPVR-data/web/temp
Config.xml does not exists. Creating it from master.

That is why I suspect the pin now.
 
Martin




Sorry about that question in my last post.  I just noticed that there is a setting to enable [movie title (year)] format.   Big Grin






The pin setting is a 4 digit number of my own (-pin:3232), both in the NextPVR access settings and with the NScriptHelper command line.  Also included is the IP address as IFCONFIG reports it, and port number 8866 (-server:192.168.2.149:8866)



I haven't touched the username/password settings, and the checkbox the allow Internet access is checked, though that didn't make any difference with the updateepg option.  "Press any key to close" is my own doing, just to keep it on screen.






Here are some screen captures I made from other NScriptHelper options.  From what I can tell, NScriptHelper worked out for me here.






-isrecording



   





-status



   





-pending



   








But the updateepg option remains exactly like the red text in this image, no changes made other than [-option] at the end of the command.



   
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,823
Threads: 954
Joined: May 2006
#23
2020-07-23, 03:44 AM
You probably need to change the pin in the pseudo config.xml but for testing just change the web server one to 0000

Martin
christheman
Offline

Member

Posts: 104
Threads: 14
Joined: Apr 2014
#24
2020-07-23, 04:17 AM (This post was last modified: 2020-07-23, 04:35 AM by christheman.)
(2020-07-23, 03:44 AM)mvallevand Wrote: You probably need to change the pin in the pseudo config.xml but for testing just change the web server one to 0000

Martin


Doing that just gives me the other error message that says I cannot log in.  That and it creates a user profile under my name, with both MD5 hashes between /var/opt/...config.xml and /home/chris/...config.xml being the same.

P.S. Also the directories under my user name get created with the other options that do work.  First it creates the directories, then it executes those options.

With the Nextpvr access pin set to 0000, it just won't allow it to log on.  So that wasn't even a condition for me under my own testing circumstances.  (I'm wondering about just having the null set in there, no characters or spaces)

With all the pin numbers agreeing, it doesn't give me any login errors.  It just gives the red error, exactly as I posted, and only for updateepg.
BrettB
Offline

Posting Freak

Saint Paul, MN, USA
Posts: 2,666
Threads: 170
Joined: Jun 2007
#25
2020-07-23, 11:38 AM
(2020-07-23, 03:40 AM)christheman Wrote:
(2020-07-23, 12:13 AM)mvallevand Wrote:
(2020-07-22, 11:59 PM)sub Wrote:
(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

Ok but since he is running as a user with no environment it doesn't find /var/opt/nextpvr/config.xml and it creates the .NPVR-data folder structure for logging and also the default config.xml  

Code:
/home/martin/.NPVR-data/
/home/martin/.NPVR-data/logs
/home/martin/.NPVR-data/media
/home/martin/.NPVR-data/media/shows
/home/martin/.NPVR-data/media/channels
/home/martin/.NPVR-data/scripts
/home/martin/.NPVR-data/web
/home/martin/.NPVR-data/web/temp
Config.xml does not exists. Creating it from master.

That is why I suspect the pin now.
 
Martin




Sorry about that question in my last post.  I just noticed that there is a setting to enable [movie title (year)] format.   Big Grin






The pin setting is a 4 digit number of my own (-pin:3232), both in the NextPVR access settings and with the NScriptHelper command line.  Also included is the IP address as IFCONFIG reports it, and port number 8866 (-server:192.168.2.149:8866)



I haven't touched the username/password settings, and the checkbox the allow Internet access is checked, though that didn't make any difference with the updateepg option.  "Press any key to close" is my own doing, just to keep it on screen.






Here are some screen captures I made from other NScriptHelper options.  From what I can tell, NScriptHelper worked out for me here.






-isrecording









-status









-pending












But the updateepg option remains exactly like the red text in this image, no changes made other than [-option] at the end of the command.

With the NextPVR server accepting the command, but returning the message "Not allowed", I'm guessing this is caused by a bug with work-in-progress toward a possible multi-user/multi-permission backend. Probably something that he's going to have to fix.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,823
Threads: 954
Joined: May 2006
#26
2020-07-23, 01:45 PM
The .NPVR-data folder creation and use is expected behaviour. Sub could ignore the config.xml and use the api to write a remote log entry but it is not the end of the world.

The error is likely this one https://forums.nextpvr.com/showthread.php?tid=61135 a new NShared (the one on that post isn't the latest) will probably make the difference.

Wouldn't using the build in SD support make life a lot easier?


Martin
christheman
Offline

Member

Posts: 104
Threads: 14
Joined: Apr 2014
#27
2020-07-23, 02:48 PM (This post was last modified: 2020-07-23, 02:52 PM by christheman.)
(2020-07-23, 01:45 PM)mvallevand Wrote: The .NPVR-data folder creation and use is expected behaviour.  Sub could ignore the config.xml and use the api to write a remote log entry but it is not the end of the world.

The error is likely this one https://forums.nextpvr.com/showthread.php?tid=61135 a new NShared (the one on that post isn't the latest) will probably make the difference.

That seems like exactly the same issue to me too.

(2020-07-23, 01:45 PM)mvallevand Wrote: Wouldn't using the build in SD support make life a lot easier?


Martin


LOL  Yeah probably so.

Is there an import log type of function for that though?  I just want to see that the data transfer was indeed successful on the last attempt.  I am used to watching Robert Eden's script run in real time.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,823
Threads: 954
Joined: May 2006
#28
2020-07-23, 02:58 PM
The logs show a lot more information by channel when using SD JSON and you will get better meta art too.

If you know know epoch time you could use

dotnet NScriptHelper.dll -service:method=system.epg.summary -pin #### as confirmation.

Martin
christheman
Offline

Member

Posts: 104
Threads: 14
Joined: Apr 2014
#29
2020-07-23, 05:45 PM
Ok. I'll look into this later on.

Thanks to all for the help.
« Next Oldest | Next Newest »

Users browsing this thread: 2 Guest(s)

Pages (3): « Previous 1 2 3


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