Skip to content

Commit

Permalink
release: v1.44.0
Browse files Browse the repository at this point in the history
  • Loading branch information
newt-sc committed Jun 29, 2022
1 parent 4327342 commit 0147ad3
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 5 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
* [v1.44.0](https://github.com/newt-sc/a4kStreaming/releases/tag/plugin.video.a4kstreaming%2Fplugin.video.a4kstreaming-1.44.0):
* Fix season watch status

* [v1.43.0](https://github.com/newt-sc/a4kStreaming/releases/tag/plugin.video.a4kstreaming%2Fplugin.video.a4kstreaming-1.43.0):
* Fix trailers (2nd attempt)

Expand Down
4 changes: 3 additions & 1 deletion a4kStreaming/explorer.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,10 +205,12 @@ def __add_seasons(core, title):
seasons[episode_season]['year_end'] = d2.year
seasons[episode_season]['month_end'] = min(int(d2.month) + 1, 12)
seasons[episode_season]['day_end'] = d2.day + 1
seasons[episode_season].last_episode = episode
except:
pass

try: seasons[episode_season].last_episode = episode
except: pass

seasons[episode_season].episodes += 1
seasons[episode_season].episode_ids.append(episode['id'])
except:
Expand Down
5 changes: 4 additions & 1 deletion addon.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="plugin.video.a4kstreaming"
name="a4kStreaming"
version="1.43.0"
version="1.44.0"
provider-name="Unknown">
<requires>
<import addon="script.module.requests"/>
Expand Down Expand Up @@ -32,6 +32,9 @@ Designed for low-end devices and Estuary skin.
<screenshot>screenshot-06.jpg</screenshot>
</assets>
<news>
[v1.44.0]:
* Fix season watch status

[v1.43.0]:
* Fix trailers (2nd attempt)

Expand Down
5 changes: 4 additions & 1 deletion packages/addons.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<addons>
<addon id="plugin.video.a4kstreaming"
name="a4kStreaming"
version="1.43.0"
version="1.44.0"
provider-name="Unknown">
<requires>
<import addon="script.module.requests"/>
Expand Down Expand Up @@ -35,6 +35,9 @@ Designed for low-end devices and Estuary skin.
<screenshot>screenshot-06.jpg</screenshot>
</assets>
<news>
[v1.44.0]:
* Fix season watch status

[v1.43.0]:
* Fix trailers (2nd attempt)

Expand Down
2 changes: 1 addition & 1 deletion packages/addons.xml.crc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
de92010f70d66829a50d04a0708f2b8ce0c8655e
e0a36469ac18ac0b13d5b6c01dc738e17080555f
2 changes: 1 addition & 1 deletion tests/test_suite.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ def prerun():
def test_seasons():
a4kstreaming_api = api.A4kStreamingApi({'kodi': True})

fn = __invoke(a4kstreaming_api, 'query', { 'type': 'seasons', 'id': 'tt3288518' })
fn = __invoke(a4kstreaming_api, 'query', { 'type': 'seasons', 'id': 'tt1442437' })

assert len(fn.results) > 0

Expand Down

0 comments on commit 0147ad3

Please sign in to comment.