Update ContentView to show selected show metadata

This commit is contained in:
2022-08-31 21:28:02 -04:00
parent 60676ffde9
commit 6b54653572
3 changed files with 65 additions and 19 deletions
+4
View File
@@ -32,6 +32,10 @@ class Show(QObject):
def year(self) -> int:
return self._source["year"]
@pyqtProperty("QString")
def description(self) -> str:
return self._source["description"]
@pyqtProperty(int)
def episodes(self) -> int:
return self._source["episodes"]