Skip to content


Internet EPG on Neumo images – Fantacyteam script

Contents

[ hide ]

    Here’s a handy howto by user samot4 on adding the internet-epg script and installing internet-epg itself.

    1. Install Fantacy Neumo 2.13.6.
    2. Add the Fantacy internet-epg install script to /var/data/scripts as menu8.sh
    3. Edit emud with “8. Internet install”
    4. Reboot
    5. Start the script under blue button and let it install internet-epg
    6. Reboot
    7. After everything is installed chmod 755 /var/data/db.dat and /var/media/epg/software/data/channelmap.dat and sql.

    The Fantacy Epg Install script:

    #!/bin/sh
    front_ioctl --devname /dev/tts/1 --job puts 'EPG Install'
    TMPFILE=/var/data/FT-EPG_2.13.6.tar.gz
    UPDIR="http://update.fantacy-team.net/files/epg/FT-EPG_2.13.6.tar.gz"
    PINGDEST="update.fantacy-team.net"
    DEVICE="/dev/ide/host0/bus0/target0/lun0/part3"
    MINFREE=100 # MB below this do warning
    
    ping -q -c 3 $PINGDEST > /dev/null
    
    if  $? != 0 ; then
    
    echo show_mess 3 Connection to FantacyTeam FAILED! > /dev/commander
    sleep 5
    else
    echo show_mess 3 Connection to FantacyTeam OK > /dev/commander
    sleep 2
    
    1. Check if enough free disk space #
    ISFREE=0 echo show_mess 3 Checking if enough free space > /dev/commander sleep 2 ISFREE=`df | grep -E $DEVICE | awk '{ print $4 }'` ISMB=`expr $ISFREE / 1024` if $ISMB -le $MINFREE ; then echo show_mess 3 WARNING: $DEVICE only $ISMB MB free Aborting > /dev/commander sleep 8 REST=`expr $MINFREE - $ISMB` echo show_mess 3 Free $REST MB from $DEVICE and try again > /dev/commander sleep 8 else echo show_mess 3 Free space OK > /dev/commander sleep 2
    1. Downloading epg #
    echo show_mess 3 Downloading Setup Files 2-10min > /dev/commander sleep 2 wget -q $UPDIR -O $TMPFILE
    1. Check if file was retriveld #
    if -s $TMPFILE ; then echo show_mess 3 Running Install 2-5min > /dev/commander
    1. if $FSIZER -eq $FSIZE ; then
    if ! tar -zxv -f $TMPFILE -C /; then echo show_mess 3 failed to untar the archive. > /dev/commander else chmod 777 /opt/bin/tv_grab_no chmod 755 /var/media/epg/software/epg cd /var/media/epg/data ../software/epg.php --setup rm $TMPFILE echo show_mess 3 Int.EPG file Innstaled OK Restart > /dev/commander sleep 8 fi else echo show_mess 3 Problem downloding files try again > /dev/commander rm $TMPFILE sleep 5 fi fi fi
    This page is a Wiki! Log in or register an account to edit.

    Posted in .