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

2.1.8 #49

Open
wants to merge 85 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
85 commits
Select commit Hold shift + click to select a range
0a72ec3
2.1.3
Aug 6, 2021
20f83de
Merge pull request #1 from Mariusz89B/2.1.3
Aug 6, 2021
7b5dbe1
2.1.3
Aug 6, 2021
81a6bd3
Create FUNDING.yml
Aug 6, 2021
82c0c56
2.1.4
Aug 7, 2021
f3e1488
Merge branch 'master' of https://github.com/Mariusz89B/kodi-viaplay
Aug 7, 2021
d2b20ab
2.1.4
Aug 7, 2021
7f87b10
2.1.5
Aug 8, 2021
a930d12
2.1.6
Aug 8, 2021
6f584da
2.1.7
Aug 9, 2021
ebb28d9
2.1.7
Aug 9, 2021
123f2f5
2.1.7
Aug 11, 2021
92fa0b4
Delete FUNDING.yml
Aug 12, 2021
f3d0543
2.1.8
Aug 17, 2021
5ff9997
Merge branch 'master' of https://github.com/Mariusz89B/kodi-viaplay
Aug 17, 2021
63c5d18
2.1.8
Aug 17, 2021
667075e
2.1.9
Sep 28, 2021
8502b48
2.2.0
Sep 29, 2021
cf236d9
2.2.1
Oct 6, 2021
c335b86
2.2.2
Oct 24, 2021
8e8ea61
2.2.3
Nov 9, 2021
f83e677
2.2.4
Jan 23, 2022
d02eb82
2.2.5
Jan 25, 2022
6a30496
2.2.5
Jan 25, 2022
23189df
2.2.6
Jan 27, 2022
077a6fb
2.2.7
Jan 28, 2022
68d5ea7
2.2.7
Jan 28, 2022
f0a7763
2.2.8
Jan 30, 2022
4d17481
2.2.9
Feb 16, 2022
011dc63
2.3.0
Feb 17, 2022
522a205
2.3.0
Feb 17, 2022
46a2092
Add NL country support
Beanow Mar 18, 2022
bb6e58e
Merge pull request #3 from Beanow/add-nl
Mar 23, 2022
cd0257f
Fixed popular sport tiles
heppix Mar 24, 2022
cc9ad6c
Merge pull request #4 from zuzia-dev/master
zuzia-dev Mar 24, 2022
958f592
2.3.1
heppix Mar 24, 2022
8f3ce63
Fixed sports series event listing
heppix Mar 27, 2022
f52c770
2.3.2
heppix Mar 27, 2022
9d789d8
Merge pull request #5 from zuzia-dev/master
zuzia-dev Mar 27, 2022
a268233
Fixed live tv channels and popular sports in .se
heppix Apr 5, 2022
e451f18
Addon: Update version to 2.3.3
zuzia-dev Apr 5, 2022
ccc4442
Bump version to 2.3.3
zuzia-dev Apr 5, 2022
34d1418
Merge pull request #7 from zuzia-dev/master
zuzia-dev Apr 5, 2022
9e17576
2.3.4
Apr 23, 2022
6eb220e
2.3.5
Jul 28, 2022
ab1cca1
2.3.6
Mariusz89B Jan 6, 2023
f05f629
v2.3.7
Mariusz89B Jan 10, 2023
83d837e
Update README.md
Mariusz89B Jan 10, 2023
503b1bd
Update README.md
Mariusz89B Jan 10, 2023
d70522e
Update README.md
Mariusz89B Jan 10, 2023
86d68af
Update README.md
Mariusz89B Jan 10, 2023
924925d
v2.3.8
Mariusz89B Jan 10, 2023
bc38913
v2.3.9
DenDyGH Jan 27, 2023
0bea6e9
Merge pull request #11 from DenDyGH/master
Mariusz89B Jan 28, 2023
55d0fe3
v.2.3.9
Mariusz89B Jan 28, 2023
c5e6730
v2.3.9
Mariusz89B Jan 28, 2023
090d52c
v2.4.0
Mariusz89B Feb 12, 2023
15d933d
v2.4.0
Mariusz89B Feb 12, 2023
7983ba2
Update README.md
Mariusz89B Feb 12, 2023
b46c812
Update README.md
Mariusz89B Feb 12, 2023
b40be85
v2.4.1_v1
Mariusz89B Feb 14, 2023
1ecb10e
Merge branch 'master' of https://github.com/Mariusz89B/plugin.video.v…
Mariusz89B Feb 14, 2023
c1d50f4
v2.4.1_v2
Mariusz89B Feb 15, 2023
8d8acf6
v2.4.1_v3
Mariusz89B Feb 15, 2023
e6e050e
v2.4.1_v4
Mariusz89B Feb 17, 2023
ab1ece3
v2.4.1_v5
Mariusz89B Feb 19, 2023
fdf7161
v2.4.1_v6
Mariusz89B Feb 19, 2023
925a9c4
v2.4.1_v7
Mariusz89B Feb 20, 2023
b427476
v2.4.1_v8
Mariusz89B Feb 21, 2023
13b9468
v2.4.1
Mariusz89B Feb 21, 2023
f1b7136
v2.4.1
Mariusz89B Feb 21, 2023
1179182
v2.4.2
Mariusz89B Feb 24, 2023
ff14c4a
v2.4.3_v1
Mariusz89B Feb 25, 2023
2ae76b1
v2.4.3_v2
Mariusz89B Feb 26, 2023
b795c16
v2.4.3_v3
Mariusz89B Mar 5, 2023
31445b6
v2.4.3_v4
Mariusz89B Mar 5, 2023
6d619f9
v2.4.3
Mariusz89B Mar 6, 2023
42f4376
v2.4.4
Mariusz89B Mar 12, 2023
09837a9
v2.4.5_v1
Mariusz89B Apr 17, 2023
9007e5b
v2.4.5_v1
Mariusz89B Apr 17, 2023
d5779cb
v2.4.5_v2
Mariusz89B Apr 17, 2023
2b4efcc
v2.4.5
Mariusz89B Apr 17, 2023
357d694
v2.4.6_v1
Mariusz89B Apr 17, 2023
99e1961
v2.4.6_v2
Mariusz89B Apr 17, 2023
c7771b0
v2.4.6_v3
Mariusz89B May 21, 2023
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
Prev Previous commit
Next Next commit
2.1.8
Mariusz89B committed Aug 17, 2021

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit f3d0543ce06b7fe795c58ee67da04bf45e6301ba
2 changes: 1 addition & 1 deletion resources/lib/addon.py
Original file line number Diff line number Diff line change
@@ -412,7 +412,7 @@ def add_episode(episode):
}

helper.add_item(episode_info['list_title'], plugin_url, info=episode_info,
art=add_art(details['images'], 'episode'), content='episodes', playable=True)
art=add_art(details['images'], 'episode'), content='episodes', playable=True, episode=True)


def add_sports_event(event):
8 changes: 5 additions & 3 deletions resources/lib/kodihelper.py
Original file line number Diff line number Diff line change
@@ -191,7 +191,7 @@ def get_numeric_input(self, heading):
else:
return None

def add_item(self, title, url, folder=True, playable=False, info=None, art=None, content=False):
def add_item(self, title, url, folder=True, playable=False, info=None, art=None, content=False, episode=False):
addon = self.get_addon()
listitem = xbmcgui.ListItem(label=title)

@@ -207,12 +207,15 @@ def add_item(self, title, url, folder=True, playable=False, info=None, art=None,
}
listitem.setArt(art)
if info:
listitem.setInfo('video', info)
listitem.setInfo('Video', info)
if content:
xbmcplugin.setContent(self.handle, content)

xbmcplugin.addDirectoryItem(self.handle, url, listitem, folder)

if episode:
xbmcplugin.addSortMethod(handle=self.handle, sortMethod=xbmcplugin.SORT_METHOD_EPISODE)

def eod(self):
"""Tell Kodi that the end of the directory listing is reached."""
xbmcplugin.endOfDirectory(self.handle)
@@ -257,7 +260,6 @@ def play(self, guid=None, url=None, pincode=None, tve='false'):
playitem.setProperty('inputstream.adaptive.license_key',stream['license_url'].replace('{widevineChallenge}', 'B{SSM}') + '|||JBlicense')
if self.get_setting('subtitles') and 'subtitles' in stream:
playitem.setSubtitles(self.vp.download_subtitles(stream['subtitles'], language_to_download=self.get_sub_lang()))
playitem.setProperty('inputstream.adaptive.play_timeshift_buffer', 'false')
xbmcplugin.setResolvedUrl(self.handle, True, listitem=playitem)

def ia_settings(self):
2 changes: 2 additions & 0 deletions resources/lib/viaplay.py
Original file line number Diff line number Diff line change
@@ -386,6 +386,8 @@ def download_subtitles(self, suburls, language_to_download=None):

if sys.version_info[0] < 3:
html = HTMLParser.HTMLParser()
else:
import html

subtitle = html.unescape(sami).encode('utf-8')
path = os.path.join(self.tempdir, '{0}.sami'.format(sub_lang))