From c0fb32dd495ec7180ac03caf1cf0b09d51e4d0ee Mon Sep 17 00:00:00 2001 From: anxdpanic Date: Sat, 9 Sep 2023 12:16:18 +0000 Subject: [PATCH] [script.module.python.twitch] 3.0.2 --- script.module.python.twitch/addon.xml | 7 ++++--- .../language/resource.language.fr_fr/strings.po | 13 +++++++------ .../language/resource.language.it_it/strings.po | 4 ++-- .../resources/lib/twitch/api/helix/users.py | 8 +++----- 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/script.module.python.twitch/addon.xml b/script.module.python.twitch/addon.xml index 70a76475bb..c9173fc3ea 100644 --- a/script.module.python.twitch/addon.xml +++ b/script.module.python.twitch/addon.xml @@ -1,5 +1,5 @@ - + @@ -9,8 +9,7 @@ all -[fix] oauth queries -[lang] updated translations from Weblate +[fix] Following Channels resources/media/icon.png @@ -25,6 +24,7 @@ Module for interaction with the Twitch.tv API Módulo para interactuar con la API de Twitch.tv Moduuli Twitch.tv-rajapinnan käyttöön + Module pour interagir avec l'API de Twitch.tv Modul za interakciju s Twitch.tv API Modul a Twitch.tv API -val való interakcióhoz Modulo per l'interazione con l'API di Twitch.tv @@ -37,6 +37,7 @@ python-twitch for Kodi is module for interaction with the Twitch.tv API based on python-twitch by ingwinlu. python-twitch para Kodi es un módulo para interactuar con la API de Twitch.tv basado en python-twitch de ingwinlu. 'Python-twitch for Kodi' on Twitch.tv-palvelun rajapinnan hyödyntämisen mahdollistava moduuli, joka perustuu kehittäjän ingwinlu luomaan python-twitch-moduuliin. + python-twitch pour Kodi est un module pour interagir avec l'API Twitch.tv basé sur python-twitch de ingwinlu. python-twitch za Kodi je modul za interakciju s Twitch.tv API-jem temeljenom na python-twitch by ingwinlu. A python-twitch a Kodi számára a Twitch.tv API-val való interakció modulja, amely az ingwinlu python-twitch-jén alapul. python-twitch per Kodi è un modulo per l'interazione con l'API di Twitch.tv basato su python-twitch di ingwinlu. diff --git a/script.module.python.twitch/resources/language/resource.language.fr_fr/strings.po b/script.module.python.twitch/resources/language/resource.language.fr_fr/strings.po index e3b3c193ef..8ec67af4a7 100644 --- a/script.module.python.twitch/resources/language/resource.language.fr_fr/strings.po +++ b/script.module.python.twitch/resources/language/resource.language.fr_fr/strings.po @@ -1,24 +1,25 @@ msgid "" msgstr "" "Project-Id-Version: \n" -"Report-Msgid-Bugs-To: \n" +"Report-Msgid-Bugs-To: translations@kodi.tv\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 \n" +"Language-Team: French (France) \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 "" diff --git a/script.module.python.twitch/resources/language/resource.language.it_it/strings.po b/script.module.python.twitch/resources/language/resource.language.it_it/strings.po index 6df4175f8d..3d590cbbc8 100644 --- a/script.module.python.twitch/resources/language/resource.language.it_it/strings.po +++ b/script.module.python.twitch/resources/language/resource.language.it_it/strings.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: translations@kodi.tv\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 \n" "Language-Team: Italian \n" "Language: it_it\n" @@ -11,7 +11,7 @@ msgstr "" "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" diff --git a/script.module.python.twitch/resources/lib/twitch/api/helix/users.py b/script.module.python.twitch/resources/lib/twitch/api/helix/users.py index 8ce14c7f7f..4da035df98 100644 --- a/script.module.python.twitch/resources/lib/twitch/api/helix/users.py +++ b/script.module.python.twitch/resources/lib/twitch/api/helix/users.py @@ -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