Code Monkey home page Code Monkey logo

Comments (5)

zhengfan2014 avatar zhengfan2014 commented on May 24, 2024

目前暂无弹幕功能,因为kodi目前不支持xml字幕(弹幕),不过中文插件库的bilibili有弹幕功能,是通过xml转ass字幕实现的,还是有实现的可能的。

from xbmc-kodi-private-china-addons.

shaolin-kongfu avatar shaolin-kongfu commented on May 24, 2024

我也觉得可以调用其他开发者的项目链接去下载xml再转成ass,大佬有打算开发吗?

from xbmc-kodi-private-china-addons.

zhengfan2014 avatar zhengfan2014 commented on May 24, 2024

我也觉得可以调用其他开发者的项目链接去下载xml再转成ass,大佬有打算开发吗?

有这个打算,不过以我目前的三脚猫编程短时间内可能写不出来😂

from xbmc-kodi-private-china-addons.

shaolin-kongfu avatar shaolin-kongfu commented on May 24, 2024

我编写了下载xml以及转换为ass的部分(需要aid)
https://github.com/shaolin-kongfu/danmu
大佬把它缝合到你的项目里试试??
我刚学python,看到你的代码2000+行,头有点晕

from xbmc-kodi-private-china-addons.

zhengfan2014 avatar zhengfan2014 commented on May 24, 2024

我编写了下载xml以及转换为ass的部分(需要aid)
https://github.com/shaolin-kongfu/danmu
大佬把它缝合到你的项目里试试??
我刚学python,看到你的代码2000+行,头有点晕

wow,谢谢,不过缝合到我的项目可能还需要一些时间。我的想法是写成独立的字幕插件,这样就可以在视频播放途中随时打开/关闭弹幕,不过字幕插件我从来没写过,网上的适合萌新的参考资料也少,所以短时间内可能做不出来😂

看代码晕挺正常的,说实话现在我看taxigps大佬的字幕插件代码也晕,我建议先从简单的入手,比如那个停更的澎湃插件,用个vscode,边运行,边调试。你可以尝试把所有代码删光,保留import 那些还有入口文件,然后看kodi.log报错,差什么补什么,理解一下整个澎湃插件的运行流程。然后再研究更复杂的

附几个可能有帮助的文档:
xbmcswift2文档:https://xbmcswift2.readthedocs.io/en/latest/
kodi的python文档:https://codedocs.xyz/xbmc/xbmc/group__python.html

from xbmc-kodi-private-china-addons.

Related Issues (20)

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.