Next Previous Contents

14. MythWeb.

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.

14.1 Installation and prerequisites

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.

Mandriva

Mandriva has apache and PHP pre-packaged, so installation is quite simple.

NOTE: Mandriva 9.1 users, perform the following:
# urpmi apache2 apache2-mod_php php-mysql
# chkconfig --level 345 httpd on
# /etc/rc.d/init.d/httpd restart

14.2 Completing the installation

$ cd ~/mythplugins-0.21/mythweb
$ su
# mkdir /var/www/html/mythweb
# cp -r . /var/www/html/mythweb
# exit
$ 

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/

NOTE: Make sure that you have a trailing slash on the URL, otherwise you will get a 404 Page not Found error.

14.3 Resetting the key binding table

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

14.4 Resetting the theme.

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


Next Previous Contents