MythWeb allows you to use a web page to control various aspects of your MythTV system. MythWeb is a separate application, but it's dependent on MythTV being installed and operational.
Mythweb is a part of the mythplugins package. See MythPlugins for instructions on downloading the tarball. The next step depends on whether your distribution has a web server and if you have PHP support.
Mandrake has apache and PHP pre-packaged, so installation is quite simple. Once you have installed the two programs, either with the graphical installer (see instructions in Graphic Install Tools) or through the command line (section Command Line), and you've ensured that the apache server will start at boot using the Mandrake Control Center.
# urpmi apache2 apache2-mod_php php-mysql
# chkconfig --level 345 httpd on
# /etc/rc.d/init.d/httpd restart
$ cd ~/mythplugins-0.18.1/mythweb
$ su
# mkdir /var/www/html/mythweb
# cp -r . /var/www/html/mythweb
# exit
$
Edit the /var/www/html/mythweb/config/conf.php
file if required.
By default, MythWeb uses an Apache .htaccess
file to restrict
access to the website and to configure some variables.
To create the password file for Apache (if your system doesn't already have one), you could do something like this:
# cd /var/www
# htpasswd -c htpasswd mythtv
New password:
Re-type new password:
Adding password for user mythtv
See the man page for htpasswd for more examples.
To access the web page, open a web browser and use http://[name or ip address]/mythweb/
404 Page not Found
error.
MythWeb allows you to configure which keys are bound to which actions within MythTV. If you'd like to reset this back to the default, execute the following command:
$ echo "delete from keybindings ;" | mysql -u mythtv -pmythtv mythconverg
If you find yourself wedged into a theme that isn't working, open your
web browser and go to site:
http://mythweb_name_or_ip_address/mythweb/settings.php?RESET_THEME=yes