MythUtil-Channel-videosource
MythUtil-Channel-videosource 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-videosource supports maintaining the MythTV videosources. Mythtv-setup is strongly recommended to be used for most use cases for maintaining videosources (this script was originally written for feature testing).
Usage:
MythUtil-Channel-videosource [-h] [--backend BACKEND] [--port PORT] [--username USERNAME] [--password PASSWORD] [--videosource-name SOURCENAME | --videosource-id SOURCEID] [--add | --delete | --update] [--grabber GRABBER] [--config CONFIG] [--use-eit USEEIT] [--network-id NETWORKID] [--frequency-table FREQTABLE] [--grabber-userid GRABBERUSERID] [--grabber-password GRABBERPASSWORD] [--lineupid LINEUPID] [--new-videosource-name SOURCENAMENEW]
Optional arguments:
-h, --help show this help message and exit --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 --add add a video source --delete delete a video source --update update a video source --grabber GRABBER grabber name --config CONFIG grabber configuration file --use-eit USEEIT use eit for guide --network-id NETWORKID provider specific network id --frequency-table FREQTABLE frequency table to use --grabber-userid GRABBERUSERID userid for schedulesdirect1 (internal) grabber --grabber-password GRABBERPASSWORD password for schedulesdirect1 (internal) grabber --lineupid LINEUPID lineupid for schedulesdirect1 (internal) grabber --new-videosource-name SOURCENAMENEW new video source name for update
Requirements
Only tested with MythTV 0.28.
Examples
For the examples below, it is presumed you are running on the backend host with the default ports.
- Scenario: You simply want to report your videosources
MythUtil-Channel-videosource
- Scenerio: You want to delete videosource 2
MythUtil-Channel-videosource --delete --videosource-id 2