Find and record programs on MythTV
Inspired by MythWeb's Canned Searches feature, mythme makes it easy
to create and save custom queries. For example, a query named Horror Movies of the 1930s:
The result after clicking Save:
- python 3
- mariadb connector/c
This installs to a local virtual environment.
python -m venv ~/.local --system-site-packages
~/.local/bin/pip install mythme
The MYTHME_DIR environment variable points to a directory where mythme stores saved queries and other items. It's also where you can create a mythme.yaml file to configure mythme.
export MYTHME_DIR="~/.mythme"
(default is ~/.mythme)
In many cases no configuration is required. This is especially true if you're running mythme on MythTV's master backend host.
For Database Configuration,
mythme looks for ~/.mythtv/config.xml and uses the <Database> element if present.
To determine the MythTV Services API host, mythme tries
BackendServerAddr and BackendStatusPort from MythTV's settings db table.
Settings specified in $MYTHME_DIR/mythme.yaml override the autoconfig values above.
Here's an example mythme.yaml:
database:
host: '192.168.0.70'
port: 3306
database: mythconverg
username: mythtv
password: mythtv
mythtv:
api_base: http://192.168.0.70:6544Make sure ~/.local/bin is in your $PATH.
mythme
Access mythme in your web browser at: http://localhost:8000/mythme.
-h, --help show this help message
--version show mythme's version
--host HOST Server host
--port PORT Server port
Channel icons are disabled by default. To enable, click the dropdown caret next to the Channel column heading. Check the "Icons" box and confirm.