MCPcopy Create free account
hub / github.com/UndCover/PyramidStore / homeContent

Method homeContent

plugin/py_cctv.py:20–40  ·  view source on GitHub ↗
(self,filter)

Source from the content-addressed store, hash-verified

18 def manualVideoCheck(self):
19 pass
20 def homeContent(self,filter):
21 result = {}
22 cateManual = {
23 "等着我": "TOPC1451378757637200",
24 "我爱发明": "TOPC1569314345479107",
25 "动物世界": "TOPC1451378967257534",
26 "探索发现": "TOPC1451557893544236",
27 "创新进行时": "TOPC1570875218228998",
28 "我爱发明2021": "TOPC1451557970755294",
29 "经典咏流传 第五季":"VIDAIiNbDQzOjE5mLl3T4t2B220403"
30 }
31 classes = []
32 for k in cateManual:
33 classes.append({
34 'type_name':k,
35 'type_id':cateManual[k]
36 })
37 result['class'] = classes
38 if(filter):
39 result['filters'] = self.config['filter']
40 return result
41 def homeVideoContent(self):
42 result = {
43 'list':[]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected