Git Product home page Git Product logo

acfunqml's Introduction

声明

本软件非Acfun官方产品,不做任何商业用途,不涉及破解,仅用于学习交流,开发者不会以任何形式为软件本体收费,也不对此开通任何捐赠渠道。用户数据仅在用户与Acfun之间流通,开发者不会窃取任何数据,不会存储用户A站密码(会加密存储认证token到用户本地PC),他人经开源等渠道使用本代码衍生的任何软件与本人无关,请注意A站账户安全。

Introduction

AcfunQml is a thirdparty desktop App of Acfun Video & Danmaku wibsite, build on Qt 5 & Qt Quick 2.x (Qml) & QmlVlc (based on libvlc).

Features

  • Login Acfun and show basic user infomation
    • do not save username/password
    • save token by qtkeychain, auto login next time
  • Load Acfun Top Rank Videos
  • Load Acfun Videos in deferent channels
  • Video
    • pause/resume
    • speed 0.5/1.0/1.5/2.0
    • jump position
    • fill App
    • full Screen
    • mini window
    • resolution change (TODO)
  • Danmaku
    • fly
    • top
    • bottom
    • pause/resume
    • modify display opacity
    • send danmaku
      • font size
      • color
      • mode
  • Banana
  • Favorite
    • add favorite
    • remote favorite
    • favorite list (TODO)
  • Like
    • Like count
    • like/unlike (TODO)
  • Comment
    • show comment
    • send comment (TODO)
    • ac emotion
  • Index Page Video List (TODO)
  • Video Search (TODO)
  • Home page (TODO)
  • Circle page (TODO)
  • Article page (TODO)
  • Setting
    • Hard decode (with problems)
    • Language change
    • Skin change (simple)

遇到的问题

  • 登陆后获取到一些认证信息 acPassToken acSecurity等, 但使用这些作为Cookies 无法成功请求用户详情,发送弹幕等需要用户认证的api。 acPassToken改为acPasstoken

  • 硬解码不生效

  • 启动慢 appIcon字符串几千个太多没用到->开发后完删除多余的

  • 弹幕处理逻辑不行,同一时间戳弹幕会被覆盖,显示不下的也直接丢掉了

ScreenShots

shot shot shot shot

Requirements

  • Qt 5.12.0 or later
  • Qt Quick 2.0 or later
  • Libvlc 3.0 or later

Build

  • Download libvlc library (http://ftp.gnome.org/mirror/videolan.org/vlc/last/)

  • Build QmlVlc (https://github.com/baoyuanle/QmlVlc)

  • Windows:

    • unzip if you download zip package, install if you download the execute package.

    • copy lib and include folder to 3rdparty/vlc/.

      • declare typedef __int64 ssize_t; in vlc.h file if you compile on x64.
      • change #include <vlc/xxx.h> to #include <xxx.h>(remove vlc/) if could not find header files.
    • copy dynamic link library (dll) files and plugins to {project}/bin path (the build path)

      Folder tree like:

        AcfunQml
      	|
      	+--bin
      	|  |
      	|   +--plugins
      	|   +--QmlVlc
      	|  |
      	|  |   +--qmldir
      	|  |   +--QmlVlcPlugin.dll
      	|  |
      	|   +--libvlc.dll
      	|   +--libvlccore.dll
      	|   +--ssleay32.dll
      	|   +--libeay32.dll
      	|   +--acfunqml.exe
      	|
      	+--src
      	+--AcfunQml.pro
      
    • make ts / qm (translation files)

      • goto \src\trans
      • fix your lupdatePath in trans_update.bat and run
      • run Trans.bat(可选,很慢,自行决定,免费翻译API限制每秒1次翻译请求)(https://github.com/jaredtao/Transer)
      • fix your lreleasePath in trans_release.bat and run
    • open the AcfunQml.pro with Qt Creator

    • build and run

  • Mac:

    TODO

  • Linux:

    TODO

LICENSE

Copyright © baoyuanle Under the DBAD LICENSE

The project dependent on some other opensource project , see LICENSES_third

Thanks

麻菜 mcplayer(https://github.com/yuriyoung/mcplayer)

涛哥 TaoQuick(https://github.com/jaredtao/TaoQuick)

RSATom QmlVlc(https://github.com/RSATom/QmlVlc)

qyvlik HttpRequest(https://github.com/qyvlik/HttpRequest)

BANKA2017(https://github.com/BANKA2017/Acsign)

梓喵出没(https://www.azimiao.com/5882.html)

qtkeychain(https://github.com/frankosterfeld/qtkeychain)

zhengtianzuo(https://github.com/zhengtianzuo)

软件交互视觉很大程度上参考云之幻UWP应用哔哩

acfunqml's People

Contributors

goplayegg avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.