Closed dagwieers closed 5 years ago
Merging #11 into master will increase coverage by
0.72%
. The diff coverage isn/a
.
@@ Coverage Diff @@
## master #11 +/- ##
==========================================
+ Coverage 87.59% 88.32% +0.72%
==========================================
Files 1 1
Lines 137 137
==========================================
+ Hits 120 121 +1
+ Misses 17 16 -1
Impacted Files | Coverage Δ | |
---|---|---|
screensaver.py | 88.32% <ø> (+0.72%) |
:arrow_up: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 6196e23...4c3433f. Read the comment docs.
From @ianmethyst in #9 Added option to turn off the screen on ODROID-C2, which is an SBC similar to a Raspberry Pi. Unfortunately, none of the methods that worked on an RPi with my monitor could be used with this device. The method added works similarly as the one used in
backlight-rpi
method (i.e. usingecho 0 > ...
orecho 1 > ...
on the corresponding file on sysfs). I replicated that one and changed the relevant parts.Maybe there should be a text somewhere linking to this page: How to turn off your monitor - ODROID-C2, because there is a kernel parameter that should be enabled in the boot config file. I'm using LibreELEC and the parameter was enabled by default, but there may be other distros where this has to be done manually.
I have no experience in Kodi add-on development, so if I missed something, just tell me and I'll see what can I do to improve it.
I hope someone finds this useful.