NextPVR Forums
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support v
« Previous 1 … 9 10 11 12 13 … 34 Next »
NScriptHelper.dll Unable to log in

 
  • 0 Vote(s) - 0 Average
NScriptHelper.dll Unable to log in
Madlec
Offline

Junior Member

UK
Posts: 28
Threads: 4
Joined: Apr 2020
#1
2021-09-22, 01:14 PM
Hi, 

I have spotted some scheduled recordings are failing with the message "Recording service not running at recording time" 

Finally I got round to looking into it, and the nrecord log is saying this:

2021-09-22 00:57:03.015 [DEBUG][177] Got request [127.0.0.1]: /service (session.login)
2021-09-22 00:57:03.015 [DEBUG][177] method=session.login
2021-09-22 00:57:03.015 [DEBUG][177] parameters:
2021-09-22 00:57:03.015 [DEBUG][177]   method: session.login
2021-09-22 00:57:03.015 [DEBUG][177]   sid: 220b58be7f324846a062867d6a34d84d
2021-09-22 00:57:03.015 [DEBUG][177]   md5: 4A8FA0A74DB18C39C5409A9C5A14F8B5
2021-09-22 00:57:03.015 [DEBUG][177]   client_ip: 127.0.0.1
2021-09-22 00:57:03.015 [DEBUG][177]   host_callback: 127.0.0.1:8866
2021-09-22 00:57:03.015 [INFO][177] LoginSession(sid = 220b58be7f324846a062867d6a34d84d)
2021-09-22 00:57:03.016 [DEBUG][177] [MYABfGMGA4Hg3PGK0ZX4TiMEnge0Ap8QzXJHLktp7ylBJrjGRw2OJod6pejtO9USpkVyhDmvt6TNDlRNqVKQYAZA3yYNZ9BWvGLPfWdJY8OxAcyEBgvvrEHVPn5m9hAsr1afk+NitxFp173JhHOlGLBqxyi7OMvCt76N7oDCs6cu9c6PnzRIYUuw6jytyUKcq/lWRlt2o/3nBkrWS7mSx8M9ZFQq84d3BrL5wQPuATG8PMfXEtmO1/0QrsszvewxPGTEZMcbr8qfzyjtKV3Qgu6Jgf1tO13kR0Soi/kZqdCAmIGL518cjrU+OWsda+f4MaiXeNQkzI+gutiM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DEBUG][177] <?xml version="1.0" encoding="utf-8" ?>
<rsp stat="fail">
  <err code="1" msg="Login Failed" />
</rsp>

2021-09-22 00:57:03.023 [DEBUG][174] > [1] Unable to login
2021-09-22 00:57:03.023 [DEBUG][34] > Unable was unexpected at this time.
2021-09-22 00:57:03.146 [DEBUG][170] found match
2021-09-22 00:57:03.231 [DEBUG][173] Done fanart.tv lookup
2021-09-22 00:57:03.497 [DEBUG][172] got season info
2021-09-22 01:03:00.180 [DEBUG][14] Stopping recording (12524 on 101). Past end time of recording. 3
2021-09-22 01:03:00.286 [DEBUG][14] http://localhost:64472/stream/stop?handle=3
2021-09-22 01:03:00.297 [DEBUG][14] StoreMetaData@2
2021-09-22 01:03:00.312 [DEBUG][14] StoreMetaData@exit
2021-09-22 01:03:00.313 [DEBUG][14] No C:\Users\Public\NPVR-data\scripts\PostProcessing.bat
2021-09-22 01:33:10.018 [DEBUG][144] [Suspend]
2021-09-22 01:33:10.018 [DEBUG][144] OnSleep...
2021-09-22 01:33:10.018 [DEBUG][144] stopping device process
2021-09-22 06:00:19.500 [DEBUG][14] Marking recording (12547) as 'Recording service not running at recording time'


I am running NPVR on a Windows Server Essentials setup, with LightsOut installed, which will hibernate the server if there are no clients connected or no activity. I configured the ParallelProcessing batch file to create a text file while recording is taking place, and LightsOut to monitor the text file. Once the recording is complete, the text file is deleted, and the server is put back into hibernation. 

Now NScriptHelper.dll is having issues, this is not working. Has anyone else seen this issue before with the script helper? I have attached the other relevant logs to the post.

Thanks
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 45,334
Threads: 865
Joined: May 2006
#2
2021-09-22, 01:22 PM
That is the message I would expect if you have the wrong PIN in your script.

Martin
Madlec
Offline

Junior Member

UK
Posts: 28
Threads: 4
Joined: Apr 2020
#3
2021-09-22, 01:55 PM
Thanks for getting back to me Martin. Unless I have missed something, I have never needed the PIN in the script in the past.

echo off
REM Create Running File
cd C:"\Program Files\NextPVR"
set NSHelper=dotnet NScriptHelper.dll -isinuse
:check
FOR /F "tokens=*" %%i in ('%NSHelper% -isinuse') do SET condition=%%i
echo %condition%
IF %condition% =="NOT RECORDING" goto stop
:delay
IF not exist "C:\Users\Public\NPVR-data\scripts\recording.txt" echo %condition% >> "C:\Users\Public\NPVR-data\scripts\recording.txt"
timeout 60
goto check
Confusedtop
del "C:\Users\Public\NPVR-data\scripts\recording.txt"

If I run dotnet NScriptHelper.dll -isinuse directly at a command prompt, I get the same result.
Madlec
Offline

Junior Member

UK
Posts: 28
Threads: 4
Joined: Apr 2020
#4
2021-09-22, 02:02 PM
After hunting around for more info about NScriptHelper.dll, I came across another thread with the correct syntax:

dotnet NScriptHelper.dll -pin:**** -isinuse

Thanks for pointing me in the right direction Martin.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Unable to Discover SiliconDust Flex 4K pkscout 8 274 2023-01-22, 06:05 PM
Last Post: mvallevand
  NScriptHelper not working VCR58 2 501 2021-07-19, 01:18 AM
Last Post: VCR58
  Scheduling Error Unable to schedule recording at this time. jdwirtz 33 2,488 2021-06-29, 11:18 AM
Last Post: BrettB
  Unable to connect to remote server hootie318 5 1,184 2021-06-28, 02:33 PM
Last Post: hootie318
  Unable to scroll down groups when importing from XC groenator 0 369 2021-05-06, 11:59 AM
Last Post: groenator
  DotNet Error with nscripthelper - Could not resolve CoreCLR path. PRBUK 2 1,331 2021-04-06, 07:30 PM
Last Post: PRBUK
  NPVR 5 unable to tune HDHR dual jpbelanger79 9 1,845 2020-08-22, 05:41 PM
Last Post: sub
  NScriptHelper.dll and renaming file thartmann6 9 1,702 2020-04-28, 06:39 PM
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