Author Topic: ICE Guide Puppy / SLUG  (Read 6445 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
David Jason - IcePick Of The weekend

Started by simoncasey on IceTV EPG Content

3 Replies
118 Views
Last post September 08, 2019, 03:41:37 PM
by Tiphanee
xx
Common setup pitfalls using IceTV with Plex

Started by Daniel Hall at IceTV on Plex

0 Replies
174 Views
Last post July 01, 2019, 05:33:55 PM
by Daniel Hall at IceTV
xx
Setup IceTV on Plex server on Qnap TS 251+ with HDHomerun Connect

Started by Iceplex on Plex

27 Replies
696 Views
Last post July 22, 2019, 07:10:01 PM
by MD
xx
Full IceTV Subscription vs Plex Subscription

Started by Peter_H on Plex

8 Replies
376 Views
Last post July 16, 2019, 02:45:11 PM
by Daniel Hall at IceTV