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

Method homeContent

plugin/py_gitcafe.py:22–54  ·  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 "华语电视" :"hyds",
26 "日韩电视" :"rhds",
27 "欧美电视" :"omds",
28 "其他电视" :"qtds",
29 "华语电影" :"hydy",
30 "日韩电影" :"rhdy",
31 "欧美电影" :"omdy",
32 "其他电影" :"qtdy",
33 "华语动漫" :"hydm",
34 "日韩动漫" :"rhdm",
35 "欧美动漫" :"omdm",
36 "纪录片" :"jlp",
37 "综艺片" :"zyp",
38 "教育培训" :"jypx",
39 "其他视频" :"qtsp",
40 "华语音乐" :"hyyy",
41 "日韩音乐" :"rhyy",
42 "欧美音乐" :"omyy",
43 "其他音乐" :"qtyy"
44 }
45 classes = []
46 for k in cateManual:
47 classes.append({
48 'type_name':k,
49 'type_id':cateManual[k]
50 })
51 result['class'] = classes
52 if filter:
53 result['filter'] = self.config['filter']
54 return result
55 def homeVideoContent(self):
56 result = {}
57 if len(self.homeData.keys()) == 0:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected