Seite 2 von 5 ErsteErste 1234 ... LetzteLetzte
Ergebnis 11 bis 20 von 47
  1. #11
    Senior Mitglied Avatar von s3n0
    Registriert seit
    02.01.2017
    Ort
    Slovakia
    Beiträge
    1.460
    Thanks (gegeben)
    91
    Thanks (bekommen)
    418
    Total Downloaded
    323,0 KB
    Total Downloaded
    323,0 KB
    ReceiverDanke
    Box 1:
    Vu+ Zero 4K
     
     
    Box 2:
    Vu+ Solo SE V2
     
     
    Box 3:
    Formuer F4-TURBO
     
     
    No problem:
    Code:
    root@vusolose:/tmp# wget -O SNP_Picon_Updater.sh --no-check-certificate https://raw.githubusercontent.com/davesayers2014/Picon/ATV_6.3/SNP_Picons/Dsayers_SNP_Picon_Updater.sh
    
    --2019-01-21 16:13:18--  https://raw.githubusercontent.com/davesayers2014/Picon/ATV_6.3/SNP_Picons/Dsayers_SNP_Picon_Updater.sh
    Resolving raw.githubusercontent.com... 151.101.112.133
    Connecting to raw.githubusercontent.com|151.101.112.133|:443... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 1782 (1,7K) [text/plain]
    Saving to: ‘SNP_Picon_Updater.sh’
    
    SNP_Picon_Updater.sh                    100%[===============================================================================>]   1,74K  --.-KB/s    in 0s
    
    2019-01-21 16:13:18 (33,7 MB/s) - ‘SNP_Picon_Updater.sh’ saved [1782/1782]
    
    root@vusolose:/tmp#
    BTW there's still a bug in what you sent, you know about that ?
    I mean a space in the first line in the script-type declaration.
    I would write a download-script as follows:
    Code:
    #!/bin/bash
    
    unset LD_PRELOAD
    if [ ! -d /usr/script ]; then mkdir /usr/script; fi
    wget -O /usr/script/SNP_Picon_Updater.sh --no-check-certificate https://raw.githubusercontent.com/davesayers2014/Picon/ATV_6.3/SNP_Picons/Dsayers_SNP_Picon_Updater.sh
    chmod +x /usr/script/SNP_Picon_Updater.sh && sh /usr/script/SNP_Picon_Updater.sh

    •   Alt Advertising

       

  2. #12
    Senior Mitglied
    Registriert seit
    30.08.2016
    Beiträge
    131
    Thanks (gegeben)
    37
    Thanks (bekommen)
    23
    Themenstarter
    Total Downloaded
    0
    Total Downloaded
    0
    ReceiverDanke
    Zitat Zitat von s3n0 Beitrag anzeigen
    No problem:
    Code:
    root@vusolose:/tmp# wget -O SNP_Picon_Updater.sh --no-check-certificate https://raw.githubusercontent.com/davesayers2014/Picon/ATV_6.3/SNP_Picons/Dsayers_SNP_Picon_Updater.sh
    
    --2019-01-21 16:13:18--  https://raw.githubusercontent.com/davesayers2014/Picon/ATV_6.3/SNP_Picons/Dsayers_SNP_Picon_Updater.sh
    Resolving raw.githubusercontent.com... 151.101.112.133
    Connecting to raw.githubusercontent.com|151.101.112.133|:443... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 1782 (1,7K) [text/plain]
    Saving to: ‘SNP_Picon_Updater.sh’
    
    SNP_Picon_Updater.sh                    100%[===============================================================================>]   1,74K  --.-KB/s    in 0s
    
    2019-01-21 16:13:18 (33,7 MB/s) - ‘SNP_Picon_Updater.sh’ saved [1782/1782]
    
    root@vusolose:/tmp#
    BTW there's still a bug in what you sent, you know about that ?
    I mean a space in the first line in the script-type declaration.
    Im sorry im not what you mean first line in the script-type declaration.

    I dont need the script in usr/script it downloads to home/root runs them from there. I have a plugin that downloads and runs the script when needed Picon/enigma2-plugin-extensions-dsayers-piconupdater_0.2_all.ipk at master * davesayers2014/Picon * GitHub Although im going to have to re do the plugin to accommodate for ATV 6.3

  3. #13
    Senior Mitglied Avatar von s3n0
    Registriert seit
    02.01.2017
    Ort
    Slovakia
    Beiträge
    1.460
    Thanks (gegeben)
    91
    Thanks (bekommen)
    418
    Total Downloaded
    323,0 KB
    Total Downloaded
    323,0 KB
    ReceiverDanke
    Box 1:
    Vu+ Zero 4K
     
     
    Box 2:
    Vu+ Solo SE V2
     
     
    Box 3:
    Formuer F4-TURBO
     
     
    You have a mistake on the first line of your bash / sh script. There is a gap here:
    Code:
    #! /bin/bash
    However, the correct is:
    Code:
    #!/bin/bash
    ...or...
    Code:
    #!/bin/sh
    In the case of Enigma it does not matter whether you use sh or bash, because in the weakened linux edition used in Enigma it does not matter, it is almost the same and there are only slight differences that no administrator uses. I prefer "sh" instead of "bash".

    The "/usr/script" directory is normally used in OpenATV for user scripts ! I recommend using it. For example, if you need OpenATV backups, you can also keep this directory with your own scripts by default. Therefore, I recommend using this directory specifically.

    And also these sh / bash scripts in the "/usr/script" directory can be added directly below any RCU key (Configuration via MENU in OpenATV). Then, you can call the sh / bash script one by pressing the RCU button.

    Additionally, if you do not declare a path to the target in "wget", then the file will be downloaded to the current folder ! This may vary depending on what your bash script is running for downloading the file ! It is therefore better to specify a direct download component in "wget".

    When you already have trouble downloading the file, why not use "curl" ? He is much better !
    Code:
    opkg update && opkg list | grep curl
    Still, unfortunately, I do not understand exactly where your problem is and what exactly do you really want to do in your set top box .

  4. Thanks dsayers2014 bedankten sich
  5. #14
    Senior Mitglied
    Registriert seit
    30.08.2016
    Beiträge
    131
    Thanks (gegeben)
    37
    Thanks (bekommen)
    23
    Themenstarter
    Total Downloaded
    0
    Total Downloaded
    0
    ReceiverDanke
    I will have a look at the space. Thanks.

    My picon updater plugin has 2 scripts

    1st
    SNP_Picon_Updater.sh

    inside that script it has

    Code:
    #! /bin/bash -
    unset LD_PRELOAD
    
    wget -O SNP_Picon_Updater.sh https://raw.githubusercontent.com/davesayers2014/Picon/master/SNP_Picons/Dsayers_SNP_Picon_Updater.sh >/dev/null 2>&1
    chmod +x SNP_Picon_Updater.sh && ./SNP_Picon_Updater.sh
    2nd
    SRP_Picon_Updater.sh

    Inside that script it has
    Code:
    #! /bin/bash -
    unset LD_PRELOAD
    
    wget -O SRP_Picon_Updater.sh https://tinyurl.com/y9v352f2 >/dev/null 2>&1
    chmod +x SRP_Picon_Updater.sh && ./SRP_Picon_Updater.sh
    These download and run the chosen script to download the picons from my github branch. This is just a general plugin for users to update picons and worked fine till ATV 6.3 was released.

    Downloading to usr/script would be no good if I update the script on my github branch the plugin should download the latest script for you.

  6. #15
    Senior Mitglied Avatar von s3n0
    Registriert seit
    02.01.2017
    Ort
    Slovakia
    Beiträge
    1.460
    Thanks (gegeben)
    91
    Thanks (bekommen)
    418
    Total Downloaded
    323,0 KB
    Total Downloaded
    323,0 KB
    ReceiverDanke
    Box 1:
    Vu+ Zero 4K
     
     
    Box 2:
    Vu+ Solo SE V2
     
     
    Box 3:
    Formuer F4-TURBO
     
     
    Ok, but above all, drop the spaces from the first line in Bash scripts. It does not belong there. You can find more info on google ... for example:
    Bash Script : what does #!/bin/bash mean? - Stack Overflow
    What is #!/bin/bash in shell scripting? What is the difference between /bin/sh and /bin/bash? Why do some times, the shell script works without the lines? - Quora
    BASH Programming - Introduction HOW-TO: Misc

    I also work on picons updater (enigma2 plugin), but it's still not finished . I do not have enough free time to create a plugin. Plugin is for downloading and updating required SRP picons found in userbouquet files. I want to add extra feature into plugin, for supporting the SNP picons, using the lamedb file as a translation table (sRefCode <-> sRefName - the algorithm is already done for this but is not yet implemented in the plugin code). Also, the variation of all picon combinations is not yet solved (for example, some picon colors do not exist for all resolutions).

    I have not published the IPK package anywhere. So the plugin is only for my own use. But the plugin still works. I do not know if the plugin will officially published (at GitHub as example). I do not even have the permission from the picon author (picons used in the plugin) and also downloading the data from the google.drive code (html code) is not in line with google rules I think ^^.

    If you want, try:
    Code:
    cd /tmp
    wget http://aion.webz.cz/s3n0-picons-updater/enigma2-plugin-extensions-s3n0-picons-updater_1.0.190117_all.ipk
    opkg install enigma2-plugin-extensions-s3n0-picons-updater_1.0.190117_all.ipk

  7. Thanks dsayers2014 bedankten sich
  8. #16
    Senior Mitglied
    Registriert seit
    30.08.2016
    Beiträge
    131
    Thanks (gegeben)
    37
    Thanks (bekommen)
    23
    Themenstarter
    Total Downloaded
    0
    Total Downloaded
    0
    ReceiverDanke
    Ive solved issues with script next issue is opkg install thats not in script

    i.e
    Code:
    opkg install --force-reinstall "https://github.com/su1s/e2m3u2bouquet/releases/download/v0.8.2/enigma2-plugin-extensions-e2m3u2bouquet_0.8.2_all.ipk"

  9. #17
    Senior Mitglied Avatar von s3n0
    Registriert seit
    02.01.2017
    Ort
    Slovakia
    Beiträge
    1.460
    Thanks (gegeben)
    91
    Thanks (bekommen)
    418
    Total Downloaded
    323,0 KB
    Total Downloaded
    323,0 KB
    ReceiverDanke
    Box 1:
    Vu+ Zero 4K
     
     
    Box 2:
    Vu+ Solo SE V2
     
     
    Box 3:
    Formuer F4-TURBO
     
     
    What exactly does the error message appear ?

  10. #18
    Senior Mitglied
    Registriert seit
    30.08.2016
    Beiträge
    131
    Thanks (gegeben)
    37
    Thanks (bekommen)
    23
    Themenstarter
    Total Downloaded
    0
    Total Downloaded
    0
    ReceiverDanke
    Looks like its installed fine.

    For some reason I was getting the same errors as I was having on post 1 with opkg install picons wget returned 5 but today it seems fine.
    Geändert von dsayers2014 (23.01.2019 um 20:29 Uhr)

  11. #19
    Senior Mitglied Avatar von s3n0
    Registriert seit
    02.01.2017
    Ort
    Slovakia
    Beiträge
    1.460
    Thanks (gegeben)
    91
    Thanks (bekommen)
    418
    Total Downloaded
    323,0 KB
    Total Downloaded
    323,0 KB
    ReceiverDanke
    Box 1:
    Vu+ Zero 4K
     
     
    Box 2:
    Vu+ Solo SE V2
     
     
    Box 3:
    Formuer F4-TURBO
     
     
    Maybe a problem with your Internet connection ?
    You can try "wget" and then install IPK package... why not ?
    A single row can be used with &&:
    Code:
    wget -O /tmp/installer.ipk https://github...................ipk && opkg install --force-reinstall /tmp/installer.ipk

  12. Thanks dsayers2014 bedankten sich
  13. #20
    Senior Mitglied
    Registriert seit
    30.08.2016
    Beiträge
    131
    Thanks (gegeben)
    37
    Thanks (bekommen)
    23
    Themenstarter
    Total Downloaded
    0
    Total Downloaded
    0
    ReceiverDanke
    Edit I realised yesterday I was messing around with wgetrc this downloaded a .wgetrc file to home/root inside .wgetrc is check_certificate = off


    This file isnt installed by default so I deleted it and now can re create the error.


    Command used
    Code:
    opkg install --force-reinstall "https://github.com/su1s/e2m3u2bouquet/releases/download/v0.8.2/enigma2-plugin-extensions-e2m3u2bouquet_0.8.2_all.ipk"
    Code:
    root@vuuno4k:~# opkg install --force-reinstall "https://github.com/su1s/e2m3u2bouquet/releases/download/v0.8.2/enigma2-plugin-extensions-e2m3u2bouquet_0.8.2_all.ipk"
    Downloading https://github.com/su1s/e2m3u2bouquet/releases/download/v0.8.2/enigma2-plugin-extensions-e2m3u2bouquet_0.8.2_all.ipk.
    Collected errors:
     * opkg_download_backend: Failed to download https://github.com/su1s/e2m3u2bouquet/releases/download/v0.8.2/enigma2-plugin-extensions-e2m3u2bouquet_0.8.2_all.ipk, wget returned 5.


Seite 2 von 5 ErsteErste 1234 ... LetzteLetzte

Stichworte

Lesezeichen

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •  
Alle Zeitangaben in WEZ +1. Es ist jetzt 19:21 Uhr.
Powered by vBulletin® Version 4.2.5 (Deutsch)
Copyright ©2024 Adduco Digital e.K. und vBulletin Solutions, Inc. Alle Rechte vorbehalten.
Resources saved on this page: MySQL 5,56%
Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)
vBulletin Skin By: PurevB.com