From 61faced24d751f41a63c0fd226069a96e5a2f32e Mon Sep 17 00:00:00 2001 From: DYefremov Date: Thu, 11 Jan 2024 17:31:40 +0300 Subject: [PATCH] fix EPG request --- app/ui/epg/epg.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/app/ui/epg/epg.py b/app/ui/epg/epg.py index e149a6b2..073031d5 100644 --- a/app/ui/epg/epg.py +++ b/app/ui/epg/epg.py @@ -159,11 +159,9 @@ class FavEpgCache(EpgCache): def update_epg_data(self): if self._src is EpgSource.HTTP: - api = self._app.http_api - bq = self._app.current_bouquet_files.get(self._current_bq, None) - + api, bq = self._app.http_api, self._app.current_bouquet_files.get(self._current_bq, None) if bq and api: - req = quote(f'FROM BOUQUET "userbouquet.{bq}.{self._current_bq.split(":")[-1]}"') + req = quote(f'FROM BOUQUET "{bq}"') api.send(HttpAPI.Request.EPG_NOW, f'1:7:1:0:0:0:0:0:0:0:{req}', self.update_http_data) elif self._src is EpgSource.XML: self.update_xml_data()