mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Gold linker, CCache, Stats, LGTM
- Increases linker performance under Linux builds by using Gold linker, if available - ccache is used if available - removed statistic class (Stats.cpp) from project due to the missing result (sorry @Brindosch) - add LGTM bandges for code analysis overview Signed-off-by: Paulchen-Panther <Paulchen-Panter@protonmail.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import os, hyperion, time
|
||||
import hyperion, time
|
||||
|
||||
# Get the parameters
|
||||
imageFile = hyperion.args.get('image')
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import hyperion, time, colorsys
|
||||
import hyperion, time
|
||||
|
||||
# Get the parameters
|
||||
speed = float(hyperion.args.get('speed', 1.0))
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import hyperion, time, colorsys
|
||||
import hyperion, time
|
||||
from random import randint
|
||||
|
||||
#get args
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import hyperion, time, colorsys, random
|
||||
import hyperion, time
|
||||
|
||||
# get options from args
|
||||
sleepTime = float(hyperion.args.get('speed', 1.5)) * 0.005
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import hyperion, time, math, random
|
||||
import hyperion, time, random
|
||||
|
||||
# Convert x/y (0.0 - 1.0) point to proper int values based on Hyperion image width/height
|
||||
# Or get a random value
|
||||
|
@@ -39,7 +39,7 @@ diag = int(diag*1.3)
|
||||
# calc positions
|
||||
pos = 0
|
||||
step = int(255/len(colors))
|
||||
for entry in colors:
|
||||
for _ in colors:
|
||||
positions.append(pos)
|
||||
pos += step
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import hyperion, time, colorsys
|
||||
import hyperion, time
|
||||
|
||||
# Get the parameters
|
||||
sleepTime = float(hyperion.args.get('sleepTime', 1000))/1000.0
|
||||
|
Reference in New Issue
Block a user