PDA

View Full Version : **GUIDE** Auto Update Bouquets/Channel Lists E2 only**



freck
4th March, 2012, 06:40 PM
Here's details of some Bouquet Update Scripts/Plugins for Enigma2 (DM500HD)(DM800HD/SE)(VU+)(credits to rossi2000 and jfish and u.s.)

The Plugins download the bouquet file which you upload to a website and then extracts and install them.



I will break this guide down into 2 parts:
Part 1. Upload the Bouquets to website.
Part 2. Installing the Plugin.

Pre-Requisites
FTP Client - to install the plugins
DreamboxEdit - to edit channel lists
WinRar - to rar the enigma1 or enigma2 folder
iZarc - to convert the above .rar to .tar.gz
Website/Hosting - to host the above file (create a free one using Webs - Make a free website, get free hosting)

Part 1. Upload the Bouquets to website.

Download the latest SGTFlipFlop channel list, change your regional programs, remove any services etc... and save.
rename the folder the files are in to enigma2
rar this folder up
convert with iZArc to .tar.gz
upload the .tar.gz to web server

test the file is downloadable, type the webaddress into browser (e.g yourwebsite.co.uk: The Leading Your Web Site Site on the Net) and check the file downloads



Part 2. Installing the Plugin.
DOWNLOAD AND INSTALL THE .IPK FILE ATTACHED
the ipk will automatically reboot your box after installation, it will now appear in the plugins menu (green button)
edit the .sh script in /usr/script with your file locations (i deleted the picons bit during testing)
select the plugin to update the bouquets.
Freck

2tone
16th March, 2012, 09:59 PM
tried this on my dm8000 with gp3 on it and messed up box is there some thing different about using this script with an icvs image

Rodbouy
16th March, 2012, 10:25 PM
tried this on my dm8000 with gp3 on it and messed up box is there some thing different about using this script with an icvs image

What error did you get in the log mate?

2tone
16th March, 2012, 10:42 PM
had to flash it again when set back up will try again and see what log says but it deleted all sats in tuner config

freck
16th March, 2012, 11:08 PM
Its config'd just to download 28.2E sio if youve a multi sat listing it'll overwrite it,not familiar with icvs images tbh I'd a BH man meself.
Let me know how you get on after reflash etc.
Freck

2tone
17th March, 2012, 10:31 AM
Going to try a black hole image and see dose it have the same problem chance it could be my bouquest file but was made the same way as the e1 file when i tried it on a tm500 was strange it deleted my sat list in my sat set up page

2tone
18th March, 2012, 10:02 AM
After playing with this a bit and using different images what happens is when i run the script from green button it looks like it runs but if i log in to box and check it just deletes my satellites.xml in var/tuxbox and when i check my bouquets it dose not have any of them also here is a copy of the .tar.gz file i have been using also here is a copy of the script out of usr/script

#!/bin/sh
set -x
exec > /var/log/Enigma2_Bouquet_Picon_Update.log 2>&1
#DESCRIPTION=Downloads, Installs & Reloads the latest Enigma2 Bouquets & Picons

#Transfer script to /usr/script and chmod 755
#A log file will be created in /var/log

#Change the URL to point to your Bouquet tar.gz file
BQ="http://www.xxxx/xxx/enigma2.tar.gz"
BP="http://www.xxxx.co.uk/xxxx/picon.tar.gz"

## Bouquet Download, Installation + Reload ##
cd /tmp/
wget $BQ
chmod 755 /tmp/enigma2.tar.gz
tar -xzvf enigma2.tar.gz

cd /tmp/enigma2
rm -rf /etc/tuxbox/satellites.xml
mv /tmp/enigma2/satellites.xml /etc/tuxbox/

cd /etc/enigma2
rm -rf *.tv
rm -rf *.radio
rm -rf blacklist
rm -rf lamedb
mv /tmp/enigma2/* /etc/enigma2

rm -rf /tmp/enigma2
rm -rf /tmp/enigma2.tar.gz

wget -qO - http://127.0.0.1/web/servicelistreload?mode=1
wget -qO - http://127.0.0.1/web/servicelistreload?mode=2

## Picon Installation ##
cd /tmp/
wget $BP
chmod 755 /tmp/picon.tar.gz
tar -xzvf picon.tar.gz

rm -rf /media/usb/picon/
mv /tmp/picon/ /media/usb/

rm -rf /tmp/picon.tar.gz

Rodbouy
18th March, 2012, 12:31 PM
Here is mine

#!/bin/sh
set -x
exec > /var/log/Enigma2_Bouquet_Picon_Update.log 2>&1
#DESCRIPTION=Downloads, Installs & Reloads the latest Enigma2 Bouquets & Picons
#Transfer script to /usr/script and chmod 755
#A log file will be created in /var/log
#Change the URL to point to your Bouquet tar.gz file
BQ="ftp://********:*******@**********/Bouquet/enigma2.tar.gz"
#BP="http://www.xxxx.co.uk/xxxx/picon.tar.gz"
## Bouquet Download, Installation + Reload ##
cd /tmp/
wget $BQ
chmod 755 /tmp/enigma2.tar.gz
tar -xzvf enigma2.tar.gz
cd /tmp/enigma2
rm -rf /etc/tuxbox/satellites.xml
mv /tmp/enigma2/satellites.xml /etc/tuxbox/
cd /etc/enigma2
rm -rf *.tv
rm -rf *.radio
rm -rf blacklist
rm -rf lamedb
mv /tmp/enigma2/* /etc/enigma2
rm -rf /tmp/enigma2
rm -rf /tmp/enigma2.tar.gz
wget -qO - http://127.0.0.1/web/servicelistreload?mode=1
wget -qO - http://127.0.0.1/web/servicelistreload?mode=2

## Picon Installation ##
#cd /tmp/
#wget $BP
#chmod 755 /tmp/picon.tar.gz
#tar -xzvf picon.tar.gz
#rm -rf /media/usb/picon/
#mv /tmp/picon/ /media/usb/
#rm -rf /tmp/picon.tar.gz
Reboot

I just # out the picon update

I have this working on pli beta 2.1 and BH 1.6.6 and also on my mates vu Duo running BH 1.6.6

after you do it, what does the log say ?

If you want I will pm you my 2 .sh, one for static e2 and one for multi e2 to try from my ftp server

2tone
18th March, 2012, 05:18 PM
Strange thing is i found another script on net from another forum and edited my details and it worked but with this script it wont cant work it out yet


+ BQ=ftp://www.xxxxx.co.uk/xxx/enigma2.tar.gz
+ cd /tmp/
+ wget ftp://www.xxxxxxx.co.uk/xxxx/enigma2.tar.gz
Connecting to (00.00.00.00:21)
wget: ftp login: Login incorrect.
+ chmod 755 /tmp/enigma2.tar.gz
chmod: /tmp/enigma2.tar.gz: No such file or directory
+ tar -xzvf enigma2.tar.gz
tar: can't open 'enigma2.tar.gz': No such file or directory
+ cd /tmp/enigma2
/usr/script/Enigma2_Bouquet_Picon_Update.sh: cd: line 1: can't cd to /tmp/enigma2
+ rm -rf /etc/tuxbox/satellites.xml
+ mv /tmp/enigma2/satellites.xml /etc/tuxbox/
mv: cannot rename '/tmp/enigma2/satellites.xml': No such file or directory
+ cd /etc/enigma2
+ rm -rf bouquets.tv userbouquet.LastScanned.tv userbouquet.dbe00.tv userbouquet.dbe01.tv userbouquet.dbe02.tv userbouquet.dbe03.tv userbouquet.dbe04.tv userbouquet.dbe05.tv userbouquet.dbe06.tv userbouquet.dbe07.tv userbouquet.dbe08.tv userbouquet.dbe09.tv userbouquet.dbe0a.tv userbouquet.dbe0b.tv userbouquet.dbe0c.tv userbouquet.dbe0d.tv userbouquet.dbe0e.tv userbouquet.dbe0f.tv userbouquet.dbe10.tv userbouquet.dbe11.tv userbouquet.dbe12.tv userbouquet.dbe13.tv userbouquet.dbe14.tv userbouquet.dbe15.tv userbouquet.dbe16.tv userbouquet.favourites.tv
+ rm -rf bouquets.radio userbouquet.favourites.radio
+ rm -rf blacklist
+ rm -rf lamedb
+ mv /tmp/enigma2/* /etc/enigma2
mv: cannot rename '/tmp/enigma2/*': No such file or directory
+ rm -rf /tmp/enigma2
+ rm -rf /tmp/enigma2.tar.gz
+ wget -qO - http://127.0.0.1/web/servicelistreload?mode=1 (http://www.tvchans[/url)
<?xml version="1.0" encoding="UTF-8"?>

<e2simplexmlresult>
<e2state>True</e2state>
<e2statetext>reloaded lamedb</e2statetext>
</e2simplexmlresult>
+ wget -qO - [url]http://127.0.0.1/web/servicelistreload?mode=2
<?xml version="1.0" encoding="UTF-8"?>

<e2simplexmlresult>
<e2state>True</e2state>
<e2statetext>reloaded bouquets</e2statetext>
</e2simplexmlresult>
+ Reboot
/usr/script/Enigma2_Bouquet_Picon_Update.sh: line 1: Reboot: not found

dutchkrus
6th October, 2012, 03:34 PM
Here's details of some Bouquet Update Scripts/Plugins for Enigma2 (DM500HD)(DM800HD/SE)(VU+)(credits to rossi2000 and jfish and u.s.)

The Plugins download the bouquet file which you upload to a website and then extracts and install them.



I will break this guide down into 2 parts:
Part 1. Upload the Bouquets to website.
Part 2. Installing the Plugin.

Pre-Requisites
FTP Client - to install the plugins
DreamboxEdit - to edit channel lists
WinRar - to rar the enigma1 or enigma2 folder
iZarc - to convert the above .rar to .tar.gz
Website/Hosting - to host the above file (create a free one using Webs - Make a free website, get free hosting)

Part 1. Upload the Bouquets to website.

Download the latest SGTFlipFlop channel list, change your regional programs, remove any services etc... and save.
rename the folder the files are in to enigma2
rar this folder up
convert with iZArc to .tar.gz
upload the .tar.gz to web server

test the file is downloadable, type the webaddress into browser (e.g yourwebsite.co.uk: The Leading Your Web Site Site on the Net) and check the file downloads



Part 2. Installing the Plugin.
DOWNLOAD AND INSTALL THE .IPK FILE ATTACHED
the ipk will automatically reboot your box after installation, it will now appear in the plugins menu (green button)
edit the .sh script in /usr/script with your file locations (i deleted the picons bit during testing)
select the plugin to update the bouquets.
Freck
Hi,

Do it works on enigma1?

Thanks.

uu161
12th October, 2012, 06:15 PM
Hi,

Do it works on enigma1?

Thanks.


for E1
http://www.digital-kaos.co.uk/forums/images/styles/digital/misc/paperclip.gif (http://www.digital-kaos.co.uk/forums/search.php?searchid=12006502#) Guide:Auto Update Channel List/Bouquets.. (http://www.digital-kaos.co.uk/forums/f138/guide-auto-update-channel-list-bouquets-258026/?highlight=bouquets+plugin)

joaoly
23rd January, 2013, 01:52 AM
had to flash it again when set back up will try again and see what log says but it deleted all sats in tuner config

lalamala
30th January, 2013, 08:58 PM
what version is the best for channel updateing from ftp posted above? thx

slayer7
24th June, 2013, 03:34 AM
this does not work 100% on all firmwares i have tried ....just says on each one .... illegal operation on line 2

any ideas?

MilanFan
3rd July, 2013, 01:05 PM
Hi to all

One question

Is it possible to check if the Server where the Bouquest are is Online ore Offline?

I mean if the Server is Down the Script deleats alle you Bouquets which are on your Dreambox right?

I thinks it will be better if there is a IF Clause but i have no ideea how to fix that script

Pleas post this here if any one here knows how to do this

thanks to all o you

greetings

Luca1234

klodi1980
31st August, 2013, 03:49 PM
My Enigma1 Channels and Buquets update script
Tis is a 100% working script

if test -f /tmp/version.txt ; then
rm /tmp/version.txt
fi
if [ ! -r /var/etc/version.txt ]; then
echo "1.00.00" >>/var/etc/version.txt
fi
rm /var/etc/version.txt
wget -O - http:// web host server /version.txt >>/var/etc/version.txt
if test -f /tmp/b.tar ; then
rm /tmp/b.tar
fi
wget -O - "http:// web host server /b.tar" >>/tmp/b.tar
sleep 2
rm /var/tuxbox/config/enigma/*
tar -x -f /tmp/b.tar -C /var/tuxbox/config/enigma
rm /tmp/b.tar
sleep 2
echo "Dreambox Reload Services..."
wget -O - "http://root:dreambox@localhost/cgi-bin/reloadSettings" >/dev/null 2>&1
sleep 2
echo "Dreambox Reload Bouquets..."
wget -O - "http://root:dreambox@localhost/cgi-bin/reloadUserBouquets" >/dev/null 2>&1
sleep 2

wget -O - "http://root:dreambox@localhost/cgi-bin/admin?command=reboot" >/dev/null 2>&1

marcelocwb
30th November, 2013, 06:04 PM
Hi there,
The guide work very well on my dm800 image dbuk
Cheers

feex
12th January, 2018, 03:54 PM
Merci pour les infos 👍🏻🖐