Skip to content

Commit

Permalink
Merge pull request #31 from AlwinEsch/Nexus-change
Browse files Browse the repository at this point in the history
[Nexus] API related update
  • Loading branch information
AlwinEsch authored Jan 1, 2022
2 parents fd55fe4 + bed066f commit 35c01ea
Show file tree
Hide file tree
Showing 70 changed files with 1,691 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/StarBurst.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ bool CVisualizationStarBurst::Start(int channels, int samplesPerSec, int bitsPer
(void)bitsPerSample;
(void)songName;

std::string fraqShader = kodi::GetAddonPath("resources/shaders/" GL_TYPE_STRING "/frag.glsl");
std::string vertShader = kodi::GetAddonPath("resources/shaders/" GL_TYPE_STRING "/vert.glsl");
std::string fraqShader = kodi::addon::GetAddonPath("resources/shaders/" GL_TYPE_STRING "/frag.glsl");
std::string vertShader = kodi::addon::GetAddonPath("resources/shaders/" GL_TYPE_STRING "/vert.glsl");
if (!LoadShaderFiles(vertShader, fraqShader) || !CompileAndLink())
{
kodi::Log(ADDON_LOG_ERROR, "Failed to create or compile shader");
Expand Down
2 changes: 1 addition & 1 deletion src/StarBurst.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ typedef enum _WEIGHT {
#define POLE4 737.86223*737.86223 // for A weighting
#define POLE5 158.5*158.5 // for B weighting

class ATTRIBUTE_HIDDEN CVisualizationStarBurst
class ATTR_DLL_LOCAL CVisualizationStarBurst
: public kodi::addon::CAddonBase,
public kodi::addon::CInstanceVisualization,
public kodi::gui::gl::CShaderProgram
Expand Down
10 changes: 9 additions & 1 deletion visualization.starburst/addon.xml.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<addon
id="visualization.starburst"
version="20.0.0"
version="20.1.0"
name="StarBurst"
provider-name="Team Kodi">
<requires>@ADDON_DEPENDS@</requires>
Expand All @@ -19,7 +19,15 @@
<screenshot>resources/fanart.jpg</screenshot>
<screenshot>resources/screenshot-02.jpg</screenshot>
</assets>
<summary lang="da_DK">StarBurst visualisering</summary>
<summary lang="de_DE">StarBurst-Visualisierung</summary>
<summary lang="en_GB">StarBurst visualizer</summary>
<summary lang="ko_KR">StarBurst 시각화</summary>
<summary lang="zh_CN">星暴可视化效果</summary>
<description lang="da_DK">Frekvens der får stjerner til at briste.</description>
<description lang="de_DE">Starburst-Frequenz.</description>
<description lang="en_GB">Frequency giving stars burst.</description>
<description lang="ko_KR">주파수가 별 터뜨림.</description>
<description lang="zh_CN">恒星爆发的频率。</description>
</extension>
</addon>
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Kodi Media Center language file
# Addon Name: StarBurst
# Addon id: visualization.starburst
# Addon Provider: Team Kodi
msgid ""
msgstr ""
"Project-Id-Version: KODI Addons\n"
"Report-Msgid-Bugs-To: https://github.com/xbmc/visualization.starburst/issues\n"
"POT-Creation-Date: YEAR-MO-DA HO:MI+ZONE\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"Language: af_za\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"

msgctxt "Addon Summary"
msgid "StarBurst visualizer"
msgstr ""

msgctxt "Addon Description"
msgid "Frequency giving stars burst."
msgstr ""
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Kodi Media Center language file
# Addon Name: StarBurst
# Addon id: visualization.starburst
# Addon Provider: Team Kodi
msgid ""
msgstr ""
"Project-Id-Version: KODI Addons\n"
"Report-Msgid-Bugs-To: https://github.com/xbmc/visualization.starburst/issues\n"
"POT-Creation-Date: YEAR-MO-DA HO:MI+ZONE\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"Language: am_et\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n > 1;\n"

msgctxt "Addon Summary"
msgid "StarBurst visualizer"
msgstr ""

msgctxt "Addon Description"
msgid "Frequency giving stars burst."
msgstr ""
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Kodi Media Center language file
# Addon Name: StarBurst
# Addon id: visualization.starburst
# Addon Provider: Team Kodi
msgid ""
msgstr ""
"Project-Id-Version: KODI Addons\n"
"Report-Msgid-Bugs-To: https://github.com/xbmc/visualization.starburst/issues\n"
"POT-Creation-Date: YEAR-MO-DA HO:MI+ZONE\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"Language: ar_sa\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 ? 4 : 5;\n"

msgctxt "Addon Summary"
msgid "StarBurst visualizer"
msgstr ""

msgctxt "Addon Description"
msgid "Frequency giving stars burst."
msgstr ""
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Kodi Media Center language file
# Addon Name: StarBurst
# Addon id: visualization.starburst
# Addon Provider: Team Kodi
msgid ""
msgstr ""
"Project-Id-Version: KODI Addons\n"
"Report-Msgid-Bugs-To: https://github.com/xbmc/visualization.starburst/issues\n"
"POT-Creation-Date: YEAR-MO-DA HO:MI+ZONE\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"Language: az_az\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"

msgctxt "Addon Summary"
msgid "StarBurst visualizer"
msgstr ""

msgctxt "Addon Description"
msgid "Frequency giving stars burst."
msgstr ""
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Kodi Media Center language file
# Addon Name: StarBurst
# Addon id: visualization.starburst
# Addon Provider: Team Kodi
msgid ""
msgstr ""
"Project-Id-Version: KODI Addons\n"
"Report-Msgid-Bugs-To: https://github.com/xbmc/visualization.starburst/issues\n"
"POT-Creation-Date: YEAR-MO-DA HO:MI+ZONE\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"Language: be_by\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"

msgctxt "Addon Summary"
msgid "StarBurst visualizer"
msgstr ""

msgctxt "Addon Description"
msgid "Frequency giving stars burst."
msgstr ""
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Kodi Media Center language file
# Addon Name: StarBurst
# Addon id: visualization.starburst
# Addon Provider: Team Kodi
msgid ""
msgstr ""
"Project-Id-Version: KODI Addons\n"
"Report-Msgid-Bugs-To: https://github.com/xbmc/visualization.starburst/issues\n"
"POT-Creation-Date: YEAR-MO-DA HO:MI+ZONE\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"Language: bg_bg\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"

msgctxt "Addon Summary"
msgid "StarBurst visualizer"
msgstr ""

msgctxt "Addon Description"
msgid "Frequency giving stars burst."
msgstr ""
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Kodi Media Center language file
# Addon Name: StarBurst
# Addon id: visualization.starburst
# Addon Provider: Team Kodi
msgid ""
msgstr ""
"Project-Id-Version: KODI Addons\n"
"Report-Msgid-Bugs-To: https://github.com/xbmc/visualization.starburst/issues\n"
"POT-Creation-Date: YEAR-MO-DA HO:MI+ZONE\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"Language: bs_ba\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"

msgctxt "Addon Summary"
msgid "StarBurst visualizer"
msgstr ""

msgctxt "Addon Description"
msgid "Frequency giving stars burst."
msgstr ""
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Kodi Media Center language file
# Addon Name: StarBurst
# Addon id: visualization.starburst
# Addon Provider: Team Kodi
msgid ""
msgstr ""
"Project-Id-Version: KODI Addons\n"
"Report-Msgid-Bugs-To: https://github.com/xbmc/visualization.starburst/issues\n"
"POT-Creation-Date: YEAR-MO-DA HO:MI+ZONE\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"Language: ca_es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"

msgctxt "Addon Summary"
msgid "StarBurst visualizer"
msgstr ""

msgctxt "Addon Description"
msgid "Frequency giving stars burst."
msgstr ""
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Kodi Media Center language file
# Addon Name: StarBurst
# Addon id: visualization.starburst
# Addon Provider: Team Kodi
msgid ""
msgstr ""
"Project-Id-Version: KODI Addons\n"
"Report-Msgid-Bugs-To: https://github.com/xbmc/visualization.starburst/issues\n"
"POT-Creation-Date: YEAR-MO-DA HO:MI+ZONE\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"Language: cs_cz\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"

msgctxt "Addon Summary"
msgid "StarBurst visualizer"
msgstr ""

msgctxt "Addon Description"
msgid "Frequency giving stars burst."
msgstr ""
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Kodi Media Center language file
# Addon Name: StarBurst
# Addon id: visualization.starburst
# Addon Provider: Team Kodi
msgid ""
msgstr ""
"Project-Id-Version: KODI Addons\n"
"Report-Msgid-Bugs-To: https://github.com/xbmc/visualization.starburst/issues\n"
"POT-Creation-Date: YEAR-MO-DA HO:MI+ZONE\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"Language: cy_gb\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=6; plural=(n==0) ? 0 : (n==1) ? 1 : (n==2) ? 2 : (n==3) ? 3 :(n==6) ? 4 : 5;\n"

msgctxt "Addon Summary"
msgid "StarBurst visualizer"
msgstr ""

msgctxt "Addon Description"
msgid "Frequency giving stars burst."
msgstr ""
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Kodi Media Center language file
# Addon Name: StarBurst
# Addon id: visualization.starburst
# Addon Provider: Team Kodi
msgid ""
msgstr ""
"Project-Id-Version: KODI Addons\n"
"Report-Msgid-Bugs-To: [email protected]\n"
"POT-Creation-Date: YEAR-MO-DA HO:MI+ZONE\n"
"PO-Revision-Date: 2021-10-27 00:19+0000\n"
"Last-Translator: Christian Gade <[email protected]>\n"
"Language-Team: Danish <https://kodi.weblate.cloud/projects/kodi-add-ons-look-and-feel/visualization-starburst/da_dk/>\n"
"Language: da_dk\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.8\n"

msgctxt "Addon Summary"
msgid "StarBurst visualizer"
msgstr "StarBurst visualisering"

msgctxt "Addon Description"
msgid "Frequency giving stars burst."
msgstr "Frekvens der får stjerner til at briste."
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Kodi Media Center language file
# Addon Name: StarBurst
# Addon id: visualization.starburst
# Addon Provider: Team Kodi
msgid ""
msgstr ""
"Project-Id-Version: KODI Addons\n"
"Report-Msgid-Bugs-To: [email protected]\n"
"POT-Creation-Date: YEAR-MO-DA HO:MI+ZONE\n"
"PO-Revision-Date: 2021-09-19 04:30+0000\n"
"Last-Translator: Kai Sommerfeld <[email protected]>\n"
"Language-Team: German <https://kodi.weblate.cloud/projects/kodi-add-ons-look-and-feel/visualization-starburst/de_de/>\n"
"Language: de_de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.8\n"

msgctxt "Addon Summary"
msgid "StarBurst visualizer"
msgstr "StarBurst-Visualisierung"

msgctxt "Addon Description"
msgid "Frequency giving stars burst."
msgstr "Starburst-Frequenz."
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Kodi Media Center language file
# Addon Name: StarBurst
# Addon id: visualization.starburst
# Addon Provider: Team Kodi
msgid ""
msgstr ""
"Project-Id-Version: KODI Addons\n"
"Report-Msgid-Bugs-To: https://github.com/xbmc/visualization.starburst/issues\n"
"POT-Creation-Date: YEAR-MO-DA HO:MI+ZONE\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"Language: el_gr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"

msgctxt "Addon Summary"
msgid "StarBurst visualizer"
msgstr ""

msgctxt "Addon Description"
msgid "Frequency giving stars burst."
msgstr ""
Loading

0 comments on commit 35c01ea

Please sign in to comment.