From 1606c3e60be8cde19f6b65b5abad2419bcca27aa Mon Sep 17 00:00:00 2001 From: DenDyGH <29734746+DenDyGH@users.noreply.github.com> Date: Tue, 6 Dec 2022 08:31:24 +0100 Subject: [PATCH] fix search, version bump --- srcs/plugin.video.playermb/addon.xml | 6 ++++-- srcs/plugin.video.playermb/main.py | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/srcs/plugin.video.playermb/addon.xml b/srcs/plugin.video.playermb/addon.xml index 5a1e39f..ec24561 100644 --- a/srcs/plugin.video.playermb/addon.xml +++ b/srcs/plugin.video.playermb/addon.xml @@ -1,5 +1,5 @@ - + @@ -25,7 +25,9 @@ resources/screenshot-01.jpg resources/screenshot-02.jpg - 1.12.3 + 1.12.4 +- poprawiona wyszukiwarka +1.12.3 - transmisja do doby wstecz - usunięcie wyjątku w IS - nowe forsowanie obrazków (by DenDy) diff --git a/srcs/plugin.video.playermb/main.py b/srcs/plugin.video.playermb/main.py index 70fdcd3..3566151 100644 --- a/srcs/plugin.video.playermb/main.py +++ b/srcs/plugin.video.playermb/main.py @@ -1318,7 +1318,7 @@ def listSearch(self, query): lives = getRequests(urlk, headers=self.HEADERS2, params=PARAMS) xbmc.log('PLAYER.PL: listSearch(%r): params=%r, #live=%r' % (query, PARAMS, len(lives.get('items', []))), xbmc.LOGDEBUG) - lives = lives['items'] + lives = lives.get('items', lives) # -- commented out, it does do nothing (rysson) # if len(lives)>0: # for live in lives: