Skip to content

Commit f01d805

Browse files
committed
Prepare 1.0.0
1 parent 3a2d655 commit f01d805

File tree

18 files changed

+968
-2
lines changed

18 files changed

+968
-2
lines changed

.gitattributes

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Auto detect text files and perform LF normalization
2+
* text=auto
3+
4+
# Custom for Visual Studio
5+
*.cs diff=csharp
6+
7+
# Standard to msysgit
8+
*.doc diff=astextplain
9+
*.DOC diff=astextplain
10+
*.docx diff=astextplain
11+
*.DOCX diff=astextplain
12+
*.dot diff=astextplain
13+
*.DOT diff=astextplain
14+
*.pdf diff=astextplain
15+
*.PDF diff=astextplain
16+
*.rtf diff=astextplain
17+
*.RTF diff=astextplain

.gitignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Windows image file caches
2+
Thumbs.db
3+
ehthumbs.db
4+
5+
# Folder config file
6+
Desktop.ini
7+
8+
# python
9+
*.pyo

LICENSE.txt

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
The MIT License (MIT)
2+
Copyright (c) 2013-2019 hyperion-project, brindosch
3+
4+
Permission is hereby granted, free of charge, to any person obtaining a copy
5+
of this software and associated documentation files (the "Software"), to deal
6+
in the Software without restriction, including without limitation the rights
7+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8+
copies of the Software, and to permit persons to whom the Software is
9+
furnished to do so, subject to the following conditions:
10+
11+
The above copyright notice and this permission notice shall be included in
12+
all copies or substantial portions of the Software.
13+
14+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
20+
THE SOFTWARE.

README.md

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,25 @@
1-
# hyperion.control
2-
Kodi Addon for control Hyperion.
1+
# Hyperion Control
2+
Hyperion Control is an addon for Kodi Mediacenter that observes Kodi events (playing state, screensaver, ...). Based on these events you can control Hyperion components to enable or disable accordingly.
3+
4+
For example playing a video should enable screen capture, if you pause the video or you are at the Kodi menu the screen capture should be disabled to show a background effect as mood light
5+
6+
### Features
7+
- Supports various Hyperion components
8+
- Setup wizard with Hyperion Server detection (zero configuration)
9+
- Token Authorization (optional)
10+
- Languages: English, German
11+
- Debug option with notifications
12+
- Execute from settings dialog: Hyperion Server detection
13+
14+
### Installation
15+
- Download .zip from release page and use "Install from zip file" dialog at the Kodi addons section.
16+
- Download from the official Kodi Addon repository (NOT PUBLISHED)
17+
18+
### Possible Features
19+
- Track ip/port changes on startup and update accordingly (this works just if server detection was used to configure ip/port)
20+
21+
### Feedback
22+
- Please open a github issue with (detailed) feedback
23+
24+
### Credits
25+
- Dan Krause for the SSDP client

addon.xml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<addon id="script.service.hyperion-control" name="Hyperion Control" version="1.0.0" provider-name="hyperion-project, brindosch">
3+
<requires>
4+
<import addon="xbmc.addon" version="17.0.0"/>
5+
<import addon="xbmc.python" version="2.25.0"/>
6+
<import addon="script.module.simplejson" version="3.3.0"/>
7+
<import addon="script.module.httplib2" version="0.8.0"/>
8+
</requires>
9+
<extension point="xbmc.service" library="service.py" start="login">
10+
<provides>service</provides>
11+
</extension>
12+
<extension point="xbmc.addon.metadata">
13+
<summary lang="en">Control Hyperion Ambilight</summary>
14+
<summary lang="de">Hyperion Ambilight Steuerung</summary>
15+
<description lang="en">Enable and disable components (like capture) of Hyperion automatically based on playing/screensaver state of Kodi[CR]-Supports auto detection of Hyperion Servers[CR]-Token authentication</description>
16+
<description lang="de">Aktiviere und deaktiviere automatisch Hyperion Komponenten basierend auf dem aktuellen Kodi Status[CR]-Unterstützt Hyperion Server suche[CR]-Token Autorisierung</description>
17+
<disclaimer lang="en"></disclaimer>
18+
<language></language>
19+
<platform>all</platform>
20+
<license>MIT</license>
21+
<forum>https://forum.hyperion-project.org</forum>
22+
<website>https://www.hyperion-project.org</website>
23+
<email></email>
24+
<source>https://github.com/hyperion-project</source>
25+
<news>
26+
1.0.0
27+
- Added support for server search
28+
- Added support token authentication
29+
- Fixed issue where kodi api does not properly announce video playing states
30+
</news>
31+
<assets>
32+
<icon>resources/media/icon.png</icon>
33+
<fanart>resources/media/fanart.jpg</fanart>
34+
<screenshot>resources/media/fanart.jpg</screenshot>
35+
</assets>
36+
</extension>
37+
</addon>

resources/__init__.py

Whitespace-only changes.
Lines changed: 167 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,167 @@
1+
# Kodi Media Center language file
2+
# Addon Name: Hyperion Control
3+
# Addon id: script.service.hyperion-control
4+
# Addon Provider: hyperion-project
5+
6+
msgid ""
7+
msgstr ""
8+
"Project-Id-Version: Kodi Addons\n"
9+
"Report-Msgid-Bugs-To: hyperion-project.org\n"
10+
"Last-Translator: hyperion-project\n"
11+
"MIME-Version: 1.0\n"
12+
"Content-Type: text/plain; charset=UTF-8\n"
13+
"Content-Transfer-Encoding: 8bit\n"
14+
"Language: en\n"
15+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
16+
17+
msgctxt "#32000"
18+
msgid "General"
19+
msgstr ""
20+
21+
msgctxt "#32001"
22+
msgid "Hyperion IP"
23+
msgstr ""
24+
25+
msgctxt "#32002"
26+
msgid "Hyperion Webserver Port"
27+
msgstr ""
28+
29+
msgctxt "#32003"
30+
msgid "Switch automatically between 2D/3D"
31+
msgstr ""
32+
33+
msgctxt "#32004"
34+
msgid "Enable Hyperion on startup"
35+
msgstr ""
36+
37+
msgctxt "#32005"
38+
msgid "Disable Hyperion on shutdown"
39+
msgstr ""
40+
41+
msgctxt "#32006"
42+
msgid "Enable Debug"
43+
msgstr ""
44+
45+
msgctxt "#32007"
46+
msgid "Show changelog after update"
47+
msgstr ""
48+
49+
msgctxt "#32008"
50+
msgid "Authorization Token"
51+
msgstr ""
52+
53+
msgctxt "#32025"
54+
msgid "Component"
55+
msgstr ""
56+
57+
msgctxt "#32026"
58+
msgid "Enable the chosen component in these situations else disable it."
59+
msgstr ""
60+
61+
msgctxt "#32027"
62+
msgid "Hyperion component"
63+
msgstr ""
64+
65+
msgctxt "#32028"
66+
msgid "Enable during video playback"
67+
msgstr ""
68+
69+
msgctxt "#32029"
70+
msgid "Enable during music playback"
71+
msgstr ""
72+
73+
msgctxt "#32030"
74+
msgid "Enable during player pause"
75+
msgstr ""
76+
77+
msgctxt "#32031"
78+
msgid "Enable in Kodi menu"
79+
msgstr ""
80+
81+
msgctxt "#32032"
82+
msgid "Enable during active screensaver"
83+
msgstr ""
84+
85+
msgctxt "#32040"
86+
msgid "Platform Capture"
87+
msgstr ""
88+
89+
msgctxt "#32041"
90+
msgid "USB Capture"
91+
msgstr ""
92+
93+
msgctxt "#32042"
94+
msgid "LED Hardware"
95+
msgstr ""
96+
97+
msgctxt "#32043"
98+
msgid "Smoothing"
99+
msgstr ""
100+
101+
msgctxt "#32044"
102+
msgid "Blackborder detection"
103+
msgstr ""
104+
105+
msgctxt "#32045"
106+
msgid "Forwarder"
107+
msgstr ""
108+
109+
msgctxt "#32046"
110+
msgid "UDP Listener"
111+
msgstr ""
112+
113+
msgctxt "#32047"
114+
msgid "Boblight Server"
115+
msgstr ""
116+
117+
msgctxt "#32048"
118+
msgid "Hyperion"
119+
msgstr ""
120+
121+
msgctxt "#32100"
122+
msgid "Welcome to Hyperion Control"
123+
msgstr ""
124+
125+
msgctxt "#32101"
126+
msgid "Would you like to search for a Hyperion Server and adjust settings?"
127+
msgstr ""
128+
129+
msgctxt "#32102"
130+
msgid "Select a Hyperion Server, we found more than one"
131+
msgstr ""
132+
133+
msgctxt "#32103"
134+
msgid "We found the following Hyperion Server for usage"
135+
msgstr ""
136+
137+
msgctxt "#32104"
138+
msgid "We are sorry, no Hyperion Server has been found. You need to configure IP address and port by hand"
139+
msgstr ""
140+
141+
msgctxt "#32105"
142+
msgid "The Authorization Token isn't valid"
143+
msgstr ""
144+
145+
msgctxt "#32150"
146+
msgid "Execute"
147+
msgstr "Ausführen"
148+
149+
msgctxt "#32151"
150+
msgid "Execute a specific task you might need again.[CR]Select a task from the tasklist and press OK to close the settings dialog."
151+
msgstr ""
152+
153+
msgctxt "#32152"
154+
msgid "The addon will handle your request immediately.[CR]Be aware that the addon should be already enabled"
155+
msgstr ""
156+
157+
msgctxt "#32153"
158+
msgid "Tasklist"
159+
msgstr ""
160+
161+
msgctxt "#32154"
162+
msgid "No Task"
163+
msgstr ""
164+
165+
msgctxt "#32155"
166+
msgid "Search: Hyperion Server"
167+
msgstr ""

0 commit comments

Comments
 (0)