Permalink
Browse files

Ability to select color of video when hdmi source is off

  • Loading branch information...
1 parent 766dd70 commit bb908c6c708903774acb3bc70e365f6371621270 tociek committed May 18, 2016
Showing with 282 additions and 190 deletions.
  1. +3 −2 addon.py
  2. +1 −1 addon.xml
  3. +1 −0 changelog.txt
  4. +267 −183 hyperion.config.new
  5. +9 −3 resources/lib/HyperPyCon.py
  6. +1 −1 resources/lib/HyperionConfigSections.py
View
@@ -90,7 +90,7 @@
nol_horizontal = xbmcgui.Dialog().input("Select number of leds horizontally","29",xbmcgui.INPUT_NUMERIC)
nol_vertical = xbmcgui.Dialog().input("Select number of leds vertically","16",xbmcgui.INPUT_NUMERIC)
- if xbmcgui.Dialog().yesno(addonname, "Would you like to download recommended settings for the Lightberry you selected?"):
+ if xbmcgui.Dialog().yesno(addonname, "Would you like to download recommended settings for the Lightberry you selected? WARNING: that will overwrite your current addon settings!"):
try:
settingsxml = urllib2.urlopen("http://img.lightberry.eu/download/settings.xml-"+suffix).read()
f = open(addon_dir+"/resources/settings.xml","w")
@@ -112,7 +112,8 @@
hyperion_configuration.set_smoothing(addon.getSetting("smoothingType"),int(addon.getSetting("smoothingTime")),int(addon.getSetting("smoothingFreq")))
hyperion_configuration.set_blackborderdetection((addon.getSetting("bbdEnabled") == "true"), float(addon.getSetting("bbdThreshold")))
hyperion_configuration.set_grabber_video_standard(addon.getSetting("videoStandard"))
-
+ hyperion_configuration.set_grabber_signal_off(addon.getSetting("colorWhenSourceIsOff"))
+
options = ["Right/bottom corner and goes up","Left/bottom corner and goes up","Center/bottom and goes right","Center/bottom and goes left"]
selected_index = xbmcgui.Dialog().select("Select where the led chain starts:",options)
View
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<addon id="plugin.program.hyperion.configurator" name="Hyperion Config Creator" version="1.4.2" provider-name="tociek">
+<addon id="plugin.program.hyperion.configurator" name="Hyperion Config Creator" version="1.5.0" provider-name="tociek">
<requires>
<import addon="xbmc.python" version="2.14.0"/>
</requires>
View
@@ -7,3 +7,4 @@
1.4.0 Auto updater added..
1.4.1 Fix for OSMC
1.4.2 Removing hyperion installation for OSMC
+1.5.0 Color of video when grabber signal is off is now available in addon settings
Oops, something went wrong.

0 comments on commit bb908c6

Please sign in to comment.