Posts by Yieeaah

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