Bouquets downloadable via Plugin or Script

Collapse
This is a sticky topic.
X
X
 
  • Time
  • Show
Clear All
new posts
  • rossi2000
    Junior Member
    • Jun 2010
    • 37

    #46
    Originally posted by jfish
    can you modify the checkhost function and use this code




    let me know the outcome
    yo mate

    with that code replaced, it doenst update at all, even if server is online, it just goes straight to error connecting to server

    Comment

    • jfish
      DK Veteran
      • Sep 2008
      • 799

      #47
      Originally posted by rossi2000
      yo mate

      with that code replaced, it doenst update at all, even if server is online, it just goes straight to error connecting to server
      using the new code in the script, and my webserver down

      I get this

      Starting Updating the Channel List
      Detecting Dreambox Type
      DM500
      Enigma 1
      Please Waiting..Connecting to Server
      Connecting to kryten.dyndns.info[213.107.133.168]:80
      Error Connecting to Server
      with webserver up I get this

      Starting Updating the Channel List
      Detecting Dreambox Type
      DM500
      Enigma 1
      Please Waiting..Connecting to Server
      Connecting to kryten.dyndns.info[213.107.133.168]:80
      Connected to Server
      Connecting to kryten.dyndns.info[213.107.133.168]:80
      remotever.txt 100% |*****************************| 2 00:00 ETA
      No Update Of Channel Needed
      With ver.txt file missing from DM

      Starting Updating the Channel List
      Detecting Dreambox Type
      DM500
      Enigma 1
      Please Waiting..Connecting to Server
      Connecting to kryten.dyndns.info[213.107.133.168]:80
      Connected to Server
      Version File Missing - Reloading Channel List
      Downloading Latest Channel List For Sky Digital UK
      Connecting to kryten.dyndns.info[213.107.133.168]:80
      e1.bq.tar.gz 100% |*****************************| 43698 00:00 ETA
      Completed Downloading Latest Channel List
      Extracting Latest Channel List Enigma 1
      Copying Latest Channel List Enigma 1
      Completed Latest Channel List Enigma 1
      Connecting to kryten.dyndns.info[213.107.133.168]:80
      remotever.txt 100% |*****************************| 2 00:00 ETA
      Please Wait...Refreshing Channel List
      +ok+okChannel List Refreshed
      with new version of bouquets

      Starting Updating the Channel List
      Detecting Dreambox Type
      DM500
      Enigma 1
      Please Waiting..Connecting to Server
      Connecting to kryten.dyndns.info[213.107.133.168]:80
      Connected to Server
      Connecting to kryten.dyndns.info[213.107.133.168]:80
      remotever.txt 100% |*****************************| 2 00:00 ETA
      New Version of Channel List Found..Updating
      Downloading Latest Channel List For Sky Digital UK
      Connecting to kryten.dyndns.info[213.107.133.168]:80
      e1.bq.tar.gz 100% |*****************************| 43698 00:00 ETA
      Completed Downloading Latest Channel List
      Extracting Latest Channel List Enigma 1
      Copying Latest Channel List Enigma 1
      Completed Latest Channel List Enigma 1
      Please Wait...Refreshing Channel List
      +ok+okChannel List Refreshed
      Process Complete
      Last edited by jfish; 5 March, 2011, 00:41.

      Comment

      • jfish
        DK Veteran
        • Sep 2008
        • 799

        #48
        if you have just downloaded the file I posted a few minustes ago, dont use this.. found a bug inside it and may cause some weird out of disk space error (not even sure why it happened) use this attached on
        Attached Files

        Comment

        • rossi2000
          Junior Member
          • Jun 2010
          • 37

          #49
          ah no probs i'll have a look some moire

          on the new script, there are no commands to reload enigma2 bouquet + lamedb, they are needed and as follows:-

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

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

          for the tar.gz creation

          i usually have my bouquets in enigma2 folder then i tar the folder up into enigma2.tar.gz
          what is the correct way to make a tar for your script? i know they are to be named e2.bq.tar.gz etc but what about inside the tar

          Last edited by rossi2000; 5 March, 2011, 00:28.

          Comment

          • jfish
            DK Veteran
            • Sep 2008
            • 799

            #50
            Originally posted by rossi2000
            ah no probs i'll have a look some moire

            on the new script, there are no commands to reload enigma2 bouquet + lamedb, they are needed and as follows:-

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

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

            for the tar.gz creation

            i usually have my bouquets in enigma2 folder then i tar the folder up into enigma2.tar.gz
            what is the correct way to make a tar for your script? i know they are to be named e2.bq.tar.gz etc but what about inside the tar
            thanks will add the bit to reload on enigma 2 box (I dont have a DM800 to test on - unless someone can donate me one)

            I use IZArc to create the file, noticed using 7Zip the tar.gz file wasnt recognised by the DM500.

            Comment

            • rossi2000
              Junior Member
              • Jun 2010
              • 37

              #51
              i can test its np heh

              i know about creating tars what i meant was
              inside the tar.gz do you just have bouquet files or a folder named bq and the files inside that? know what i mean?

              Comment

              • jfish
                DK Veteran
                • Sep 2008
                • 799

                #52
                another update

                this includes function to reload engima 2 bouquets
                Attached Files

                Comment

                • jfish
                  DK Veteran
                  • Sep 2008
                  • 799

                  #53
                  Originally posted by rossi2000
                  i can test its np heh

                  i know about creating tars what i meant was
                  inside the tar.gz do you just have bouquet files or a folder named bq and the files inside that? know what i mean?
                  no I dont retain the folder structure, the files are in a flat format - the script just moves the correct files to the correct location

                  I may look into having file structure within the tar.gz file and then moving the files/folders in one go - therefore not messing with moving individual files and probably make the code more efficient.

                  Comment

                  • rossi2000
                    Junior Member
                    • Jun 2010
                    • 37

                    #54
                    ah cool thx

                    also the e2 reload commands dont need the root:dreambox in there its just 127.0.0.1

                    Comment

                    • satsalot
                      Newbie
                      • Aug 2011
                      • 1

                      #55
                      @ Jfish

                      U r a legend mate! I have been trying to setup a script like this to use in CSP for a good 12 months.

                      Thankyou for your efforts

                      Cheers

                      Satsalot

                      Comment

                      • SGTFlipFlop
                        V.I.P. Member
                        • Sep 2009
                        • 1002

                        #56
                        Finally got round to doing this and I'm lost.

                        On a DM500 where does the file go? & where do you look to enable the update?

                        Same questions as above but for a DM800

                        Please help a script noob out

                        Comment

                        • RuberDuck
                          Banned
                          • Sep 2010
                          • 1724

                          #57
                          Originally posted by SGTFlipFlop
                          Finally got round to doing this and I'm lost.

                          On a DM500 where does the file go? & where do you look to enable the update?

                          Same questions as above but for a DM800

                          Please help a script noob out
                          the best two people i can think for you to have a word with would be rossi2000 of DBUK or DIGIDUDE of the DW forum.

                          or even give b16mcc a shout on DBUK.

                          Comment

                          • satsmo
                            V.I.P. Member
                            • Jun 2008
                            • 6397

                            #58
                            There are plenty of peeps here that write those specific scripts.
                            I refuse to answer that question on the grounds that I don't know the answer. - Douglas Adams

                            Comment

                            • SGTFlipFlop
                              V.I.P. Member
                              • Sep 2009
                              • 1002

                              #59
                              I'm running rossi's script at the moment, But I like the idea of a checking script to see what is the latest bouquets

                              Comment

                              • jfish
                                DK Veteran
                                • Sep 2008
                                • 799

                                #60
                                Originally posted by SGTFlipFlop
                                Finally got round to doing this and I'm lost.

                                On a DM500 where does the file go? & where do you look to enable the update?

                                Same questions as above but for a DM800

                                Please help a script noob out
                                if you mean where does the script go, you can place it anywhere on the dm .. I normally have it in /var/scripts on a dm500 and etc/scripts on a dm800

                                to run the update, you can do it via a cronjob and run the script once a day or if you know how, incorporate it in an image.

                                Comment

                                Working...