[mythtv-users] HDhomerun
Bill Meek
keemllib at gmail.com
Fri Apr 14 13:32:44 UTC 2023
On Friday 14 April 2023 05:03:41 AM (-05:00), James Abernathy wrote:
> On Thu, Apr 13, 2023 at 9:53 PM Bill Meek wrote:
>
> > On Thursday 13 April 2023 08:36:54 PM (-05:00), Daryl McDonald wrote:
> >
> > daryl at trieli:/usr/local/bin$ sudo rm /tmp/hdhr_discovery.log
> > [sudo] password for daryl:
> > daryl at trieli:/usr/local/bin$ sudo ./hdhomerun_check.py
> > daryl at trieli:/usr/local/bin$
> >
> > Does this now indicate a successful run of the script?
> >
> >
> >
> > Looks like something I wrote long ago. It was intended to be run ONLY by
> > user mythtv. There was a comment at the beginning of the script that said
> > as much.
> >
> > The exit code would be 0 for success. The log has the actual output.
> > Exit codes are documented in the beginning of the program.
> >
> > But, here a current copy that prints to the terminal if run there. It
> > still logs to the file when run from mythtv-backend.service, *for example*.
> >
> > https://pastebin.com/wdrdTrfV
> >
> > --
> > Bill
> >
> > Bill, I've been using your hdhomerun_check.py version 1.14 for a while
> with success for both networked HDHRs and Local-Linked HDHRs.
>
> Any reason I should change over to this new 1.28 version?
Jim,
You can now run it from the command line and it won't create a log file (prints to
the screen instead). I does now require Python 3.6. I'd suggest changing the Forum
page (or I'd happy to do it for you.)
-- Bill
More information about the mythtv-users
mailing list