diff --git a/zap2it-GuideScrape.py b/zap2it-GuideScrape.py index bfc3418..203226e 100644 --- a/zap2it-GuideScrape.py +++ b/zap2it-GuideScrape.py @@ -166,9 +166,9 @@ def BuildChannelXML(self,channel): channelEl = self.guideXML.createElement('channel') channelEl.setAttribute('id',channel["channelId"]) dispName1 = self.CreateElementWithData("display-name",channel["channelNo"] + " " + channel["callSign"]) - dispName2 = self.CreateElementWithData("displayName",channel["channelNo"]) - dispName3 = self.CreateElementWithData("displayName",channel["callSign"]) - dispName4 = self.CreateElementWithData("displayName",channel["affiliateName"].title()) + dispName2 = self.CreateElementWithData("display-name",channel["channelNo"]) + dispName3 = self.CreateElementWithData("display-name",channel["callSign"]) + dispName4 = self.CreateElementWithData("display-name",channel["affiliateName"].title()) iconEl = self.guideXML.createElement("icon") iconEl.setAttribute("src","http://"+(channel["thumbnail"].partition('?')[0] or "").lstrip('/')) channelEl.appendChild(dispName1)