Difference between revisions of "MythUtil-Channel-XMLTV-getLineup"
m (Correct references.) |
m (minor formatting updates) |
||
Line 27: | Line 27: | ||
-h, --help show this help message and exit | -h, --help show this help message and exit | ||
--backend BACKEND, --host BACKEND | --backend BACKEND, --host BACKEND | ||
− | the host (backend) to access. The default is | + | the host (backend) to access. The default is localhost. |
− | + | --port PORT the port to connect to on on the host. The default is 6544 | |
− | --port PORT the port to connect to on on the host. The default is | ||
− | |||
--username USERNAME the username to use for host authentication | --username USERNAME the username to use for host authentication | ||
--password PASSWORD the password to use for host authentication | --password PASSWORD the password to use for host authentication |
Latest revision as of 03:07, 25 August 2017
MythUtil-Channel-XMLTV-getLineup 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-XMLTV-getLineup reports and optionally updates the MythTV channel lineup based on the XMLTV --get-lineup output from a supported grabber (only a few grabbers support --get-lineup)
Usage:
MythUtil-Channel-XMLTV-getLineup [-h] [--backend BACKEND] [--port PORT] [--username USERNAME] [--password PASSWORD] (--videosource-name SOURCENAME | --videosource-id SOURCEID) [--channel CHANNELINCLUDE [CHANNELINCLUDE ...]] [--exclude-channel CHANNELEXCLUDE [CHANNELEXCLUDE ...]] [--add] [--delete] [--update] [--no-update-name] [--no-update-callsign] [--no-update-icons] [--no-update-xmltvid] [--no-update-freqid] [--no-strict-icon-check] [--refresh-icons] [file]
Positional arguments:
file (default will be stdin)
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 --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 --add add any channels in xmltv lineup --delete delete any channels not in xmltv lineup --update update the channels to match xmltv lineup --no-update-name do not update the channel name --no-update-callsign do not update the callsign --no-update-icons do not update the icon --no-update-xmltvid do not update the xmltvid --no-update-freqid do not update the frequency id --no-strict-icon-check do not check remote icon against local (bypass a slow/expensive check)
Requirements
Only tested with MythTV 0.28, and the tv_grab_zz_sdjson_sqlite grabber.
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 lin eup is 1.
- Scenario: You want to compare your Schedules Direct lineup data with your MythTV channels
tv_grab_zz_sdjson_sqlite --quiet --get-lineup --config-file ~/.mythtv/CABLE.xmltv | MythUtil-Channel-XMLTV-getLineup --videosource-id 1