Skip to content

Commit

Permalink
[ServiceName2]
Browse files Browse the repository at this point in the history
* remove config.usage.numberMode check for NUMBER
  • Loading branch information
jbleyel committed Jul 29, 2024
1 parent df1b3f4 commit 56ac3c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/python/Components/Converter/ServiceName2.py
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ def getIPTVProvider(self, refstr):
elif ".ottg." in refstr:
return "Glanc"
elif "/iptv/" in refstr:
return "Edem"
return "Edem"
elif "wisp.cat" in refstr:
return "TvoeTV"
elif "4097" in refstr:
Expand Down Expand Up @@ -513,7 +513,7 @@ def getText(self):
return name.replace("\xc2\x86", "").replace("\xc2\x87", "")
case self.NUMBER:
try:
service = self.source.service if self.source and config.usage.numberMode.value == 2 and self.source.__class__.__name__ == "ServiceEvent" else self.source.serviceref
service = self.source.service if self.source and self.source.__class__.__name__ == "ServiceEvent" else self.source.serviceref
num = service and service.getChannelNum() or ""
return str(num)
except Exception:
Expand Down

0 comments on commit 56ac3c5

Please sign in to comment.