Additional Storage Locations for Channels DVR Recordings

Right.

I believe you have to mount the path on your Shield first ... then figure out how it is mounted and use that name as your path. But maybe a Shield expert can help you.

Thanks Ed, That worked.
I set up the mount with id and pass word then used:

curl.exe -XPATCH --data-binary
"{\"ExtraPaths\":\"/storage/BEDROOMTV/Elements/NVIDIA_SHIELD/Dvr\"}" http://192.168.1.228:8089/dvr"

Works great. Now I have 8tb of backup or extra video storage.

As a reminder, the directories in ExtraPaths: will not be used for new recordings. It is only used for playback and will require you to have moved content onto the secondary directory:

Finally broke down & got a drive to use as secondary storage for the DVR.
Still want transcoding :slight_smile:

On a Mac, i should just be able to type

curl -XPATCH --data-binary '{"ExtraPaths":"/Volumes/DVR"}' ://127.0.0.1:8089/dvr

into terminal and have it set? Does it require a restart of the server?
I ran the command, moved a file, but it isn't being found.
I am running 2019.08.24.1834

...Slowly getting towards SageTV circa 2008!
Just need the auto ComSkip editing + in place MPEG-2 transcoding for space savings.

Looks like you forgot ‘http’:
curl -XPATCH --data-binary '{"ExtraPaths":"/Volumes/DVR"}' http://127.0.0.1:8089/dvr

I fixed that - no error on running the command in Terminal.

It still doesn't seem to be finding the files in the 2nd location, i'll wait for the current recordings to stop & then see if a restart works.

What does it show for "extra_paths" on http://127.0.0.1:8089/dvr

"disk":{"free":7124976893952,"total":17591842062336,"used":10466865168384},"enabled":true,"extra_paths":["/Volumes/DVR"]

When i drop the USB drive onto Terminal the path shows as:
fairmount:~ sage$ /Volumes/DVR

What’s the folder structure under /Volumes/DVR?

No more directories, just a single new drive dedicated to the DVR'd files.

The folder structure inside the new path must match what was used in the original path. So you'd need TV/Show Name/Recording.mpg in the new drive.

Was just testing & figured that out :slight_smile:
Thanks for the time from both of you!

Trying to add D:\DVR to my Server as an additional storage location. Accidentally typed "_" instead of "-" in front of XPATCH:
curl.exe _XPATCH --data-binary "{"ExtraPaths":"D:\DVR"}" http://192.168.0.4:8089/dvr
Returned this:
curl: (6) Could not resolve host: _XPATCH

When I try and run the correct command:
curl.exe -XPATCH --data-binary "{"ExtraPaths":"D:\DVR"}" http://192.168.0.4:8089/dvr

It just returns "false".

This is what shows on http://127.0.0.1/dvr as it relates to extra path:

{"activity":{"6-stream-131198E6-570-192.168.0.15":"Watching ch570 ESPN HD from 192.168.0.15.","6-stream-131198E6-570-192.168.0.21":"Watching ch570 ESPN HD from 192.168.0.21."},"busy":true,"clients":2,"disk":{"free":1407333916672,"total":4000650883072,"used":2593316966400},"enabled":true,"extra_paths":null,"guide":{"num_lineups":3,"num_shows":14309,"num_airings":162700,"disk_size":1059830184,"updated_at":1572094800},"keep":{"num":"","only":""},"last_backup":"2019-10-26T17:06:24.6958001-04:00","padding":{"end":"10","start":"10"},"path":"E:\Channels","stats":{"groups":61,"files":415,"jobs":173,"rules":48},"status":"running","transcoder_cache":{"size":161423372}}

Any suggestions on how to fix my error?

You need to use command prompt (not Powershell), and use single quotes around the payload

Tried both:

curl.exe -XPATCH --data-binary '{"extraPaths":"D:\DVR"}' http://192.168.0.4:8089/dvr

-and-

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

Both return false. Which is the "payload"? TIA.

This is right but you need uppercase E for ExtraPaths

Still not working.
C:\Users\jaysi>curl.exe -XPATCH --data-binary '{"ExtraPaths":"D:\DVR"}' http://192.168.0.4:8089/dvr
false

Should be
curl.exe -XPATCH --data-binary "{"ExtraPaths":"D:\DVR"}" http://192.168.0.4:8089/dvr
see earlier post
Additional Storage Locations for Channels DVR Recordings

Apparently in command prompt you need:

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