Author Topic: ICE Guide Puppy / SLUG  (Read 6053 times)

Offline fredflinstone

  • Newbie
  • *
  • Posts: 2
    • View Profile
ICE Guide Puppy / SLUG
« 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 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 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:
  • Connect the NSLU2 to your home network
  • Flash the open slug software onto the NSLU2
  • Install puppy package and any other packages you find useful
  • Install the pyton package onto the slug
  • Download a copy of the Topfield ICE Guide Fetcher
  • Use the shell script code below to call fetcher and upload the guide to the topfield
  • Call the script via CRON - see the example below

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

Code: [Select]
#!/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

Offline Marc

  • Guru
  • *****
  • Posts: 451
    • View Profile
Re: ICE Guide Puppy / SLUG
« Reply #1 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.

Offline deangelj

  • Junior Member
  • **
  • Posts: 26
    • View Profile
Re: ICE Guide Puppy / SLUG
« Reply #2 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

Offline GBH187

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: ICE Guide Puppy / SLUG
« Reply #3 on: July 10, 2007, 07:55:43 PM »
nice should have changed the subject to "DIY icebox"

Offline xcaliba

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: ICE Guide Puppy / SLUG
« Reply #4 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.


Share via facebook Share via twitter

xx
Full IceTV Subscription vs Plex Subscription

Started by Peter_H on Plex

2 Replies
115 Views
Last post April 15, 2019, 05:14:46 PM
by Peter_H
exclamation
AFL womens footy Grand Final is on Sunday but not shown by ICE TV

Started by chopper on IceTV EPG Content

4 Replies
121 Views
Last post March 30, 2019, 07:07:23 PM
by Tiphanee
xx
Ice Road Truckers

Started by aeb001 on IceTV EPG Content

3 Replies
243 Views
Last post January 23, 2019, 08:19:29 PM
by aeb001
xx
WMC running in Windows 10 but IceTV not recording

Started by dataplex on Windows 8 Media Center

2 Replies
425 Views
Last post January 12, 2019, 07:05:54 PM
by dataplex