Skip to content

Commit

Permalink
Revert "[BoxInfo] force update MACHINE h9twin(se)/more ET(Xtrend) (#4179
Browse files Browse the repository at this point in the history
)"

This reverts commit 30bf4c2.

As this breaks the build due to a bug and I think it should not be
resolved this way. The engima.info stuff should be somehow corrected
instead
  • Loading branch information
Littlesat committed Jan 30, 2025
1 parent 30bf4c2 commit 6c347ae
Showing 1 changed file with 0 additions and 32 deletions.
32 changes: 0 additions & 32 deletions lib/python/Components/SystemInfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ def __init__(self, root=""):
print("[SystemInfo] Enigma information file data loaded, but checksum failed.")
else:
print("[SystemInfo] ERROR: %s is not available! The system is unlikely to boot or operate correctly." % file)
self.correctValue()
self.boxInfo.setImmutable() #make what is derived from enigma.info immutable

def processValue(self, value):
Expand Down Expand Up @@ -98,37 +97,6 @@ def deleteItem(self, item, *args, **kws):
del self.boxInfo[item]
return True

def correctValue(self):
machine = BoxInfo.getItem("machine")
model = str(BoxInfo.getItem("model"))
value = ""
if machine.startswith("h9combo") and model.startswith("h9twin"):
value = model
elif machine.startswith("et"):
if machine == "et4x00":
value = "et4000"
elif machine == "et5x00":
value = "et5000"
elif machine == "et6x00":
if model == "et6000":
value = model
elif model == "et6500":
value = model
elif machine == "et7x00":
if model == "et7000":
value = model
elif model == "et7500":
value = model
elif machine == "et9x00":
if model == "et9000":
value = model
elif model == "et9200":
value = model
elif model == "et9500":
value = model
if value:
self.setItem("machine", value)


BoxInfo = BoxInformation()

Expand Down

0 comments on commit 6c347ae

Please sign in to comment.