Skip to content

yunboxtvj/TVBoxOS-Mobile

 
 

Repository files navigation

TVBoxMobile

发现在用的几个手机版并未开源,无法添加一些个性化功能 持续优化中

基于

=== Source Code - Editing the app default settings === /src/main/java/com/github/tvbox/osc/base/App.java

private void initParams() {

    putDefault(HawkConfig.HOME_REC, 0);                  //推荐: 0=豆瓣热播, 1=站点推荐
    putDefault(HawkConfig.PLAY_TYPE, 2);                 //播放器: 0=系统, 1=IJK, 2=Exo
    putDefault(HawkConfig.IJK_CODEC, "硬解码");           //IJK解码: 软解码, 硬解码
    putDefault(HawkConfig.BACKGROUND_PLAY_TYPE,2);       //后台播放: 0 关闭,1 开启,2 画中画
    putDefault(HawkConfig.PARSE_WEBVIEW, true);          //嗅探Webview: true=系统自带, false=XWalkView
    putDefault(HawkConfig.DOH_URL, 0);                   //安全DNS: 0=关闭, 1=腾讯, 2=阿里, 3=360, 4=Google, 5=AdGuard, 6=Quad9
    putDefault(HawkConfig.PLAY_SCALE, 0);                //画面缩放: 0=默认, 1=16:9, 2=4:3, 3=填充, 4=原始, 5=裁剪

}

About

TVBox手机版

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 81.1%
  • Kotlin 6.8%
  • JavaScript 6.7%
  • CSS 4.9%
  • HTML 0.5%