Custom update Channel for S905/S905X


  • Why did you want that?


    Without it, you still need to manually check if an update is available.
    Not taking anything away from the advancement achieved by this custom channel , of course.


    I Have an addon that you can set a notification to tell your family that there is an update for their box??


    Are you able to share that addon? Sounds like the 'icing on the cake' :D


  • Without it, you still need to manually check if an update is available.
    Not taking anything away from the advancement achieved by this custom channel , of course.


    Are you able to share that addon? Sounds like the 'icing on the cake' :D

    Of Course. I thought it was best to share it in a new thread. thread-7999.html


  • Of Course


    Thanks


    Without it, you still need to manually check if an update is available.


    Sadly, with this addon we still need to do this - but very promising as, between the two of these advancements, I'm sure we're not too far off a complete auto-update :)

    Edited once, last by Poida (May 3, 2017 at 1:16 PM).

  • Quote


    { "LibreELEC-8.0": { "url": "http://kszaq.libreelec.tv/", "prettyname_regex": "^[0-9a-z]*\\/[0-9a-z.]*\\/LibreELEC-.*-([0-9]+\\.[0-9]+\\.[^.]*)", "project": {
    Warning: file_get_contents(): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /var/www/kodi/updateAll.php on line 37
    "S905.arm": { "displayName": "Amlogic S905", "releases": { } } , "S805.arm": { "displayName": "Amlogic S805", "releases": { "0": { "image": { "sha256": "9a47f4c49f558ef24b4f49262b4e3565011c85a8b9a67aa583fcbc4f4e87e35b", "name": "s805/8.0.1b/LibreELEC-S805.arm-8.0-8.0.1b-HD18Q.img.gz", "size": "122548364" }, "file": { "sha256": "964e0928dca8660dfe35e6642b4cb7b94aadc41807106fbea4da6d1ad7a91a08", "name": "s805/8.0.1b/LibreELEC-S805.arm-8.0-8.0.1b-HD18Q.tar", "size": "135639040" } }, "1": { "image": { "sha256": "9a47f4c49f558ef24b4f49262b4e3565011c85a8b9a67aa583fcbc4f4e87e35b", "name": "s805/8.0.1b/LibreELEC-S805.arm-8.0-8.0.1b-MXQ.img.gz", "size": "122548364" }, "file": { "sha256": "964e0928dca8660dfe35e6642b4cb7b94aadc41807106fbea4da6d1ad7a91a08", "name": "s805/8.0.1b/LibreELEC-S805.arm-8.0-8.0.1b-MXQ.tar", "size": "135639040" } }, "2": { "image": { "sha256": "9a47f4c49f558ef24b4f49262b4e3565011c85a8b9a67aa583fcbc4f4e87e35b", "name": "s805/8.0.1b/LibreELEC-S805.arm-8.0-8.0.1b-m201d.img.gz", "size": "122548364" }, "file": { "sha256": "964e0928dca8660dfe35e6642b4cb7b94aadc41807106fbea4da6d1ad7a91a08", "name": "s805/8.0.1b/LibreELEC-S805.arm-8.0-8.0.1b-m201d.tar", "size": "135639040" } } } } , "S912.arm": { "displayName": "Amlogic S912", "releases": { "0": { "image": { "sha256": "9a47f4c49f558ef24b4f49262b4e3565011c85a8b9a67aa583fcbc4f4e87e35b", "name": "s912/8.0.1j-experimental/LibreELEC-S912.arm-8.0-8.0.1j-experimental.img.gz", "size": "122548364" }, "file": { "sha256": "964e0928dca8660dfe35e6642b4cb7b94aadc41807106fbea4da6d1ad7a91a08", "name": "s912/8.0.1j-experimental/LibreELEC-S912.arm-8.0-8.0.1j-experimental.tar", "size": "135639040" } } } } } } }

    Line 18 doesn't match 8.0.1k-rc2 and requires change to

    Code
    preg_match_all("/[0-9]+\.+[0-9]+\.+[0-9][a-z]-?[a-z0-9]*/", $c, $versions);

    However, I wrote an update server which runs on the LibreELEC box itself:

    Code
    wget https://gist.github.com/anonymous/87cbb357e82ca3eea1dd0f63ab3afbde/raw/a56d459e422f5021b633f59901797613fc3218b5/.updatejsond.py -O /storage/.updatejsond.py
    echo "(python /storage/.updatejsond.py)&">> /storage/.config/autostart.sh
    reboot

    The custom update channels are reachable at 'http://localhost:8083/s805-HD18Q', 'http://localhost:8083/s805-MXQ', 'http://localhost:8083/s805-m201d', 'http://localhost:8083/s905' and 'http://localhost:8083/s912'.

    Edited once, last by Yieeaah (May 14, 2017 at 9:16 PM).

  • I've also tried all 3 links mentioned here on my MXQ Pro 4k (S905), and I'm getting "Invalid URL" after entering any/all of them. That said, I've never used this feature before (fairly new to LibreElec), so if it involves more than turning on manual updates, turning on custom channels, and entering the url(s) for the custom channels, I may be doing it wrong.

  • Code
    wget https://gist.github.com/anonymous/87cbb357e82ca3eea1dd0f63ab3afbde/raw/a56d459e422f5021b633f59901797613fc3218b5/.updatejsond.py -O /storage/.updatejsond.py
    echo "(python /storage/.updatejsond.py)&">> /storage/.config/autostart.sh
    reboot

    The custom update channels are reachable at 'http://localhost:8083/s805-HD18Q', 'http://localhost:8083/s805-MXQ', 'http://localhost:8083/s805-m201d', 'http://localhost:8083/s905' and 'http://localhost:8083/s912'.

    Thanks, i've tried this and seems to work great so far
    Francesco

  • I was using this for a while just fine. Now, when I check for the updates I only get a blank box. I tried adding the address again and I also get 'Invalid URL" as others have. Would you be gracious enough to let us know if the address changed or if the .php filename changed. I'd like to have this one working. I currently switched to the other members version though.

  • I checked the channel links on my laptop and it looks like the address for updating has changed slightly.
    If anyone else is having trouble and want to get updates working again on the Android box you have to change channel 1.

    Original: update.php
    New: https://qwerin.cz/kodi/updateAll.php/

    I made this change and now I can update again.
    Note that the change is case sensitive, it must be capital A in 'All'.

  • I like Yieeaah's solution better... as long as kszaq does not change url it will work whereas if qwerin changes things you are out of luck

  • I checked the channel links on my laptop and it looks like the address for updating has changed slightly.
    If anyone else is having trouble and want to get updates working again on the Android box you have to change channel 1.

    Original: update.php
    New: https://qwerin.cz/kodi/updateAll.php/

    I made this change and now I can update again.
    Note that the change is case sensitive, it must be capital A in 'All'.

    Thx. Finally update is working for me on KVim Pro. :)

  • [hr]

    I was using this for a while just fine. Now, when I check for the updates I only get a blank box. I tried adding the address again and I also get 'Invalid URL" as others have. Would you be gracious enough to let us know if the address changed or if the .php filename changed. I'd like to have this one working. I currently switched to the other members version though.


    I have a blank screen on System.
    How did you resolve?
    [hr]


    [hr]


    I have a blank screen on System.
    How did you resolve?

    resolved deleting the old custom channel in:
    Userdata/addon_data/service.libreelec.settings/oe_settings.xml

    Edited once, last by Danny182 (May 22, 2017 at 8:23 AM).