diff --git a/CHANGELOG.md b/CHANGELOG.md index 6922ac9..03b77cc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/a4kStreaming/explorer.py b/a4kStreaming/explorer.py index 6217d4e..ca1e10c 100644 --- a/a4kStreaming/explorer.py +++ b/a4kStreaming/explorer.py @@ -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'])) @@ -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 diff --git a/addon.xml b/addon.xml index 99bd3d7..512bae6 100644 --- a/addon.xml +++ b/addon.xml @@ -1,7 +1,7 @@ @@ -32,6 +32,9 @@ Designed for low-end devices and Estuary skin. screenshot-06.jpg +[v1.51.0]: + * New context menu option for forcing file selection + [v1.50.0]: * Fix goto for KODI 20 * More retries on requests errors diff --git a/packages/addons.xml b/packages/addons.xml index ad90ede..cb6d159 100644 --- a/packages/addons.xml +++ b/packages/addons.xml @@ -4,7 +4,7 @@ @@ -35,6 +35,9 @@ Designed for low-end devices and Estuary skin. screenshot-06.jpg +[v1.51.0]: + * New context menu option for forcing file selection + [v1.50.0]: * Fix goto for KODI 20 * More retries on requests errors diff --git a/packages/addons.xml.crc b/packages/addons.xml.crc index af0f8db..a870bcb 100644 --- a/packages/addons.xml.crc +++ b/packages/addons.xml.crc @@ -1 +1 @@ -6d548efc00cb44710a53bba7ead5a7b619598fd7 \ No newline at end of file +f07bf42552f0158b2062db7c4bd9a17269c16347 \ No newline at end of file