You are here

MythTV

1. Install WG++ in the ~/wg++ directory (see the Linux install documentation)

2. Make a script to run WG++ and update the MythTV database

Create a file called update.sh in the ~/wg++ directory and parse the next text into it

#!/bin/bash
cd ~/wg++
mono WebGrab+Plus.exe  "$(pwd)"
mythfilldatabase --refresh 14 --file --sourceid 1 --xmlfile ./guide.xml

make this file executable

chmod 755 update.sh

3. Check if the script runs ok.

execute the script manualy

~/wg++/update.sh

Check if all goes well.

4. Make this script run automaticly with a cronjob (eg. every day at 2:15)

run

crontab -e

then add next line to that file

15 2 * * * ~/wg++/update.sh

 

 

Brought to you by Jan van Straaten

Program Development - Jan van Straaten ------- Web design - Francis De Paemeleere
Supported by: servercare.nl