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

[plugin.video.vtm.go@matrix] 1.4.3+matrix.1 #4416

Merged
merged 1 commit into from
Nov 9, 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
8 changes: 8 additions & 0 deletions plugin.video.vtm.go/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## [v1.4.3](https://github.com/add-ons/plugin.video.vtm.go/tree/v1.4.3) (2023-11-04)

[Full Changelog](https://github.com/add-ons/plugin.video.vtm.go/compare/v1.4.2...v1.4.3)

**Fixed bugs:**

- Upgrade API to 14 [\#369](https://github.com/add-ons/plugin.video.vtm.go/pull/369) ([michaelarnauts](https://github.com/michaelarnauts))

## [v1.4.2](https://github.com/add-ons/plugin.video.vtm.go/tree/v1.4.2) (2023-07-26)

[Full Changelog](https://github.com/add-ons/plugin.video.vtm.go/compare/v1.4.1...v1.4.2)
Expand Down
6 changes: 3 additions & 3 deletions plugin.video.vtm.go/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="plugin.video.vtm.go" name="VTM GO" version="1.4.2+matrix.1" provider-name="Michaël Arnauts">
<addon id="plugin.video.vtm.go" name="VTM GO" version="1.4.3+matrix.1" provider-name="Michaël Arnauts">
<requires>
<import addon="xbmc.python" version="3.0.0" />
<import addon="script.module.dateutil" version="2.6.0" />
Expand All @@ -22,8 +22,8 @@
<disclaimer lang="nl_NL">Deze add-on wordt niet ondersteund door DPG Media en wordt aangeboden 'as is', zonder enige garantie. De VTM GO naam, VTM GO logo en de kanaallogo's zijn eigendom van DPG Media en worden gebruikt in overeenstemming met de fair use policy.</disclaimer>
<platform>all</platform>
<license>GPL-3.0-only</license>
<news>v1.4.2 (2023-07-26)
- Fix for missing episodes.</news>
<news>v1.4.3 (2023-11-04)
- Fix API.</news>
<source>https://github.com/add-ons/plugin.video.vtm.go</source>
<assets>
<icon>resources/icon.png</icon>
Expand Down
4 changes: 2 additions & 2 deletions plugin.video.vtm.go/resources/lib/vtmgo/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
# Setup a static session that can be reused for all calls
SESSION = requests.Session()
SESSION.headers = {
'User-Agent': 'VTM_GO/13.12 (be.vmma.vtm.zenderapp; build:17181; Android TV 28) okhttp/4.10.0',
'x-app-version': '13',
'User-Agent': 'VTM_GO/14.231023 (be.vmma.vtm.zenderapp; build:18041; Android 23) okhttp/4.11.0',
'x-app-version': '14',
'x-persgroep-mobile-app': 'true',
'x-persgroep-os': 'android',
'x-persgroep-os-version': '28',
Expand Down
4 changes: 2 additions & 2 deletions plugin.video.vtm.go/resources/lib/vtmgo/vtmgo.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,8 +380,8 @@ def do_search(self, search):
:type search: str
:rtype list[Union[Movie, Program]]
"""
response = util.http_get(API_ENDPOINT + '/%s/search/?query=%s' % (self._mode(),
kodiutils.to_unicode(quote(kodiutils.from_unicode(search)))),
response = util.http_get(API_ENDPOINT + '/%s/search?query=%s' % (self._mode(),
kodiutils.to_unicode(quote(kodiutils.from_unicode(search)))),
token=self._tokens.access_token if self._tokens else None,
profile=self._tokens.profile if self._tokens else None)
results = json.loads(response.text)
Expand Down
Loading