As soon as i edit the file with the link to the url ( which is correct ) the script doesn't execute...
How is that?
Was going to code something like this myself, so thanks to jfish and everyone else who worked on this.
Have this running nicely, using a AWS EC2 instance to host the bouquet files. DM500s runing PLI image, setup to use the yellow button to execute the script (and cron to run every 30 days).
modify the script to copy the bouquet files to ==> /var/tuxbox/config/enigma/cable/
Last edited by ziggycat; 25th March, 2012 at 03:33 PM.
As soon as i edit the file with the link to the url ( which is correct ) the script doesn't execute...
How is that?
hey peeps n scripters
can some one please rite a script for
me for me dm500c (cable box)
ive tried to edit the ones been posted
but im lost
please
Forbezy
here's a cut down version of the script, give it a try.
Code:#!/bin/sh # script to download latest channels lists # Jfish 1 Feb 2011 pass="dreambox" # <== change this to your dreambox password (default is 'dreambox') ebq="e1.tar.gz" # <== your (compressed) bouquet list url="blah.blah.net" # <== your server checkhost () { test=`ping -c 1 $url` [ "$?" -eq 0 ] || exit 1 } download () { mkdir /tmp/bq cd /tmp/bq wget "http://$url/$ebq" } extract () { chmod 755 /tmp/bq/$ebq tar -xzvf $ebq > /dev/null rm -rf /var/etc/satellites.xml mv /tmp/bq/satellites.xml /var/etc/ cd /var/tuxbox/config/enigma/cable rm -rf *.tv rm -rf *.epl rm -rf *.radio rm -rf *bak rm -rf bouquets rm -rf services rm -rf services.locked mv /tmp/bq/* /var/tuxbox/config/enigma/cable/ rm -rf /tmp/bq } reload () { wget -qO - http://root:"$pass"@127.0.0.1/cgi-bin/reloadSettings wget -qO - http://root:"$pass"@127.0.0.1/cgi-bin/reloadUserBouquets } checkhost # can we successfully ping our server ? download # download our compressed bouquet extract # copy bouquet files reload # reload bouquet files
this looks great , but where do you get the url to grab the files , I usually use sgtflipflops bouquets grabbed from here but not sure what url to put in to the script to auto update ... can anyone help
thanks in advance
The script wont run the moment I change the URL, done CHMOD 755 on file. If I leave the URL as it is (kryten.dyndns.info), it will execute fine. My URL via web browser works fine.....am just lost....
Code:Execution Progress: /bin/sh: usr/script/channelrefresh.sh: not found Execution finshed!!
Last edited by del_piero_3; 18th April, 2012 at 11:11 PM.
Has anyone managed to update this script to download SgtFlipFlops latest Multi sat each time?
hi lads first thanks for the script it works ok with my technomate 500 but the script wont work with my dreambox 500s ,i have pli jads3 image on my dreambox. any ideas what i might be doing wrong .
i have had a script work now for a while using yellow button and executing the script to download a channel list hosted on private web space although just wondering if the script can be executed every reboot of the box ?
this is the script i use
and also have a config fileCode:#!/bin/sh set -x exec > /var/script/Enigma1_Bouquet_Update.log 2>&1 #DESCRIPTION=Downloads, Installs & Reloads the latest Enigma1 Bouquets. #Change the URL to point to your Bouquet zip file BQ="http://privatewebspace.tar.gz" cd /tmp/ wget $BQ chmod 755 /tmp/enigma1.tar.gz tar -xzvf enigma1.tar.gz cd /tmp/enigma1 rm -rf /var/etc/satellites.xml mv /tmp/enigma1/satellites.xml /var/etc/ cd /var/tuxbox/config/enigma/ rm -rf *.tv rm -rf *.radio rm -rf *.epl rm -rf bouquets rm -rf services rm -rf services.locked mv /tmp/enigma1/* /var/tuxbox/config/enigma/ rm -rf /tmp/enigma1 rm -rf /tmp/enigma1.tar.gz #wget -q http://root:dreambox@127.0.0.1/cgi-bin/reloadUserBouquets reboot
Code:name=Enigma1 Bouquet Update desc= depend= type=3 needfb=0 needrc=0 needlcd=0
Last edited by Jo-Jo; 2nd August, 2012 at 03:31 AM.
Bro check this link
http://www.digital-kaos.co.uk/forums...plugin-289925/
u need to edit the below in .sh script for it to work for cable box, I'm using 500C for SG use
rm -rf /var/etc/cables.xml
mv /tmp/enigma1/cables.xml/var/etc/
cd /var/tuxbox/config/enigma/cable/
mv /tmp/enigma1/* /var/tuxbox/config/enigma/cable/
Hope this can help u
hi guys,
I keep getting an error when I run the script, it keeps saying tar: invalid number ' 10141 ' ?
can anyone shed any light on this?
hi lads I know this is an old tread but I always had my e1 bouguets downloading from dropbox but think its an error fro http to https has anyone got this from dropbox wget: not an http or ftp url: https://dl.dropboxusercontent.com/u/...xx/file.tar.gz
and if so do anyone know good http server that host .tar.gz files .cheers
Bookmarks