Results 168 comments of Star Brilliant

另外,我用`@export`标注了可以对外开放并可以`import danmaku2ass`后安全调用的几个函数,`Danmaku2ASS`是你需要使用的主函数。

我已经成功将Danmaku2ASS移植到Python 2.7环境了,放在[py2](https://github.com/m13253/danmaku2ass/tree/py2)分支,以适应XBMC运行环境。我这边已经全部准备好了,希望你能考虑一下。 (吐嘈:总共699行代码,Python 3到Python 2移植变更了399行代码!!!`3to2`出来的程序还需要手动修改!!!) 如果你想看Danmaku2ASS转换出来的实际效果,请观看这两个优酷视频: [[1]](http://v.youku.com/v_show/id_XNjMyODA0MTQw.html) [[2]](http://v.youku.com/v_show/id_XNjM1OTM2MjY4.html) 。你绝对不会失望的。

嗯。我也试过写 XBMC 插件,最后因为 API 太复杂搞不懂而作罢。 现在我写了一个轻量级前端 https://github.com/m13253/BiliDan 不过还没有搜索功能。虽然看新番需要的功能都齐了。

才发现邮件客户端把我的回复搞乱码了……重发: 嗯。我也试过写 XBMC 插件,最后因为 API 太复杂搞不懂而作罢。 现在我写了一个轻量级前端 https://github.com/m13253/BiliDan 不过还没有搜索功能。虽然看新番需要的功能都齐了。

> D 为 avplayer 社区提供每年至少 十万元的捐赠,成为白金赞助商. 你逗我?有十万元公司可以雇佣一个团队重新实现了。

感谢您的贡献! 这个项目终于后继有人啦!

Thanks for reporting! My memory could be wrong but I remember, if the upstream returns a ServFail, doh-server will not log anything, but simply forward the ServFail to the client....

If you have an Nginx frontend, simply removing X-Forwarded-For and X-Real-IP would be enough.

Doh-server is programmed to require the client IP to be a globally routable IP. (In other words, if your server is in the same private network with your client, doh-server...