[mythtv-users] HDHR Prime queries

James Miller gajs-f0el at dea.spamcon.org
Thu May 21 18:12:45 UTC 2015


On Thu, 21 May 2015, Leo Butler wrote:

> Attached is a script that I use with my hdhr3-cc and my hdhr4-2us. I
> found a similar script somewhere online, but can't recall where (and
> didn't note it)

Thanks for your input and for providing that script, Leo. While awaiting a 
response I went ahead and tried a crude re-appropriation of the already 
crude script I found at the Gentoo wiki, and it actually seems to work. 
I'm sure yours will be much more neat and effective, but I might as well 
provide here what I came up with, just for reference.

#!/bin/bash -
#===============================================================================
# FILE:         HDHRrecord-60.sh
# USAGE:        ./HDHRrecord-60.sh
# DESCRIPTION:  Record Channel X, program Y on tuner 1 for 60 minutes
#===============================================================================
hdhomerun_config 13116F19 set /tuner1/channel auto:120
hdhomerun_config 13116F19 set /tuner1/program 2
hdhomerun_config 13116F19 save /tuner1 /path/60min-`date +%Y%m%d-%H%M`.ts &
   pidof_hdhomerun_config=`echo $!`
   sleep 59m # Only record for 58-59 minutes so we don't conflict next scheduled
                # recording.
kill $pidof_hdhomerun_config

The tuner, channel/program, and length of the recording are, obviously, 
hard-coded into this script. I suppose it might be improved by including 
some facility for transcoding the recorded transport stream. But it's 
probably not worth the time and effort of trying to improve on that since 
there seem to be better solutions out there. It did serve at least for 
some initial tests.

On Thu, 21 May 2015, Gary Buhrmaster wrote:

> It might be useful for the OP to specify the location and
> franchisee, as some are known to be easier to work with
> than others.

Thanks for responding, Gary. This is TWC, upper midwest. It's an apartment 
building, and I'm certain that other residents in this building are 
currently receiving digital cable. So the basic ingredients should already 
be in place.


More information about the mythtv-users mailing list