You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
FongMi fb3018f6e1 Clean code 2 years ago
.github
app Clean code 2 years ago
catvod Revert ipv4 first 2 years ago
forcetech
gradle/wrapper
hook
ijkplayer
jianpian
other
pyramid Revert "Update gradle" 2 years ago
quickjs Support gbkDecode for js 2 years ago
thunder Revert thunder 2 years ago
tvbus
youtube Clean code 2 years ago
zlive
.gitignore Update .gitignore 2 years ago
LICENSE.md
README.md
build.gradle Clean build 2 years ago
gradle.properties Update gradle.properties 2 years ago
gradlew
gradlew.bat
settings.gradle prepare to use bytedance danmaku 2 years ago

README.md

影視

基於 CatVod 項目

https://github.com/CatVodTVOfficial/CatVodTVJarLoader

點播欄位

欄位名稱 預設值 說明 其他
searchable 1 是否搜索 0:關閉;1:啟用
changeable 1 是否換源 0:關閉;1:啟用
playerType none 播放器 0:系統;1:IJK;2:EXO
timeout 15 播放超時 單位:秒
header none 請求標頭 格式:json
click none 點擊js javascript

直播欄位

欄位名稱 預設值 說明 其他
ua none 用戶代理
origin none 來源
referer none 參照地址
epg none 節目地址
logo none 台標地址
pass false 是否免密碼
boot false 是否自啟動
playerType none 播放器 0:系統;1:IJK;2:EXO
timeout 15 播放超時 單位:秒
header none 請求標頭 格式:json
click none 點擊js javascript
catchup none 回看參數

樣式

欄位名稱 說明
type rect 矩形
oval 橢圓
list 列表
ratio 0.75 3:4
1.33 4:3

直式

{
  "style": {
    "type": "rect"
  }
}

橫式

{
  "style": {
    "type": "rect",
    "ratio": 1.33
  }
}

正方

{
  "style": {
    "type": "rect",
    "ratio": 1
  }
}

正圓

{
  "style": {
    "type": "oval"
  }
}

橢圓

{
  "style": {
    "type": "oval",
    "ratio": 1.1
  }
}

API

刷新詳情

http://127.0.0.1:9978/action?do=refresh&type=detail

刷新播放

http://127.0.0.1:9978/action?do=refresh&type=player

推送字幕

http://127.0.0.1:9978/action?do=refresh&type=subtitle&path=http://xxx

新增緩存字串

http://127.0.0.1:9978/cache?do=set&key=xxx&value=xxx

取得緩存字串

http://127.0.0.1:9978/cache?do=get&key=xxx

刪除緩存字串

http://127.0.0.1:9978/cache?do=del&key=xxx

Proxy

scheme 支持 http, https, socks4, socks5

scheme://username:password@host:port

配置 rules 新增 proxy 判斷 host 是否走代理

{
  "name": "proxy",
  "hosts": [
    "api.nivodz.com"
  ]
}

配置範例

點播-線上
點播-本地
直播-線上
直播-本地

飛機群

討論群組
發布頻道

贊助

photo_2024-01-10_11-39-12