Fix correct naming of channels to uppercase

This commit is contained in:
Michaël Arnauts 2020-03-21 20:46:14 +01:00
parent 860d91fc51
commit c3ff578fac
9 changed files with 12 additions and 12 deletions

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="plugin.video.viervijfzes" name="Vier / Vijf / Zes" version="0.1.0" provider-name="Michaël Arnauts">
<addon id="plugin.video.viervijfzes" name="VIER / VIJF / ZES" version="0.1.0" provider-name="Michaël Arnauts">
<requires>
<import addon="xbmc.python" version="2.26.0"/>
<import addon="script.module.dateutil" version="2.6.0"/>

View File

@ -127,7 +127,7 @@ msgid "Credentials"
msgstr ""
msgctxt "#30801"
msgid "Vier/Vijf/Zes credentials"
msgid "Credentials"
msgstr ""
msgctxt "#30803"

View File

@ -128,8 +128,8 @@ msgid "Credentials"
msgstr "Inloggegevens"
msgctxt "#30801"
msgid "Vier/Vijf/Zes credentials"
msgstr "Vier/Vijf/Zes inloggegevens"
msgid "Credentials"
msgstr "Inloggegevens"
msgctxt "#30803"
msgid "Email address"

View File

@ -66,12 +66,12 @@ class Catalog:
try:
program = self._api.get_program(channel, program_id)
except UnavailableException:
kodiutils.ok_dialog(message=kodiutils.localize(30717)) # This program is not available in the Vier/Vijf/Zes catalogue.
kodiutils.ok_dialog(message=kodiutils.localize(30717)) # This program is not available in the catalogue.
kodiutils.end_of_directory()
return
if not program.episodes:
kodiutils.ok_dialog(message=kodiutils.localize(30717)) # This program is not available in the Vier/Vijf/Zes catalogue.
kodiutils.ok_dialog(message=kodiutils.localize(30717)) # This program is not available in the catalogue.
kodiutils.end_of_directory()
return
@ -136,7 +136,7 @@ class Catalog:
try:
program = self._api.get_program(channel, program_id)
except UnavailableException:
kodiutils.ok_dialog(message=kodiutils.localize(30717)) # This program is not available in the Vier/Vijf/Zes catalogue.
kodiutils.ok_dialog(message=kodiutils.localize(30717)) # This program is not available in the catalogue.
kodiutils.end_of_directory()
return

View File

@ -14,7 +14,7 @@ _LOGGER = logging.getLogger('auth-api')
class AuthApi:
""" Vier/Vijf/Zes Authentication API """
""" VIER/VIJF/ZES Authentication API """
COGNITO_REGION = 'eu-west-1'
COGNITO_POOL_ID = 'eu-west-1_dViSsKM5Y'
COGNITO_CLIENT_ID = '6s1h851s8uplco5h6mqh1jac8m'

View File

@ -127,7 +127,7 @@ class Episode:
class ContentApi:
""" Vier/Vijf/Zes Content API"""
""" VIER/VIJF/ZES Content API"""
API_ENDPOINT = 'https://api.viervijfzes.be'
def __init__(self, token=None):

View File

@ -41,7 +41,7 @@ class EpgProgram:
class EpgApi:
""" Vier/Vijf/Zes EPG API """
""" VIER/VIJF/ZES EPG API """
EPG_ENDPOINTS = {
'vier': 'https://www.vier.be/api/epg/{date}',

View File

@ -14,7 +14,7 @@ _LOGGER = logging.getLogger('search-api')
class SearchApi:
""" Vier/Vijf/Zes Search API """
""" VIER/VIJF/ZES Search API """
API_ENDPOINT = 'https://api.viervijfzes.be/search'
def __init__(self):

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<settings>
<category label="30800"> <!-- Credentials -->
<setting label="30801" type="lsep"/> <!-- Vier/Vijf/Zes login -->
<setting label="30801" type="lsep"/> <!-- Credentials -->
<setting label="30803" type="text" id="username"/>
<setting label="30805" type="text" id="password" option="hidden"/>
</category>