Skip to content

Commit

Permalink
plugin.video.foxtel.go -> v0.10.7
Browse files Browse the repository at this point in the history
  • Loading branch information
matthuisman authored and johnny5-is-alive committed Oct 1, 2023
1 parent 3622d8d commit bd6a984
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions plugin.video.foxtel.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.foxtel.go" name="Foxtel Go" provider-name="SlyGuy" version="0.10.6">
<addon id="plugin.video.foxtel.go" name="Foxtel Go" provider-name="SlyGuy" version="0.10.7">
<requires>
<import addon="script.module.slyguy" version="0.63.1"/>
</requires>
Expand All @@ -14,7 +14,7 @@ Subscription required.</description>
<license></license>
<language></language>
<website></website>
<news>Fix vod playback</news>
<news>@Mobi0007 is an asshole!</news>
<assets>
<icon>icon.png</icon>
<fanart>fanart.jpg</fanart>
Expand Down
2 changes: 1 addition & 1 deletion plugin.video.foxtel.go/resources/lib/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class APIError(Error):

class API(object):
def new_session(self):
self._session = Session(HEADERS, base_url=API_URL, return_json=True, attempts=2)
self._session = Session(HEADERS, base_url=API_URL, return_json=True, attempts=4)
self.logged_in = userdata.get('token') != None

def _refresh_token(self):
Expand Down
4 changes: 2 additions & 2 deletions plugin.video.foxtel.go/resources/lib/constants.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
HEADERS = {
'user-agent': 'GO2/6.0.0.J/Phone/ANDROID/8.1.0/S22',
'Accept': '',
'user-agent': 'okhttp/4.9.2',
'Accept': None,
'Accept-Encoding': 'gzip',
'Cache-Control': 'no-cache',
'Pragma': 'gzip',
Expand Down

0 comments on commit bd6a984

Please sign in to comment.