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

Method homeContent

plugin/py_bilimd.py:22–41  ·  view source on GitHub ↗
(self,filter)

Source from the content-addressed store, hash-verified

20 def manualVideoCheck(self):
21 pass
22 def homeContent(self,filter):
23 result = {}
24 cateManual = {
25 "番剧": "1",
26 "国创": "4",
27 "电影": "2",
28 "综艺": "7",
29 "电视剧": "5",
30 "纪录片": "3"
31 }
32 classes = []
33 for k in cateManual:
34 classes.append({
35 'type_name':k,
36 'type_id':cateManual[k]
37 })
38 result['class'] = classes
39 if(filter):
40 result['filters'] = self.config['filter']
41 return result
42 def homeVideoContent(self):
43 result = {
44 'list':[]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected