From fa6e3bdd506a4a37a2b8bc5834b07d669762e2ba Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Fri, 1 Jan 2021 18:18:23 -0500 Subject: [PATCH] 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