NextPVR Forums
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Windows v
« Previous 1 … 6 7 8 9 10 … 81 Next »
Credentials for recording to SMB network drive

 
  • 0 Vote(s) - 0 Average
Credentials for recording to SMB network drive
itm2
Offline

Member

Posts: 58
Threads: 16
Joined: Sep 2016
#1
2023-04-30, 09:25 AM
I'm running NextPVR v6.1.1. I am trying to record to an SMB share on an Ubuntu machine. I have specified the path as UNC. How can I enter the necessary login credentials for this share? I've seen references to something called ShareHelper, but couldn't find a working link to it.
I'm running NextPVR on a Windows Server 2022 machine.
Is there any way to specify login credentials for the remote share?  6..2211 6.1.1.f221106 Ne  
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 47,338
Threads: 889
Joined: May 2006
#2
2023-04-30, 11:24 AM
You would have to mount the share before recording. If you have real problem you can run the server with user credentials. I issue the net use command in a PreStartup script tht is easier to use than ShareHelper. You can do this with UNCs and drive letters.

Martin
itm2
Offline

Member

Posts: 58
Threads: 16
Joined: Sep 2016
#3
2023-04-30, 11:45 AM (This post was last modified: 2023-04-30, 11:45 AM by itm2.)
I do already have a drive mapped to that share (with an assigned drive letter of V), but if I try to record to it (specifying the drive letter in the recording path) I get nothing output - presumably due to a permissions issue. Is that not the equivalent of using net use?
itm2
Offline

Member

Posts: 58
Threads: 16
Joined: Sep 2016
#4
2023-04-30, 12:01 PM
Ah sorry I've just realised my mistake - the mapping I already have is for a different user to the one that the NPVR service uses...

OK so I created a PreStartup.bat file with the following contents, and restarted the NPVR service:
net use \\192.168.1.36\myshare /user:myuser mypassword

I'm still getting zero length recordings on the target drive.
???
itm2
Offline

Member

Posts: 58
Threads: 16
Joined: Sep 2016
#5
2023-04-30, 12:17 PM (This post was last modified: 2023-04-30, 12:39 PM by itm2.)
Hmmm...I've just noticed that I also get zero-length recordings if I switch to using a local drive. I don't see any errors in nrecord.log at the time of the recording though
???
EDIT: OK it looks like the HDHomeRun dropped off the network overnight.....great timing....!
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 47,338
Threads: 889
Joined: May 2006
#6
2023-04-30, 01:56 PM (This post was last modified: 2023-04-30, 01:56 PM by mvallevand.)
You can confirm if the mapping is working by adding checks to PreStatup, the output will be in the log.

dir v:

dir \\192.168.1.36\myshare

V: would only work if the net use was for the same user, this is why you might need to get the username for the NextPVR Recording Service.

Martin
itm2
Offline

Member

Posts: 58
Threads: 16
Joined: Sep 2016
#7
2023-04-30, 02:22 PM
It seems to be writing to the shared folder OK now (I got the HDHomeRun back online).
Many thanks for your help!
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Cannot change Recording Directory to a Local Network Directory fasteddy 6 346 2023-09-26, 08:38 AM
Last Post: cyrano
  Streams and Recording Stuttering and Pixelated dj200psi 5 80 2023-09-20, 05:27 AM
Last Post: sub
  Recording longer than expected VCR58 2 55 2023-09-10, 03:55 AM
Last Post: VCR58
  Recording .map files remain after deletion QDivision 22 466 2023-08-21, 10:17 PM
Last Post: QDivision
  No guide not recording brady@preheim.com 1 80 2023-07-31, 11:49 AM
Last Post: mvallevand
  Delete Recording prompt tesla1886 11 237 2023-07-28, 04:04 AM
Last Post: sub
  Can these files be deleted from each recording? Jim_J 2 129 2023-07-15, 01:02 PM
Last Post: Jim_J
  Recording playback fast forward / skip issue shaokong@gmail.com 11 268 2023-07-11, 01:40 AM
Last Post: sub
  Recording terminated early Stanno 7 125 2023-06-26, 01:04 PM
Last Post: mvallevand
Bug Bug when skipping through programme while still recording? bitoclass 17 926 2023-06-20, 01:11 PM
Last Post: mvallevand

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

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

Linear Mode
Threaded Mode