Additional Storage Locations for Channels DVR Recordings

Thanks the below worked for me on the WDPR4100... that gives me an extra 5TB of storage to move recordings I want to keep. … :smiley::smiley:

$url = "http://10.0.0.144:8089/dvr"

$payload = '{"ExtraPaths":"/mnt/USB/USB1_e2/TVREC/"}'

Invoke-RestMethod -Method Patch -Body $payload -uri $url

Can I view a movie that is stored on a different drive than where I am recording on Nvidia shield?

If you are talking about through the Channels interface, only if Channels recorded the movie and still has a reference to the recording in its database.

As has been stated many times, you cannot import arbitrary movies/recordings into Channels. It is a TV DVR and maintains its own database of recordings. It allows you to view live TV and recordings that it has made itself. Nothing else.

How do you do multiple ExtraPaths? I now have recordings in three different locations, one local, one on the backup and since that is full another backup but I can't get the new backup location to work.

nm I had my syntax wrong it should have been:
"ExtraPaths":"/backup/ChannelsDVR:/backup2/ChannelsDVR"

noob question, I run the curl cmd (mac) and got no error returned back in terminal. What can I run to check the ExtraPaths is there properly?
TIA

You can open http://localhost:8089/dvr and see if it shows as being set in "extra_paths"

Thanks, this makes archiving so much easier. Also, big thanks for the TVE integration.

Gonna just look stupid and ask... what do I need to type (exact thing I can copy/paste?) and where do I need to type it (does this go in Powershell?) for Windows to add this location as my second location for TV files? Second location I need to add is...

E:\DVR Location\CHANNELS DVR\TV

Recording primarily to my smaller SSD, want bigger drive as overflow. I understand that my DVR will record to primary SSD location and I need to get things to this secondary location in some way, but I can't figure out how to get the right syntax to add the second location as an extra path.

Thanks for help.

In Powershell, paste:

$payload = '{"ExtraPaths":"E:\DVR Location\CHANNELS DVR\TV"}'

Invoke-RestMethod -Method Patch -Body $payload -uri http://127.0.0.1:8089/dvr

should I be able to modify the extra paths value by just re-running the curl cmd with different a value?

Here is what I ran and it didn't error but it didn't change the extra paths value either

curl -XPATCH --data-binary ‘{“ExtraPaths":"/Volumes/ChannelsArchive/ChannelsDVR:/Volumes/SeagateArchive/ChannelsArchive”}’ http://127.0.0.1:8089/dvr

Yes that should work.

I notice some of your quotes are smart-quotes and others are real quotes. That will cause problems.

Copy/paste this which uses regular quotes:

curl -XPATCH --data-binary '{"ExtraPaths":"/Volumes/ChannelsArchive/ChannelsDVR:/Volumes/SeagateArchive/ChannelsArchive"}' http://127.0.0.1:8089/dvr

Perfect! I tried to copy and paste from your example on comment 6 but somehow it got mangled on the journey over. Copy and paste kills so many innocent bits.

Thanks for your help.

Hi for me the attempt to add a second drive failed using the windows powershell

server version: 2019.07.26.0234
ip: 10.0.0.76:8089
additional path to add: F:\DVR

command used:
PS C:\Users\Scott> $url = "http://10.0.0.76:8089/dvr"
PS C:\Users\Scott> $payload = '{"ExtraPaths":"F:\DVR"}'
PS C:\Users\Scott> Invoke-RestMethod -Method Patch -Body $payload -uri $url

result:
Invoke-RestMethod : false
At line:1 char:1

  • Invoke-RestMethod -Method Patch -Body $payload -uri $url
  •   + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], Web
     Exception
      + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand
    

P

i am unable to see the typo

Is the DVR checkbox checked on the web UI?

Yes sir

Try this:

curl.exe -XPATCH --data-binary '{"ExtraPaths":"F:\DVR"}' http://10.0.0.76:8089/dvr

I am also having the same problem using this command ...

c:\curl>curl.exe -XPATCH --data-binary '{"ExtraPaths":"/volume1/PR4100/ChannelsDVR2"}' http://10.0.0.176:8089/dvr
false
c:\curl>

Can you check the Log tab to see if an error is shown like "invalid recorder settings"

019/07/26 08:45:24 [ERR] invalid recorder settings: invalid character ''' looking for beginning of value
2019/07/26 08:46:50 [ERR] invalid recorder settings: invalid character ''' looking for beginning of value

019/07/26 08:45:24 [ERR] invalid recorder settings: invalid character '\'' looking for beginning of value

2019/07/26 08:46:50 [ERR] invalid recorder settings: invalid character ''' looking for beginning of value

Ah okay Windows doesn't let you use single quotes as a wrapper. Maybe something like this:

curl.exe -XPATCH --data-binary "{\"ExtraPaths\":\"/volume1/PR4100/ChannelsDVR2\"}" http://10.0.0.176:8089/dvr