From fa6e3bdd506a4a37a2b8bc5834b07d669762e2ba Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Fri, 1 Jan 2021 18:18:23 -0500 Subject: [PATCH 1/2] Fix EPG --- fHDHR/device/epg/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fHDHR/device/epg/__init__.py b/fHDHR/device/epg/__init__.py index cf69470..d52b732 100644 --- a/fHDHR/device/epg/__init__.py +++ b/fHDHR/device/epg/__init__.py @@ -271,7 +271,7 @@ class EPG(): # if a stock method, generate Blocks EPG for missing channels if method in ["blocks", "origin", self.fhdhr.config.dict["main"]["dictpopname"]]: timestamps = self.blocks.timestamps - for fhdhr_id in [x["id"] for x in self.fhdhr.device.channels.get_channels()]: + for fhdhr_id in [x["id"] for x in self.channels.get_channels()]: chan_obj = self.channels.list[fhdhr_id] if str(chan_obj.number) not in list(programguide.keys()): programguide[str(chan_obj.number)] = chan_obj.epgdict From 2cf4f4249b2177bbc51aaea7c63923377d5e5ab7 Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Fri, 1 Jan 2021 18:22:41 -0500 Subject: [PATCH 2/2] Fix Blocks EPG --- fHDHR/device/epg/blocks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fHDHR/device/epg/blocks.py b/fHDHR/device/epg/blocks.py index a938595..33ae70d 100644 --- a/fHDHR/device/epg/blocks.py +++ b/fHDHR/device/epg/blocks.py @@ -13,7 +13,7 @@ class blocksEPG(): timestamps = self.timestamps - for fhdhr_id in [x["id"] for x in self.fhdhr.device.channels.get_channels()]: + for fhdhr_id in [x["id"] for x in self.channels.get_channels()]: chan_obj = self.channels.list[fhdhr_id] if str(chan_obj.number) not in list(programguide.keys()):