Skip to content

Commit

Permalink
[Setup] adapt from atv
Browse files Browse the repository at this point in the history
  • Loading branch information
koivo committed Apr 1, 2024
1 parent beef19d commit ecba312
Show file tree
Hide file tree
Showing 2 changed files with 324 additions and 257 deletions.
5 changes: 5 additions & 0 deletions lib/python/Components/SystemInfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,11 @@ def deleteItem(self, item, *args, **kws):

BoxInfo = BoxInformation()

DISPLAYMODEL = BoxInfo.getItem("displaymodel")
DISPLAYBRAND = BoxInfo.getItem("displaybrand")

def getBoxDisplayName(): # This function returns a tuple like ("BRANDNAME", "BOXNAME")
return (DISPLAYBRAND, DISPLAYMODEL)

# Parse the boot commandline.
#
Expand Down
Loading

0 comments on commit ecba312

Please sign in to comment.