IceTV Forum

IceTV Guide for IceTV enabled PVRs => Topfield => Topic started by: fredflinstone on January 13, 2007, 12:06:34 PM

Title: ICE Guide Puppy / SLUG
Post by: fredflinstone on January 13, 2007, 12:06:34 PM
Hi,

As a Mac user I have been a little frustrated about the lack of support by ICE for the Mac platform. I have used the
ICEguide4Topfield (http://www.noates.com/iceguide4topfield.html) application that works very well, however I did need to connect my machine to the topfield by usb cable. While this worked, it did not prove to be very convenient.

I thought I would share with the forum how I connected a
linksys NSLU2  (http://www-au.linksys.com/servlet/Satellite?c=L_Product_C2&childpagename=AU%2FLayout&cid=1130279402275&packedargs=site%3DAU&pagename=Linksys%2FCommon%2FVisitorWrapper)to my topfield to automate fetching my ICE Guide updates (I could not find much detailed information on this). This device now fetches the guides and uploads them to my topfield daily.

Here's how:

Here is a copy of the shell script I use to call the fetcher and upload the guides to the topfield:

#!/bin/sh

#---> Script for loading the iceguide to the topfield
#---> Called daily by cron
#---> Run on NSLU2

#---> Set file locations
RUN_LOCATION="/root/scripts"
GUIDE_LOCATION=$RUN_LOCATION"/iceguide/ICE"


#---> cd to the location where the fetch routine will run
cd $RUN_LOCATION

#---> Delete existing guides
rm -f $GUIDE_LOCATION/*_EPG_CACHE

#---> Download guides from the Ice Guide server
$RUN_LOCATION/get_guide_data.py -u <ICE user id> -p <ICE password>

#---> Upload the downloaded program files to the toppy
for i in $GUIDE_LOCATION/*_EPG_CACHE; do echo Uploading $i ; puppy -c put $i ICE\\$i ; done

#---> Change back to the home directory
cd ~

Here is a copy of my crontab file (/etc/crontab on the NSLU2)

Code: [Select]
SHELL=/bin/sh
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=""
HOME=/

# ---------- ---------- Default is Empty ---------- ---------- #


#-------------- Update time every day -----------#

00 13 * * * root /usr/bin/ntpdate -s ntp.syd.connect.com.au


#------------- Upload the fresh guides to the toppy -----------#

30 14 * * * root /root/scripts/load_guides.sh


Hope this information is useful to someone.

Credit to 'Tom M' for his Topfield ICE Guide Fetcher python script.

Cheers,

Steven Curren
Title: Re: ICE Guide Puppy / SLUG
Post by: Marc on January 19, 2007, 12:06:38 PM
Thanks! I'm sure there's a few people here that'll find the info very handy.
Title: Re: ICE Guide Puppy / SLUG
Post by: deangelj on April 19, 2007, 08:53:42 AM
Instead of having to install Python and using the Python script couldn't you just do wget http://... ?

cheers,
john
Title: Re: ICE Guide Puppy / SLUG
Post by: GBH187 on July 10, 2007, 07:55:43 PM
nice should have changed the subject to "DIY icebox"
Title: Re: ICE Guide Puppy / SLUG
Post by: xcaliba on September 28, 2007, 11:48:05 AM
does anyone know where I can find a copy of the guide fetcher?


The link doesn't seem to work any more.