Linux and the HDHomeRun DVR PVR Client

13 Dec

SSH into server as root:

# Create storage used by recordings:
mkdir -p /media/r5x4-10tb-a/dvr-recordings

# Assign permissions:
chown -R mediaservice:mediaservices /media/r5x4-10tb-a/dvr-recordings

# Download program:
cd /opt
mkdir hdhomerun_record
cd hdhomerun_record
wget https://download.silicondust.com/hdhomerun/hdhomerun_record_linux

# Create configuration file:
nano hdhomerun.conf
RecordPath=RecordPath=/media/r5x4-10tb-a/dvr-recordings/

# Assign permissions:
chown -R mediaservice:mediaservices /opt/hdhomerun_record
chmod +x hdhomerun_record_linux

nano /etc/systemd/system/hdhomerun-record.service

[Unit]
Description=SiliconDust HDHomeRun DVR service
After=network.target

[Service]
User=mediaservice
Group=mediaservices

Type=simple
ExecStart=/opt/hdhomerun-record/hdhomerun_record_linux start
ExecStop=/opt/hdhomerun-record/hdhomerun_record_linux stop
TimeoutStopSec=20
KillMode=process
Restart=on-failure

[Install]
WantedBy=multi-user.target

systemctl enable hdhomerun-record

File used on VERO 4K:
zuki.pvr.hdhomerundvr-linux-armhf-leia-3.3.4.7648.zip

Leave a Reply

Your email address will not be published. Required fields are marked *