kodi参数设置讲解.json 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  1. 1、Pluto 的启动 可以设置密码了
  2. // 配置文件密码
  3. "password": "123456"
  4. 2、每日一言
  5. // 每日一言 (随机显示欢迎语)
  6. "dairyWords": [{
  7. "name": "rating",
  8. "request": {
  9. "method": "GET",
  10. "url": {
  11. "raw": "https://saying.api.azwcl.com/saying/get"
  12. }
  13. },
  14. "response": {
  15. "result": "$.data.content"
  16. },
  17. "expires" : "43200"
  18. }],
  19. 3、// 驱动器 (可选)
  20. "drives": [
  21. {"name":"aList","server":"http://alist.lan:8000/dav/","userName":"****","password":"****","type":"webdav"},
  22. {"name":"DSM","server":"http://dsm.lan:5000","userName":"****","password":"****","type":"webdav"},
  23. {"name":"ali-WebDAV-App","server":"http://127.0.0.1:8080/","userName":"****","password":"****","type":"webdav"}
  24. ],
  25. 4、
  26. // 字幕格式 (可选)
  27. "subtitle": {"color": "#FFFFFF", "size": "18"},
  28. 5、
  29. // 壁纸 支持URL/颜色代码 (可选)
  30. "wallpaper": "#000000",
  31. 6、
  32. // 默认浏览器首页
  33. "homepage": "https://m.baidu.com/",
  34. 7、// 首页推荐视频 (豆瓣)
  35. "recommend": [{
  36. "name": "豆瓣推荐",
  37. "request": {
  38. "method": "GET",
  39. "header": [{
  40. "key": "Referer",
  41. "value": "https://movie.douban.com/"
  42. }],
  43. "url": {
  44. "raw": "https://movie.douban.com/j/new_search_subjects?sort=U&range=0,10&tags=&playable=1&start=0&year_range=2022,2022"
  45. }
  46. },
  47. "response": {
  48. "result": "$.data",
  49. "data": [{
  50. "key": "name",
  51. "value": "title"
  52. },
  53. {
  54. "key": "note",
  55. "value": "rate"
  56. },
  57. {
  58. "key": "pic",
  59. "value": "cover"
  60. }
  61. ]
  62. },
  63. "expires" : "86400"
  64. }],
  65. // 首页推荐视频 (IMDb Popular Movies)
  66. "recommend": [{
  67. "name": "imdb",
  68. "request": {
  69. "method": "GET",
  70. "url": {
  71. "raw": "https://imdb-api.com/en/API/MostPopularMovies/k_1kz039kt"
  72. }
  73. },
  74. "response": {
  75. "result": "$.items",
  76. "data": [
  77. {
  78. "key": "name",
  79. "value": "title"
  80. },
  81. {
  82. "key": "note",
  83. "value": "imDbRating"
  84. },
  85. {
  86. "key": "pic",
  87. "value": "image"
  88. }
  89. ]
  90. },
  91. "expires" : "86400"
  92. }],
  93. 8、
  94. // 评分 (数据来自 豆瓣)
  95. "rating": [{
  96. "name": "rating",
  97. "request": {
  98. "method": "GET",
  99. "url": {
  100. "raw": "https://api.wmdb.tv/api/v1/movie/search?q={name}&limit=1"
  101. }
  102. },
  103. "response": {
  104. "result": "this",
  105. "data": [
  106. {
  107. "key": "rating",
  108. "value": "doubanRating"
  109. }
  110. ]
  111. }
  112. }],
  113. // 评分 (数据来自 IMDB)
  114. "rating": [{
  115. "name": "rating",
  116. "request": {
  117. "method": "GET",
  118. "url": {
  119. "raw": "https://api.wmdb.tv/api/v1/movie/search?q={name}&limit=1"
  120. }
  121. },
  122. "response": {
  123. "result": "this",
  124. "data": [
  125. {
  126. "key": "rating",
  127. "value": "imdbRating"
  128. }
  129. ]
  130. }
  131. }],
  132. 9、
  133. {
  134. // 源
  135. "sites":[
  136. //api 对应 Class com.github.catvod.spider.source.A
  137. {"key":"唯一键值","name":"显示名称(可选)","type":3,"api":"plugin.source.A","searchable":1,"quickSearch":1,"filterable":1,"plugin":"可选调用其他插件的jar包","password": "频道密码", "ext": "插件拓展数据"}
  138. }
  139. // 热搜关键字
  140. "hotSearch": [],
  141. // 输入法智能联想接口
  142. "association": [],
  143. // 中文分词接口
  144. "pullWord": [{
  145. "name": "pullWord",
  146. "request": {
  147. "method": "GET",
  148. "url": {
  149. "raw": "http://api.pullword.com/get.php?source={source}&param1=0&param2=0&json=1"
  150. }
  151. },
  152. "response": {
  153. "data": [{
  154. "key": "keyword",
  155. "value": "t"
  156. }]
  157. }
  158. }],
  159. // 加载插件 支持相对路径 ./ 相对于主配置文件json所在位置 适用于所有环境
  160. "plugin": "./jar/test.jar",
  161. ...
  162. }