This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Script for installing Hyperion.NG release on LibreElec | |
# Examples of usage: | |
# Download and install latest Hyperion.NG release: libreelec.sh | |
# Download an specific Hyperion.NG release: libreelec.sh 2.0.0-alpha.6 | |
# Install an specific Hyperion.NG release tar.gz file: libreelec.sh /storage/deploy/Hyperion-2.0.0-alpha.7-Linux-armv7l.tar.gz | |
#Set welcome message | |
echo '*******************************************************************************' | |
echo 'This script will install Hyperion.NG on LibreELEC' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"buildinfo": [ | |
{ | |
"prerun": [ | |
"curl -sL https://github.com/hyperion-project/hyperion.ng/releases/download/2.0.0-alpha.9/Hyperion-2.0.0-alpha.9-Linux-x86_64.deb -o ~/.cache/deb2appimage/debs/hyperion.deb" | |
], | |
"name": "hyperion", | |
"version": "2.0.0-alpha.9", | |
"deps": "", | |
"repoarch": "amd64", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Script for compiling Hyperion.NG inside a Docker container on LibreElec (RPi) | |
# Fixed variables | |
DOCKER="docker" | |
# Set welcome message | |
echo '*******************************************************************************' | |
echo 'This script will compile Hyperion.NG inside a Docker container on LibreELEC' | |
echo 'Created by Paulchen-Panther - hyperion-project.org - the official Hyperion source.' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var cfg = { | |
"first": { | |
"label": "Habitat", | |
"children": ["water", "air", "ground"] | |
}, | |
"water": { | |
"title": "Animal", | |
"label": "In Water", | |
"children": ["fish", "squid", "crab"] | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma once | |
#include <string> | |
#include <stdlib.h> | |
// QT include | |
#include <QString> | |
#include <QJsonObject> | |
#include <QJsonValue> | |
#include <QJsonArray> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define USE_OCTOWS2811 | |
#include<OctoWS2811.h> | |
#include<FastLED.h> | |
// Led strip lengths, (0 if there is no strip): | |
#define STRIP_1 123 | |
#define STRIP_2 69 | |
#define STRIP_3 123 | |
#define STRIP_4 69 | |
#define STRIP_5 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.abrenoch.hyperiongrabber.wizard; | |
import android.content.Context; | |
import android.net.nsd.NsdManager; | |
import android.net.nsd.NsdServiceInfo; | |
import android.util.Log; | |
import java.util.ArrayList; | |
import java.util.HashSet; | |
import java.util.List; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from enum import Enum | |
from plugin import * | |
import time | |
import random | |
def onCompStateChangedAllEvents(comp, state): | |
log("onCompStateChangedAllEvents called") | |
def onCompStateChangedSpecificEvents(comp, state): | |
log("specific event " + comp + " called") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name" : "Fire 2012", | |
"script" : "fire2012.py", | |
"args" : | |
{ | |
"fps" : 60, | |
"cooling" : 55, | |
"sparking" : 120 | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from plugin import * | |
import time | |
def onCompStateChanged(comp, state): | |
print(comp, state) | |
def onSettingsChanged(settings): | |
None # or do somthing else with settings | |
log("Register callback functions ...") |
NewerOlder