silence.py

Moderator: justinh

Post Reply
ceesquared
Newcomer
Posts: 9
Joined: Tue Dec 11, 2018 4:20 pm
Great Britain

silence.py

Post by ceesquared » Thu Sep 23, 2021 8:56 am

I am trying to test and run the silence detect program as given in https://www.mythtv.org/wiki/Commercial_ ... silence.py. On a command line test it fails with " cannot find module mythtv". I suspect that all the 'incudes' are missing. Where can I get them? The includes are
import MythTV
import os
import subprocess
import argparse
import collections
import re
import sys
import datetime
As a side line, I am assuming that the chanid and starttime are taken from the name of the recording i.e. chanid_starttime.ts. Is this correct?

Post Reply