Bouquets downloadable via Plugin or Script - Page 7
Register
Page 7 of 7 FirstFirst ... 234567
Results 91 to 105 of 105
  1. #91
    Member
    Join Date
    Nov 2009
    Posts
    53
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Downloads
    12
    Uploads
    0

    Default

    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).

    Quote Originally Posted by hatchet View Post
    How would i change the script to upload cable bouquets and not sat ones?

    Ta.
    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.

  2. #92
    Top Poster
    Join Date
    Jul 2008
    Posts
    161
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Downloads
    66
    Uploads
    0

    Default

    As soon as i edit the file with the link to the url ( which is correct ) the script doesn't execute...

    How is that?

  3. #93
    V.I.P. Member SGTFlipFlop's Avatar
    Join Date
    Sep 2009
    Location
    Scotland
    Posts
    1,003
    Thanks
    2
    Thanked 97 Times in 20 Posts
    Downloads
    14
    Uploads
    0

    Default

    Quote Originally Posted by hatchet View Post
    As soon as i edit the file with the link to the url ( which is correct ) the script doesn't execute...

    How is that?
    Have you chmod the file after you editted it?

  4. #94
    Newbie
    Join Date
    Jul 2010
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Downloads
    24
    Uploads
    0

    Exclamation

    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

  5. #95
    Top Poster
    Join Date
    Jul 2008
    Posts
    161
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Downloads
    66
    Uploads
    0

    Default

    Quote Originally Posted by SGTFlipFlop View Post
    Have you chmod the file after you editted it?
    Yes mate, ive even tried changing it to the link you sent me via PM and it refuses to execute

    Any ideas?

  6. #96
    Member
    Join Date
    Nov 2009
    Posts
    53
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Downloads
    12
    Uploads
    0

    Default

    Quote Originally Posted by hatchet View Post
    Yes mate, ive even tried changing it to the link you sent me via PM and it refuses to execute

    Any ideas?
    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

  7. #97
    Newbie
    Join Date
    Jul 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Downloads
    49
    Uploads
    0

    Default

    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

  8. #98
    Newbie
    Join Date
    Mar 2010
    Posts
    13
    Thanks
    4
    Thanked 0 Times in 0 Posts
    Downloads
    15
    Uploads
    0

    Default

    Quote Originally Posted by jfish View Post
    another update

    this includes function to reload engima 2 bouquets
    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.

  9. #99
    Junior Member
    Join Date
    Nov 2010
    Posts
    31
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Downloads
    6
    Uploads
    0

    Default

    Has anyone managed to update this script to download SgtFlipFlops latest Multi sat each time?

  10. #100
    DK Veteran
    Join Date
    Sep 2008
    Posts
    800
    Thanks
    0
    Thanked 1 Time in 1 Post
    Downloads
    194
    Uploads
    0

    Default

    Quote Originally Posted by del_piero_3 View Post
    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!!
    I am suprised it even connects to that hostname, as its been down for a while now and since I re did my servers at home and due to other stuff never had time to update script again

  11. #101
    Newbie
    Join Date
    Jan 2009
    Posts
    18
    Thanks
    3
    Thanked 0 Times in 0 Posts
    Downloads
    70
    Uploads
    0

    Default

    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 .

  12. #102
    DK Veteran
    Join Date
    Jul 2009
    Posts
    513
    Thanks
    2
    Thanked 1 Time in 1 Post
    Downloads
    31
    Uploads
    0

    Default

    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

    Code:
    #!/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
    and also have a config file

    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.

  13. #103
    DK Veteran ASTROBOX's Avatar
    Join Date
    Jun 2010
    Location
    Singapore/Indonesia/Malaysia
    Posts
    164
    Thanks
    3
    Thanked 56 Times in 17 Posts
    Downloads
    151
    Uploads
    17

    Default

    Quote Originally Posted by forbezy2010 View Post
    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
    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

  14. #104
    Newbie
    Join Date
    Jan 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Downloads
    2
    Uploads
    0

    Default

    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?

  15. #105
    Newbie
    Join Date
    Aug 2014
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Downloads
    1
    Uploads
    0

    Default

    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

 

 
Page 7 of 7 FirstFirst ... 234567

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •