MythUtil-Channel-HDHR-channelCheck
MythUtil-Channel-HDHR-channelCheck is a python script which is part of a set of related utility scripts (MythUtil-Channel-XMLTV-getLineup MythUtil-Channel-videosource MythUtil-Channel-HDHR-channelCheck MythUtil-Channel-HDHR-visibilityCheck MythUtil-Channel-visibility) that may be useful for users to maintain their channel lineup.
The definitive source location for this script is located on github, which is where one should obtain the current script.
MythUtil-Channel-HDHR-channelCheck reports on any difference between available channels between ones channel lineup and what a current generation HDHomeRun device lineup contains.
Usage:
MythUtil-Channel-HDHR-channelCheck [-h] --hdhr HDHR [--backend BACKEND] [--port PORT] [--username USERNAME] [--password PASSWORD] (--videosource-name SOURCENAME | --videosource-id SOURCEID) [--channel CHANNELINCLUDE [CHANNELINCLUDE ...]] [--exclude-channel CHANNELEXCLUDE [CHANNELEXCLUDE ...]]
Optional arguments:
-h, --help show this help message and exit --hdhr HDHR the HDHomeRun from which to retrieve the lineup --backend BACKEND, --host BACKEND the host (backend) to access. The default is localhost. --port PORT the port to connect to on on the host. The default is 6544 --username USERNAME the username to use for host authentication --password PASSWORD the password to use for host authentication --videosource-name SOURCENAME the video source name --videosource-id SOURCEID the video source id --channel CHANNELINCLUDE [CHANNELINCLUDE ...], --channels CHANNELINCLUDE [CHANNELINCLUDE ...], --include-channel CHANNELINCLUDE [CHANNELINCLUDE ...], --include-channels CHANNELINCLUDE [CHANNELINCLUDE ...] list of channels to consider. The default is all --exclude-channel CHANNELEXCLUDE [CHANNELEXCLUDE ...], --exclude-channels CHANNELEXCLUDE [CHANNELEXCLUDE ...], --no-channel CHANNELEXCLUDE [CHANNELEXCLUDE ...], --no-channels CHANNELEXCLUDE [CHANNELEXCLUDE ...] list of channels to exclude. The default is none
Requirements
Only tested with MythTV 0.28, and 4th generation HDHR (and 3rd generation HDHR3-CC) devices with the latest firmwares. To usefully use this script one must use the "Detect Channels" capability of the HDHR before running the script.
Examples
For the examples below, it is presumed you are running on the backend host with the default ports and the sourceid of your cable lineup is 2.
- Scenario: You want to compare your HDHR channel data with your MythTV channels
MythUtil-Channel-HDHR-channelCheck --hdhr=myhdhr.local --videosource-id=2