Skip to content

Commit

Permalink
release: v1.51.0
Browse files Browse the repository at this point in the history
  • Loading branch information
newt-sc committed Aug 19, 2023
1 parent a0915ae commit dee7142
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
* [v1.51.0](https://github.com/newt-sc/a4kStreaming/releases/tag/plugin.video.a4kstreaming%2Fplugin.video.a4kstreaming-1.51.0):
* New context menu option for forcing file selection

* [v1.50.0](https://github.com/newt-sc/a4kStreaming/releases/tag/plugin.video.a4kstreaming%2Fplugin.video.a4kstreaming-1.50.0):
* Fix goto for KODI 20
* More retries on requests errors
Expand Down
5 changes: 4 additions & 1 deletion a4kStreaming/explorer.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,9 @@ def __set_title_contextmenu(core, title, list_item):
context_menu_items.extend([
('Debrid: Add sources', 'RunPlugin(%s?action=cache_sources&id=%s)' % (core.url, title['id']))
])
context_menu_items.extend([
('Force file select', 'PlayMedia(%s?action=play&id=%s&force_fileselect=true)' % (core.url, title['id']))
])
if core.kodi.get_bool_setting('general.autoplay'):
context_menu_items.extend([
('Force source select', 'PlayMedia(%s?action=play&id=%s&force_sourceselect=true)' % (core.url, title['id']))
Expand Down Expand Up @@ -2619,7 +2622,7 @@ def delete_magnet():

filtered = False
try:
if len(files) > 1 and result['ref'].mediatype == 'episode':
if len(files) > 1 and result['ref'].mediatype == 'episode' and not params.force_fileselect:
episodes = util_filter_episodes(files, 'path')
if len(episodes) > 0:
files = episodes
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.50.0"
version="1.51.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.51.0]:
* New context menu option for forcing file selection

[v1.50.0]:
* Fix goto for KODI 20
* More retries on requests errors
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.50.0"
version="1.51.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.51.0]:
* New context menu option for forcing file selection

[v1.50.0]:
* Fix goto for KODI 20
* More retries on requests errors
Expand Down
2 changes: 1 addition & 1 deletion packages/addons.xml.crc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6d548efc00cb44710a53bba7ead5a7b619598fd7
f07bf42552f0158b2062db7c4bd9a17269c16347

0 comments on commit dee7142

Please sign in to comment.