Additional Storage Locations for Channels DVR Recordings

I spent longer than I want to admit figuring it out but finally got it working, only after Eric's help figuring out the correct directory for my shield and using your correct syntax in windows 10 command prompt. But now recording to an SSD as my primary has completely eliminated buffer issues I had with a wd easystore drive.

1 Like

So, in addition to a GUI request, can we ensure that we can select which is the default recording location?

Does anyone want the option in settings to change the color of the UI Royal Blue/ Ruby Red / Amber Yellow / Transparent Black this would be a nice addition to the UI Does anyone agree with me on this one ? We need to vote on this as customer of channels DVR software

This is a Storage Thread their is a forum thread to request features.

I successfully added ExtraPaths on a my DVR running on Windows 10 using the command posted in this thread. (True response)

Output from dvr:
"enabled":true,"extra_paths":["E:/Channels"]

However when tested by moving some recordings from my primary drive to "E:\Channels" the recordings are not found.

From the log file - 020/01/31 20:34:27.726001 [HLS] Couldn't generate master playlist: Couldn't probe recording

I must be missing something easy? Thoughts?

Thanks!

You have to keep the same directory structure as the main media folder. TV/Show Name/Episode.mpg

Ahh of course, thank you Eric, I was missing the "TV" parent folder.

Had trouble viewing several recordings. Log shows: 2020/02/24 09:08:18.318393 [HLS] Couldn't generate master playlist: Couldn't probe recording

I use the additional storage location external disks to move recordings from the primary recording disk. This feature has been working well. Checked Recordings - View Details on this TV show and found: Error retrieving file details.

Moved the TV Show recorded file back into the primary recording disk and everything works. I can watch on an iPad and the View Details shows:

TV/Death in Paradise/Death in Paradise S08E02 2019-01-17 2019-12-28-2000.mpg

Duration
53 min

Bit Rate
13,928,719 bits/sec

File Size
5,458,837,184 bytes

File ID
7624

Streaming Index Up-to-date
No

Track #0: MPEG-2 video
1920x1080 16:9 yuv420p interlaced 29.97fps

Track #1: ATSC A/52A (AC-3)
stereo eng 448kbps

Track #2: ATSC A/52A (AC-3)
stereo spa 128kbps

Other TV shows moved to extra storage disks also play as expected. This series of recordings also play with VLC. Extra_Paths are correct when I view the [local server location]:8089/dvr. Admin/Troubleshooting shows green check marks. Any ideas what is happening?

From some limited testing, it seems we want to leave the edl files on the primary drive, and only move the actual video mpgs, is that right?

For filesystems which support them, would symlinks be cleaner for the DVR system for now, or is move + ExtraPaths the recommended solution/

The EDL files are only for support in other programs. Commercial data is stored in Channels' internal database, and does not need the EDLs.

Good point, I recall that now, thanks.
I suppose in that case they should move with the mpgs, since that's where other apps will access them. Moving the files seems to have broken commercial detection for me, but it must be unrelated.

Make it four users.

Going back after long long time to test DVR during pandemic.
curl -XPATCH --data-binary '{"ExtraPaths":"/Users/sebastian/ChannelsDVR"}' http://localhost:8089/dvr
did work on 5th try. first four always gave 'false' not sure why.Maybe because I tried to do this when no sources was configured, and it gave 'true' during directv veryfication. Is this expected behaviour?

I have a stupid question. I have tried every option I can think of, but nothing works. I need to add F:\DVR directory to the search path while keeping E:\DVR. I thought I just needed to add ; between the two locations, but that gives me a false return. Can anyone help?

This below works fine for one location. (Return true). So just need to add the second path.

curl.exe -XPATCH –data-binary “{\”ExtraPaths\”:\”E:\DVR\”}” http://192.168.1.196:8089/dvr

Thanks

I'm a Mac user here. Try a colon between the two paths, but inside the double quotation marks.

curl.exe -XPATCH --data-binary "{\"ExtraPaths\":\"E:/DVR\"}" http://192.168.1.196:8089/dvr

Try the Above if using windows.

Adding the colon didn't work. Still getting error. Must be something different between Mac and Windows I am not understanding.

It does work good for one path. Just can't figure out how to add the second path in Windows.

What about:

curl.exe -XPATCH --data-binary "{"ExtraPaths":"E:\DVR;F:\DVR"}" http://192.168.1.196:8089/dvr
curl.exe -XPATCH --data-binary "{\"ExtraPaths\":\"E:/DVR\;F:/DVR\"}" http://192.168.1.196:8089/dvr