BETA: Channels DVR Server for Raspberry Pi 4 (USB BOOT IMAGE)

I will write up some docs and link to the recovery image soon. I am trying to make it as easy to use as possible first.

Not without a second drive to back up the files first.

Or you can buy a cheap SSD and flash that with your OS, then attach the existing drive and use that for recordings. So you would still have two drives, but one would be a much smaller one just for the OS image.

Kootion External SSD 60GB... https://www.amazon.com/dp/B07MQYVZCM?ref=ppx_pop_mob_ap_share

1 Like

Thanks for the logs. I increased this buffer in the latest DVR builds. Lmk if it happens again.

1 Like

FYI SMB3 is the latest protocol. The latest version of the Samba open-source software is 4.x but that is not related to the protocol version (which is defined by MSFT).

1 Like

Bah, you're right. I was thinking of NFS.

1 Like

Fantastic. We don’t often watch time-delayed but in progress shows, but I’ll let you know.

2 Likes

I'm back with another question. The RPi4 I have coming will be powered by the RPi PoE HAT. I have an RPi3 with that HAT, and I have to add some config to boot/config.txt to change the temp thresholds for the PoE HAT fan, or it runs in two second intervals. Will that control be possible with this custom image? If not, is there any difference between just doing a standard Raspian install and then installing the ChannelsDVR versus this custom image (other than the OS related management stuff)?

BTW, I've made a choice to just use the SD card for now. I know technically it will wear out (and isn't supported), but all I'm doing is using Channels as a mechanism to "convert" TVE to IPTV for NextPVR. And from what I can tell it could be years before I run out of writes on the SD card based on my anticipated usage.

Thanks.

FYI The DVR does use a disk-based cache while streaming TVE.

You are able to edit the config.txt on the boot partition.

Thanks for that info. I assumed Channels would cache to disk during streaming, and I took that into account when doing my back of the napkin calculation for the writes. Even if I've overestimated the life of the card by a factor of 2, it's still almost as long as I'm likely to keep the RPi4 before upgrading it. And since there isn't much on there except the TVE config, even if the card dies it's not that huge a deal to me to replace it.

Thanks for the tip sounds like a good way to go. I just ordered the drive. If only the os is on the ssd would there be a downside to booting from one of the usb2 ports and leaving the usb3 for additional storage.

The OS drive will still be used for guide databases, but yea that should be just fine on USB2.

1 Like

Thanks. BTW thanks for all the work on this i think it's working great.

1 Like

Good news - didn't get a buffering error when same situation occured yesterday
Bad news - still got skipping and similar behavior a good distance into the the show - pretty much same as last time.

I didn't have time last night to send diagnostics, but I'll probably have a situation today to retry. Will try sending from AppleTV this time.

827d08a0-f447-42d2-a733-993cb45f2bb5 Submitted. Got buffer errors almost instantly trying to start a game.

Strange. Usually means the disk is not able to keep up, but that seems unexpected. I will add some disk performance diagnostics.

New updates: DVR v2020.11.02.2355 + OS v2020.1103.0023

A bunch of bugs in the transcoder were fixed, and it should work a lot better now.

Do you have SSH setup? Would be interesting to see what hdparm -tT /dev/sda says for your disk read speeds. Is the main drive plugged into the blue USB3 port?

/dev/sda:
Timing cached reads: 2066 MB in 2.00 seconds = 1033.15 MB/sec
Timing buffered disk reads: 498 MB in 3.01 seconds = 165.34 MB/sec

1 Like

I updated to the new updates and lost my shares. The orange triangle came back and I could not redo my shares. It would take the information like normal but when I hit the save button I'd get a spinning circle on the save button but the gear next to shares dose not spin like usual. I tried multiple times but no go so I started from scratch with latest image. I get the same result after hitting save the save button has spinning circle and goes no further. If I start fresh with the image downloaded from 10/29 everything sets up fine including the share. Then when I let take the update and reboot repeat from top of post. Now from scratch newest image trying to set up share. submitting logs now.

Okay looks like I broke the save button. Same thing here. Will fix shortly.