I have a windows 10 machine running plex media server, a HDhomerun tuner and a Netgear ReadyNAS storage for all my media. Plex media server finds HDhomerun with no issues and program guide and live TV work. When selecting a show to record, the only option I get in the drop down from ‘Add to library’ is “TV Shows”. When I noticed that my shows were not being recorded, I read some forums about the windows machine not being able to access/write files to the network storage device. I have tried many things to add users and groups to the NAS and I have had zero luck. I tried creating a new local library folder on the windows box but I cannot change the location to where the recorded media would be stored.
In part of the logging I see:
Jan 10, 2018 21:20:05.118 [9336] ERROR - Failed to calculate available disk space for path ‘\x.x.x.x\Videos\TV Shows.grab’: 1 (Incorrect function)
Jan 10, 2018 21:20:05.118 [9336] DEBUG - DVR:Grabber: Saving recording to \x.x.x.x\Videos\TV Shows.grab\c0e6401ec105ab56c78262f097e66583d76278e5
Jan 10, 2018 21:20:05.128 [9336] ERROR - DVR:Grabber: No write permission.
Jan 10, 2018 21:20:05.129 [9336] DEBUG - DVR:Grabber: Operation for Criminal Minds - E11 - Full-Tilt Boogie completed with status error (No write access to destination)
What can I do?
I would suggest creating a folder on your Windows 10 machine to record to. Then setup a script that is run every 5, 10, 15, 30 or however often you want that moves the files from your computer to the ReadyNAS. You will have far fewer issues with recordings. I do a similar process to move recordings from my SSD I use for recordings to a HDD. Just include both the local folder recording to and the ReadyNAS storage location in your library setup so Plex can see both locations. You then pick the local folder to record to instead of the NAS folder.
My Library Folder Config:
Recording Settings:
One line in my script to move recordings. Script runs every 5 minutes on my system:
robocopy /MOVE /S “G:\TV_DVR” “F:\Recorded TV” /XD “G:\TV_DVR.grab”
/MOVE - moves file instead of copy
/S - copies subdirectories excluding empty subdirectories
“G:\TV_DVR” - where to move from
“F:\Recorded TV” - where to move to
/XD “G:\TV_DVR.grab” - exclude the grab folder from any moves
This is the information I have been looking for after hours and hours of searching!! Thank you very much!
What do you use for writing and running the script to move the files from the local HDD to a NAS?
A text editor is all you need to type a line similar to what I showed. Save the file as some name with “bat” extension. My script is called “MoveTV.bat”. You can then use Task Scheduler to create a task that runs at some time interval. See Microsoft documentation on Task Scheduler for steps to create a task.