Using a free Australian EPG with EyeTV
The other option is to use their inbuilt DVB guide, which is streamed over the digital signal by the providers, however to date EyeTV has not supported automated updates of the EPG this way - you had to manually click an update button every few days.
So I've worked out a way to use free sources to automatically update my EPG daily.
What am I using?
- EyeTV 3.1
- OSX Leopard
- EPG data from the kind folks at www.oztivo.net
- A neat little script called tvguidefetch
- Some OSX glue to get things running automatically every day. You'll need Xcode installed and root access enabled.
- Sign up for an account at oztivo.net - you'll need this
- Download and compile the tvguidefetch source code. To do this, you will need to open Terminal and run the following commands:
- mkdir tvguide
- svn co https://tvguidefetch.svn.sourceforge.net/svnroot/tvguidefetch tvguidefetch
- make
- Now make a permanent place for the program and move in the program tv_grab_au_guide into it. I've put it in ~/bin/tvguide.
- Configure it by running the following command. You'll supply your username/password from oztivo.net here.
- ./tv_grab_au_guide --configure
- Now make a shell script called 'update.sh' in the tvguide directory with the following (be sure to replace yourusername with your actual name)
- #!/bin/sh
- # Update the tv guide database for EyeTV
- cd /Users/
yourusername/bin/tvguide - ./tv_grab_au_tvguide -d 7 -o EPG.xml
- open -a /Applications/EyeTV.app/Contents/MacOS/EyeTV EPG.xml
- And run the following commands as root to get the script running every day (note: you'll need your root user enabled for the second command - search my blog for more info on getting this going if you haven't done it before):
- chmod _x update.sh
- sudo ln -s update.sh /etc/daily.local
- Test that it all works (this command should download a bunch of program guide data and build a file called EPG.xml file in the tvguide directory)
- sudo periodic daily
- Finally, configure EyeTV to accept this file
- Go into EyeTV preferences and select 'none' for the EPG.
- In the main window, right-click the Program Guide and select 'clear EPG database'
- Now go to the Channels list, and for each channel, select 'xmltv' as the EPG source. If it prompts you for a channel from the EPG database and you can't find it, fall back to using the DVB guide.
- You're finished!
I now have 7 days of program guide information for all the channels in Melbourne, downloaded daily and updated in EyeTV automatically, without paying a cent. Extreme thanks to oztivo.net and tvguidefetch for the heavy lifting.
Labels: osx eyetv epg



