Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[script.module.python.twitch@nexus] 3.0.2 #2519

Merged
merged 1 commit into from
Sep 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions script.module.python.twitch/addon.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="script.module.python.twitch" name="python-twitch for Kodi" version="3.0.1" provider-name="anxdpanic, A Talented Community">
<addon id="script.module.python.twitch" name="python-twitch for Kodi" version="3.0.2" provider-name="anxdpanic, A Talented Community">
<requires>
<import addon="xbmc.python" version="3.0.1"/>
<import addon="script.module.six" version="1.11.0"/>
Expand All @@ -9,8 +9,7 @@
<extension point="xbmc.addon.metadata">
<platform>all</platform>
<news>
[fix] oauth queries
[lang] updated translations from Weblate
[fix] Following Channels
</news>
<assets>
<icon>resources/media/icon.png</icon>
Expand All @@ -25,6 +24,7 @@
<summary lang="en_GB">Module for interaction with the Twitch.tv API</summary>
<summary lang="es_ES">Módulo para interactuar con la API de Twitch.tv</summary>
<summary lang="fi_FI">Moduuli Twitch.tv-rajapinnan käyttöön</summary>
<summary lang="fr_FR">Module pour interagir avec l&apos;API de Twitch.tv</summary>
<summary lang="hr_HR">Modul za interakciju s Twitch.tv API</summary>
<summary lang="hu_HU">Modul a Twitch.tv API -val való interakcióhoz</summary>
<summary lang="it_IT">Modulo per l&apos;interazione con l&apos;API di Twitch.tv</summary>
Expand All @@ -37,6 +37,7 @@
<description lang="en_GB">python-twitch for Kodi is module for interaction with the Twitch.tv API based on python-twitch by ingwinlu.</description>
<description lang="es_ES">python-twitch para Kodi es un módulo para interactuar con la API de Twitch.tv basado en python-twitch de ingwinlu.</description>
<description lang="fi_FI">&apos;Python-twitch for Kodi&apos; on Twitch.tv-palvelun rajapinnan hyödyntämisen mahdollistava moduuli, joka perustuu kehittäjän ingwinlu luomaan python-twitch-moduuliin.</description>
<description lang="fr_FR">python-twitch pour Kodi est un module pour interagir avec l&apos;API Twitch.tv basé sur python-twitch de ingwinlu.</description>
<description lang="hr_HR">python-twitch za Kodi je modul za interakciju s Twitch.tv API-jem temeljenom na python-twitch by ingwinlu.</description>
<description lang="hu_HU">A python-twitch a Kodi számára a Twitch.tv API-val való interakció modulja, amely az ingwinlu python-twitch-jén alapul.</description>
<description lang="it_IT">python-twitch per Kodi è un modulo per l&apos;interazione con l&apos;API di Twitch.tv basato su python-twitch di ingwinlu.</description>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,24 +1,25 @@
msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"Report-Msgid-Bugs-To: [email protected]\n"
"POT-Creation-Date: 2016-09-18 00:54+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"PO-Revision-Date: 2023-07-18 17:11+0000\n"
"Last-Translator: skypichat <[email protected]>\n"
"Language-Team: French (France) <https://kodi.weblate.cloud/projects/kodi-add-ons-scripts/script-module-python-twitch/fr_fr/>\n"
"Language: fr_fr\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.18.2\n"

msgctxt "Addon Summary"
msgid "Module for interaction with the Twitch.tv API"
msgstr ""
msgstr "Module pour interagir avec l'API de Twitch.tv"

msgctxt "Addon Description"
msgid "python-twitch for Kodi is module for interaction with the Twitch.tv API based on python-twitch by ingwinlu."
msgstr ""
msgstr "python-twitch pour Kodi est un module pour interagir avec l'API Twitch.tv basé sur python-twitch de ingwinlu."

# msgctxt "#30000"
# msgid ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: [email protected]\n"
"POT-Creation-Date: 2016-09-18 00:54+0000\n"
"PO-Revision-Date: 2022-08-15 22:34+0000\n"
"PO-Revision-Date: 2023-04-24 04:16+0000\n"
"Last-Translator: Massimo Pissarello <[email protected]>\n"
"Language-Team: Italian <https://kodi.weblate.cloud/projects/kodi-add-ons-scripts/script-module-python-twitch/it_it/>\n"
"Language: it_it\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.13\n"
"X-Generator: Weblate 4.15.2\n"

msgctxt "Addon Summary"
msgid "Module for interaction with the Twitch.tv API"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,10 @@ def get_users(user_id=list(), user_login=list(), use_app_token=False):

# required scope: none
@query
def get_follows(from_id='', to_id='', after='MA==', before='MA==', first=20, use_app_token=False):
q = Qry('users/follows', use_app_token=use_app_token)
q.add_param(keys.FROM_ID, from_id, '')
q.add_param(keys.TO_ID, to_id, '')
def get_follows(user_id='', after='MA==', first=20, use_app_token=False):
q = Qry('channels/followed', use_app_token=use_app_token)
q.add_param(keys.USER_ID, user_id, '')
q.add_param(keys.AFTER, Cursor.validate(after), 'MA==')
q.add_param(keys.BEFORE, Cursor.validate(before), 'MA==')
q.add_param(keys.FIRST, IntRange(1, 100).validate(first), 20)

return q
Expand Down
Loading