9channel / dd-danmaku Goto Github PK
View Code? Open in Web Editor NEWEmby danmaku extension
License: MIT License
Emby danmaku extension
License: MIT License
项目规模已经到了需要使用正经一点的前端开发方式进行的地步了
refactor分支进行
我的emby更新到了4.8的版本,测试已经无法使用了,希望作者有空能支持一下新版本,感谢~
Version
Describe the bug
新版emby的application-name值为服务器的名称,因此靠application-name判断是否为emby会在这个版本上失效。就无法注入弹幕功能。可否考虑使用manifest.json进行判断,manifest.json的name值是能识别到emby的
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Screenshots
Additional context
其他什么都正常,但是没有弹幕,试了好几个片都这样有
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
Version
Describe the bug
emby for Mac 弹幕控件图标一直处于不可用状态(半透明),点击图标后变白但是弹幕功能未生效,再点击图标也无反应。
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
更新4.8后油猴添加脚本或服务器添加都无法生效了,作者能有空修一下吗
由于本人使用的Mac没有独显,所以浏览器播放下弹幕滚动帧率不太高。请问如何提高帧率?或者您可以对此优化一下该脚本吗?
第一次进某个视频,不能正常显示,必须手动搜索后正常有弹幕出现。
第二个问题是退出某个视频,换视频后不再显示按钮。
Is your feature request related to a problem? Please describe.
如间谍过家家在emby中视为一季,后半的第一集为S1E13,而弹弹play中为两部独立季度,导致后半根据emby EP号匹配异常,且前后相互覆盖 季 的匹配
Describe the solution you'd like
支持emby单item复数映射api的id,以ep号区间区分
Describe alternatives you've considered
N/A
Additional context
N/A
Version
Describe the bug
新版class再次变更
To Reproduce
N/A
Expected behavior
正常显示UI
Screenshots
N/A
Additional context
emby这个class天天改,后面改成元素内容定位吧 直接通过播放/暂停键的\ue034
定位父级元素
Version
[4.8.0.54]
Describe the bug
我把代码插入在index.html重启后没有弹幕的选项
To Reproduce
Steps to reproduce the behavior:
<body class="mainAnimatedPages skinBody">
<div class="backdropContainer"></div>
<div class="backgroundContainer"></div>
<div class="mainDrawer hide focuscontainer padded-bottom-page" is="emby-scroller" data-horizontal="false" data-focusscroll="true" data-navcommands="card" data
<div class="scrollSlider mainDrawerScrollSlider"></div>
</div>
<div class="skinHeader focuscontainer-x focuscontainer-up headroom flex align-items-center flex-grow headerTop">
<div class="headerLeft headerSection">
</div>
<div class="headerMiddle headerSection sectionTabs">
</div>
<div class="headerRight headerSection focuscontainer-right">
</div>
</div>
<div class="app-splash"></div>
<script src="apploader.js" defer></script>
<script src="https://cdn.jsdelivr.net/gh/RyoLee/emby-danmaku@gh-pages/ede.user.js" defer></script>
</body>
</html>
现在是这样的
我插入另一个弹幕插件的代码可以显示,但就是这个不行,不知道为什么
Expected behavior
就是出现弹幕按钮
Screenshots
无
Additional context
无
如2022/08/20故障为上游弹弹Play服务离线,遇到这种情况只能等待Kaedei大佬修复上游
现象比较明显的就是F12可以在console看到类似Failed to fetch的报错出现在fetch调用api.acplay.net接口的位置
Version
Describe the bug
在访问局域网部署的Emby时,使用匹配弹幕时,接口报CORS错误。
截图如下:
Additional context
#经测试,参照弹幕下载接口中的配置将"ede.js"中第307行(弹幕匹配接口)代码
let searchUrl = 'https://api.dandanplay.net/api/v2/search/episodes?anime=' + animeName + '&withRelated=true';
修改为
let searchUrl = 'https://api.9-ch.com/cors/https://api.dandanplay.net/api/v2/search/episodes?anime=' + animeName + '&withRelated=true';
后可以正常匹配
版本 [4.9.0.8]测试版
修改服务器端index.html文件方式
问题,播放页面没有弹幕开启按钮
RT,jellyfin 与 emby 有一些相似之处,不确定支持的难度如何,方便支持吗?
Emby iOS 2.2.5
有按钮,但是没有弹幕,试了几部番都这样,点搜索等按钮也无法弹出窗口
这是我修改后的ipa
https://drive.google.com/file/d/1JJFCQwxcQi6HjTSoMXfAjZ5SGv5juL6w/view?usp=share_link
https://github.com/xausky/emby-for-kitkat/releases
如果可以的话,用这个版本改出支持弹幕功能
Is your feature request related to a problem? Please describe.
为实现直接插入index.html,在匿名函数内置了jQuery,导致插件过大,且使用的jQuery功能可被简单实现替换
Describe the solution you'd like
使用原生js实现并替换jQuery选择器、ajax、wait插件
Describe alternatives you've considered
N/A
Additional context
N/A
电视端emby是否也能解包后修改
弹幕下载和加载都没问题,界面上按钮也都正常,但画面上就是出不来弹幕
Is your feature request related to a problem? Please describe.
部分大热门视频同屏弹幕密度过高
Describe the solution you'd like
允许配置弹幕密度限制, 密度超限时缩小字号
Describe alternatives you've considered
密度超限时丢弃部分弹幕
Additional context
N/A
有没有tv端的app发布啊,编译好弹幕的版本.实在不行手机端发布一个已经编译好的app也可以啊.大神
最新的EMBY(beta 4.8.0.46)
改了两处设置
if (document.querySelector('meta[name="application-name"]').content == 'Media Server') { //标题会变
// ------ configs start------
const check_interval = 200;
const chConverTtitle = ['当前状态: 未启用', '当前状态: 转换为简体', '当前状态: 转换为繁体'];
// 0:当前状态关闭 1:当前状态打开
const danmaku_icons = ['\uE0B9', '\uE7A2'];
const search_icon = '\uE881';
const translate_icon = '\uE927';
const info_icon = '\uE0E0';
const filter_icons = ['\uE3E0', '\uE3D0', '\uE3D1', '\uE3D2'];
const buttonOptions = {
class: 'paper-icon-button-light',
is: 'paper-icon-button-light',
};
const uiAnchorStr = '\uE034';
const mediaContainerQueryStr = "body > div.videoPlayerContainer > div"; //video-osd不存在
const mediaQueryStr = 'video';
未修改前 不会出现弹幕
修改后 弹幕出现几秒就消失
Version
Describe the bug
将 <script src="https://cdn.jsdelivr.net/gh/RyoLee/emby-danmaku@gh-pages/ede.user.js" defer></script>
添加至 index.html后无效果 打不开 (一直在启动界面) Android 端一样 重新打包签名后试过
将 <script type="text/javascript" src="https://cdn.jsdelivr.net/gh/RyoLee/emby-danmaku@gh-pages/ede.user.js"></script>
添加至 index.html 可以打开但是播放时无弹幕 但有显示控件 不过控件点了没效果 Android 端一样 重新打包签名后试过
开发辛苦,插件很好用,就是在电视上看不太能看得清,希望加个粗体功能
Is your feature request related to a problem? Please describe.
需要同步屏蔽列表
Describe the solution you'd like
允许通过文件方式导入屏蔽列表
Describe alternatives you've considered
N/A
Additional context
N/A
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.