Git Product home page Git Product logo

nsdanmaku's People

Contributors

moetayuko avatar xiaoyaocz avatar zhzy0077 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

nsdanmaku's Issues

加油

支持这个应用。加油

请问能否fork一份自用

您好我又来了😂这边的代码我也想改改,征求一下许可。本来想提pull request的,但是改动有点乱,你看着有什么需要的直接搞回去就好。

打包成 nuget 包

作为一个类库的使用者,我需要使用第三方类库时尽量使用编译好的 nuget 包。我不希望我的 UWP 项目里面出现别人的源代码。

弹幕功能优化

像手机客户端一样可以过滤不同等级用户的弹幕

可以自定义弹幕的字体

高级弹幕解析异常

测试视频:BV1He41147Rs
错误发生时间戳:3:20

下载原始项目解析后,发现问题出现在Danmaku.xaml.cs文件第905行:

var rotateZ = Convert.ToDouble(data[5]);

在解析某一条高级弹幕时,data[5]的值是空字符串,导致无法解析为double,然后会报错。


由于测试用例有限,可能还会有其它类似的情况,可以考虑写一个方法来替换Convert.ToDouble(),比如:

private double ConvertDouble(object data, double defaultValue = 0d)
{
    try
    {
        return Convert.ToDouble(data);
    }
    catch (Exception)
    {
        return defaultValue;
    }
}

这样降低错误发生的风险。


感谢逍遥橙子的付出,这个项目帮我节省了大量的时间。

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.