Skip to content

Commit

Permalink
v1.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Mariusz89B committed Jul 8, 2022
1 parent e25f237 commit fc516f6
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
6 changes: 2 additions & 4 deletions addon.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def run(self):
ab = check_refresh()
if ab:
result = check_login()
if result is not None:
if result:
validTo, beartoken, refrtoken, cookies = result

addon.setSetting('teliaplay_validto', str(validTo))
Expand Down Expand Up @@ -254,7 +254,7 @@ def check_login():
valid_to = datetime.now() + timedelta(days=1)

if not beartoken or refresh < timedelta(minutes=1):
login = login_data(reconnect=True)
login = login_service(reconnect=False)
if login:
valid_to = addon.getSetting('teliaplay_validto')
beartoken = addon.getSetting('teliaplay_beartoken')
Expand Down Expand Up @@ -333,8 +333,6 @@ def login_service(reconnect, retry=0):
return False

def login_data(reconnect, retry=0):
print('TEST2112')
print(retry)
dashjs, tv_client_boot_id, timestamp, sessionid = create_data()

try:
Expand Down
7 changes: 5 additions & 2 deletions 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.teliaplay" name="Telia Play" version="1.0.5" provider-name="mariusz89b">
<addon id="plugin.video.teliaplay" name="Telia Play" version="1.0.6" provider-name="mariusz89b">
<requires>
<import addon="xbmc.python" version="3.0.0"/>
<import addon="script.module.inputstreamhelper" version="0.2.4"/>
Expand All @@ -24,7 +24,10 @@
<platform>all</platform>
<license>GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 and MIT LICENSE.</license>
<source>https://github.com/Mariusz89B/plugin.video.teliaplay</source>
<news>v1.0.5 (2022-07-02)
<news>v1.0.6 (2022-07-08)
- Bug fixes.

v1.0.5 (2022-07-02)
- Login fix.

v1.0.4 (2022-06-13)
Expand Down
3 changes: 3 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
v1.0.6 (2022-07-08)
- Bug fixes.

v1.0.5 (2022-07-02)
- Login fix.

Expand Down

0 comments on commit fc516f6

Please sign in to comment.