Skip to content

Commit

Permalink
Merge pull request #14 from zim514/ambi
Browse files Browse the repository at this point in the history
Ambilight support
  • Loading branch information
Snapcase authored Jul 14, 2019
2 parents 3d43843 + ca2033a commit 52f329a
Show file tree
Hide file tree
Showing 18 changed files with 1,053 additions and 95 deletions.
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ Automate your [Hue lights](https://www.meethue.com/) on audio or video playback

## Credits:
- Based on original plugin by cees-elzinga, michaelrcarroll, mpolednik
- Uses Qhue by Quentin Stafford-Fraser - https://github.com/quentinsf/qhue
- Uses ssdp.py by dankrause https://gist.github.com/dankrause/6000248
<!--stackedit_data:
eyJoaXN0b3J5IjpbMTk0NjczODcxMSwtMTMwMTc0NzIyNV19
-->
- Qhue by Quentin Stafford-Fraser - https://github.com/quentinsf/qhue
- ssdp.py by dankrause https://gist.github.com/dankrause/6000248
- Colorgram.py by obskyr https://github.com/obskyr/colorgram.py
122 changes: 64 additions & 58 deletions script.service.hue/addon.xml
Original file line number Diff line number Diff line change
@@ -1,60 +1,66 @@
<addon id="script.service.hue" name="Hue Service" provider-name="zim514" version="0.4.2">

<requires>
<import addon="xbmc.python" version="2.26.0" />
<import addon="script.module.requests" version="2.22.0" />
<import addon="script.module.kodi-six" version="0.1.0" />
</requires>
<extension point="xbmc.service" name="service.hue" library="service.py" />
<extension point="xbmc.python.script" library="menu.py">
<provides>executable</provides>
</extension>
<extension point="xbmc.addon.metadata">
<platform>all</platform>
<license>MIT License</license>
<assets>
<icon>resources/icons/icon.png</icon>
<fanart>resources/icons/fanart.jpg</fanart>
<screenshot>resources/icons/fanart.jpg</screenshot>
</assets>
<source>https://github.com/zim514/script.service.hue</source>
<forum>https://forum.kodi.tv/showthread.php?tid=344886</forum>
<summary lang="en_GB">Automate Hue lights with Kodi playback</summary>
<description lang="en_GB">Automate your Philips Hue lights with Kodi. Create multi-room scenes that run when you Play, Pause or Stop media playback. Create and delete multi-room scenes from add-on settings then select which to apply for different Playback events. Can use Hue's sunrise and sunset times to automatically disable the service during daytime and turn on the lights at sunset during playback.</description>
<disclaimer lang="en_GB">Automate Hue lights with Kodi playback</disclaimer>
<news>
v0.4.1:
- Clean-up and improve settings dialogue
- Code style fixes
v0.4.1:
- Switch to kodi-six from future
v0.4.0:
- Add UPNP support
- Add activation schedule support
v0.3.7
- Fix crash at sunset
v0.3.6:
- Fix logging system crash
v0.3.5:
- Make media type detection more reliable
- Remove deprecated settings
- Change some settings to booleans
- Fix broken daytime settings
v0.3.2:
- Crash fix
v0.3.1:
- Crash fix
- Basic connection error handling
v0.3.0:
- Support different behaviours for different media types
v0.2.8:
- Python 2/3 support
v0.2.7:
- Support optional logging to external file
- Removed half translated French
v0.2.6:
- Improve logging system
</news>
</extension>
<addon id="script.service.hue" name="Hue Service"
provider-name="zim514" version="0.5.0">

<requires>
<import addon="xbmc.python" version="2.26.0" />
<import addon="script.module.requests" version="2.22.0" />
<import addon="script.module.kodi-six" version="0.1.0" />
<import addon="script.module.pil" />
</requires>
<extension point="xbmc.service" name="service.hue"
library="service.py" />
<extension point="xbmc.python.script" library="menu.py">
<provides>executable</provides>
</extension>
<extension point="xbmc.addon.metadata">
<platform>all</platform>
<license>MIT License</license>
<assets>
<icon>resources/icons/icon.png</icon>
<fanart>resources/icons/fanart.jpg</fanart>
<screenshot>resources/icons/fanart.jpg</screenshot>
</assets>
<source>https://github.com/zim514/script.service.hue</source>
<forum>https://forum.kodi.tv/showthread.php?tid=344886</forum>
<summary lang="en_GB">Automate Hue lights with Kodi playback</summary>
<description lang="en_GB">Automate your Philips Hue lights with Kodi. Create multi-room scenes that run when you Play, Pause or Stop media playback. Create and delete multi-room scenes from add-on settings then select which to apply for different Playback events. Can use Hue's sunrise and sunset times to automatically disable the service during daytime and turn on the lights at sunset during playback. Includes experimental Ambilight support. Check forum for more information.</description>
<disclaimer lang="en_GB">Automate Hue lights with Kodi playback
</disclaimer>
<news>
v0.5.0:
- Experimental Ambilight support. See Forum for more information
v0.4.2:
- Clean-up and improve settings dialogue
- Code style fixes
v0.4.1:
- Switch to kodi-six from future
v0.4.0:
- Add UPNP support
- Add activation schedule support
v0.3.7
- Fix crash at sunset
v0.3.6:
- Fix logging system crash
v0.3.5:
- Make media type detection more reliable
- Remove deprecated settings
- Change some settings to booleans
- Fix broken daytime settings
v0.3.2:
- Crash fix
v0.3.1:
- Crash fix
- Basic connection error handling
v0.3.0:
- Support different behaviours for different media types
v0.2.8:
- Python 2/3 support
v0.2.7:
- Support optional logging to external file
- Removed half translated French
v0.2.6:
- Improve logging system
</news>
</extension>
</addon>

Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,17 @@ msgctxt "#30515"
msgid "Stop Scene Enabled"
msgstr "Stop Scene Enabled"

msgctxt "#30521"
msgid "[B][I]Warning: Experimental[/B][/I]"
msgstr "[B][I]Warning: Experimental[/B][/I]"

msgctxt "#30522"
msgid "These settings impact system & Hue performance"
msgstr "These settings impact system & Hue performance"

msgctxt "#30523"
msgid "Ambilight"
msgstr "Ambilight"

msgctxt "#32101"
msgid "Advanced"
Expand Down Expand Up @@ -366,3 +377,45 @@ msgstr ""
msgctxt "#30052"
msgid "Invalid start or end time, schedule disabled"
msgstr ""

msgctxt "#30053"
msgid "Hue Calls/sec (max 10): {}"
msgstr ""

msgctxt "#30054"
msgid "Est. Hue Calls/sec (max 10): {}"
msgstr ""

msgctxt "#30055"
msgid "Brightness"
msgstr "Brightness"

msgctxt "#30056"
msgid "Adjust brightness on start"
msgstr "Adjust brightness on start"

msgctxt "#30057"
msgid "Force on"
msgstr "Force on"

msgctxt "#30058"
msgid "Light Names:"
msgstr "Light Names:"

msgctxt "#30059"
msgid "Light Gamut:"
msgstr "Light Gamut:"

msgctxt "#30060"
msgid "RGB Blacks filter"
msgstr "RGB Blacks filter"

msgctxt "#30061"
msgid "RGB Whites filter"
msgstr "RGB Whites filter"

msgctxt "#30062"
msgid "Colour Filters"
msgstr "Colour filters"


Loading

0 comments on commit 52f329a

Please sign in to comment.