Skip to content

Commit

Permalink
added SF8008 Supreme
Browse files Browse the repository at this point in the history
  • Loading branch information
WanWizard committed Feb 15, 2024
1 parent eba7fb0 commit c0f6587
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 10 deletions.
29 changes: 19 additions & 10 deletions plugin/controllers/models/owibranding.py
Original file line number Diff line number Diff line change
Expand Up @@ -549,16 +549,25 @@ def getAllInfo():
elif procmodel.startswith("sf"):
brand = "Octagon"
if procmodel.startswith("sf8008"):
sf8008type = open("/proc/stb/info/type").read()
if sf8008type.startswith("11"):
procmodel = "sf8008t"
model = "SF8008 4K Twin"
elif sf8008type.startswith("12"):
procmodel = "sf8008c"
model = "SF8008 4K Combo"
else: # sf8008type.startswith("10")
procmodel = "sf8008s"
model = "SF8008 4K Single"
wifi = None
if fileExists("/sys/devices/platform/soc/f9890000.ehci/usb1/1-1/idProduct"):
f = open("//sys/devices/platform/soc/f9890000.ehci/usb1/1-1/idProduct", 'r')
wifi = f.readline().strip().lower()
f.close()
if wifi == "c82c":
procmodel = "sf8008x"
model = "SF8008 4K Supreme"
else:
sf8008type = open("/proc/stb/info/type").read()
if sf8008type.startswith("11"):
procmodel = "sf8008t"
model = "SF8008 4K Twin"
elif sf8008type.startswith("12"):
procmodel = "sf8008c"
model = "SF8008 4K Combo"
else: # sf8008type.startswith("10")
procmodel = "sf8008s"
model = "SF8008 4K Single"
else:
model = procmodel.upper()
elif procmodel == "sx88v2":
Expand Down
Binary file added plugin/public/images/boxes/sf8008x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c0f6587

Please sign in to comment.