yichengchen / atv-bilibili-demo Goto Github PK
View Code? Open in Web Editor NEWBiliBili Client Demo for Apple TV (tvOS)
License: GNU General Public License v2.0
BiliBili Client Demo for Apple TV (tvOS)
License: GNU General Public License v2.0
XCODE 14.1 TVOS16.1
请求失败,decodeFail(message:"未能读取数据,因为数据缺失。
valueNotFound(Swift. UnkeyedDecoding Container,
Swift.DecodingError.Context (coding Path: [CodingKeys(stringValue: "dash", intValue: nil), CodingKeys(stringValue: "dolby", int Value: nil),
CodingKeys(stringValue: |"audio|", intValue: nil) ], debugDescription: |"Cannot get unkeyed decoding container - - found null value instead.", underlyingError: nil))")
感谢作者,这个项目太伟大了,希望能坚持更新下去
tvOS 16.1.1 (20K80)
XCode Version 14.1
git 拉取最新代码,构建运行,过几秒即闪退。看xcode停留在
不晓得是不是获取ip没有权限,然后后面无法继续了。我现在强行给ip赋值"127.0.0.1"
,能“正常”运行了。但这肯定不对。。。
目前的关注功能是查看关注的up主近期发布的视频,但如果查看已关注up的老视频就只能在使用搜索。建议加在“我的”页面
题外话,功能设计上,
“稍后观看”表示对视频产生兴趣,但不一定会立即观看,时效性- 兴趣+;
“收藏”表示兴趣更高,但时效性稍弱,时效性--,兴趣++,
“关注”的up主属于经过观众个性化挑选,对多数视频都比较感兴趣的,通常第一时间及时看,老视频也会翻着看,时效++兴趣++
此时这三个功能共同组合每个人个性化的延后观看系统,其实我觉得如果不在“我的”页面放置,也许合并也是个可行的做法。
仅供参考
设置找了一圈没有发现相关设置,每次手动关闭挺麻烦的
目前小图和详情页面均没有播放量数据
多分P的视频/番剧进行连续播放
自动跳oped的功能
如: https://bilibili.com/video/BV1Jz411v76M
错误信息:未能读取数据,因为数据缺失/Cannot get unkeyed decoding container — found null value instead
显示为NoPlaybackURL
视频详情页的描述和评论对于较长内容会显示不完整,希望有“更多”按钮在描述区和热门评论。
重现方式:
1.在手机收藏番剧,添加到收藏夹的单独目录
2.电视上打开收藏,该目录是空白的。
https://bilibili.com/video/BV1sG411M74Y
播放器失败
-16839 "Core MediaErrorDomain” "未能完成操作。
(CoreMediaErrorDomain错
误-16839- Unable to get playlist before long download timer.) " unknownvideo
codecs:
avc1.640032,hev1.1.6.L150.90,avc1.640032,hev1.1.6.L150.90,avc1.640028, audio: mp4a.40.2,mp4a.40.2,mp4a.40.2
目前内容列表的功能只有推荐视频,点击查看up主其它视频是刚需, 比search使用频率还高些;
目前在json 只看到owner字段,能否在 推荐位 改为 up主视频list, 或者在推荐下面显示up主所有视频。这样会方便很多 ;
private func update(with json:JSON) {
print(json)
let data = json["data"]
titleLabel.text = data["title"].stringValue
upNameLabel.text = data["owner"]["name"].stringValue
let image = URL(string: data["pic"].stringValue)
coverImageView.kf.setImage(with: image)
backgroundImageView.kf.setImage(with: image)
现象:在详情页 播放 点赞 投币 收藏 和 不喜欢 五个按键下方是一排推荐视频
假设通过方向键在推荐视频向右翻,超过“不喜欢”按键 右下方的位置,此时按方向上键,光标无法移动
必须将光标先左移到上一排视图的位置才可上翻。
预期:光标在推荐视频在任何位置都可向上翻
手机APP里扫描之后会卡在验证登录界面,不停刷新
从#e4667d687c09a2版本起,我的真机运行构建后的app会直接崩溃
附件是错误日志
tvOS: 15.1.1
Xcode版本: 14.0.1
设备型号: Apple TV 4K (2nd generation)
crash.txt
When deleting video from watch later list, the app crashes:
Could not cast value of type 'BilibiliLive.ToViewData' (0x102e42220) to 'BilibiliLive.FeedData' (0x102e469b8).
This is caused by changes in 79c321d
我现在会装app,但是只会装7天有效期的。 下面是无限期app安装方法么?但我完全看不懂要怎么做才能破除7天有效期。能否稍微描述详细一点,谢谢!
未签名iPA文件
登录Github账号并在GitHub Action 页面 https://github.com/yichengchen/ATV-Bilibili-demo/actions/workflows/build.yml 寻找最新 run 的底部 Artifacts 下载
感觉就差这个功能就是个挺好用的b站客户端了。。大佬考虑下这个功能?
或者您能不能上架TestFlight呀,谢谢您。
在观看一些列表或者单一视频, 有时候需要循环播放同一个视频, 能否增加一个功能来支持单视频循环、列表循环等功能.
感谢团队,从产品角度来说提一些建议,
顶部导航栏“历史”和“稍后观看”是否可以考虑合并入“我的”?
原因:1.这两个项目是用户数据的体现,逻辑上属于“我的”;2.历史和稍后观看的使用时长低于导航栏目前现有一个单位的比例(2/6),本属于必要性强但频次低的项目。
视频背景的高斯模糊是否考虑增加一层半透明暗色背景
原因:由于部分视频封面较亮,作为背景时文字可读性不强,如果增加一层遮罩压暗,整体质感会有提升。
缺少推荐以外视频的启动机制
现象:在没有搜索和分区索引/排行的情况下,脱离其他设备,无法打开推荐内容以外的视频
搜索结果搜不到番剧
同时功能请求番剧的专区
以及番剧的季度关联
在最后一行没有铺满的情况下不会触发相关事件会导致无法加载
建议将
indexPath.row == _displayData.count - 1
修改为
indexPath.row >= _displayData.count - 2
提前进行加载
同时在这里判断finished变量似乎也会导致无法正常加载我直接移除这个条件后似乎工作正常
相关代码位置在
这里
Thanks to the team, the video list page does not seem to be able to refresh actively, the previous version can refresh the page by pressing the siri button. but now the version seems to no longer support this function, can you tell me how to refresh the page?
想跟大佬申请加一个 ”我的收藏” tab 等大佬有时间时 先谢谢大佬
如题
在我的-设置中,如画质选择一类会打开子菜单的设置项,如果进入后不想修改了,均无法通过返回按键进行返回。
Playing this video crashes after a few minutes due to memory leak:
https://www.bilibili.com/video/BV1WG4y1C7mT/
Adding autoreleasepool
around this while loop seems to mitigate the issue, but I'm not a tvOS developer, so not sure if this is the right fix. Memory usage is still growing, but slow enough to not crash.
Hi, just found you are using formater.dateFormat = "YYYY-MM-dd"
in DateFormatter.swift, and the year should be yyyy
.
xcode在appletv运行时,列表详情都正常,点击播放的时候提示“播放器失败 AVPlayerItemErrorlog:0x282749160”
希望设置中增加弹幕字号的调整
希望添加番剧支持
TVos 16
mater分支
点任意一个视频都显示请求失败,decodeFail
移动进度条时希望增加预览
首页的直播、推荐按钮搜索代码去掉了。
在视频detail页面的 “推荐视频”和“评论” 不知道如何取消,请好心人指导一下。
考虑增加搜索功能吗?
跟着视频生成了Apple TV的ipa文件 但是不知道之后怎么用
之前尝试自己修改plist 的暗色模式,其他页面都是暗色模式了,但是视频详情页面做了一层封面的底图模糊,去掉之后还是亮色的背景,想问下怎么去除
官方的弹幕渲染好像是描边,项目里是阴影,以及weight也有些细微差异
感恩开源,下班后有时间我把项目拉下来研究,先提个issue记录下
直觉预期:从详情页不小心点到收藏-点击返回按钮
现象:返回不起作用,需要多次按⬇️方向键以翻到底部点击返回。
建议:希望将返回按钮在此页面绑定为返回
The danmu mask in BMaskProvider doesn't match for some video, such as
https://www.bilibili.com/video/BV11x4y1g7yw/
There's a delay for the mask, and the delay increases as we watch the video.
Here's a screenshot using the red mask layer.
The issue is that the API returned an FPS of 29 for the mask data, while the actual FPS is about 30:
https://api.bilibili.com/x/player/v2?aid=990156715&cid=961806418
"dm_mask":{"cid":961806418,"plat":0,"fps":29,"time":0,"mask_url":"//upos-sz-staticcos-cmask.bilivideo.com/cmaskboss/961806418_29_0.webmask?trid=3c23696d105148cf8ef19b8a1c1ee4ccB\u0026orderid=0,1\u0026logo=00000000"}
The length of the video is 1512490 milliseconds, and the number of mask frames we get is 45283, so that's 45283/1512 = 29.949.
The issue doesn't happen on bilibili web, so I suspect that they have a different implementation that doesn't rely on the API data.
I'll see if I can come up with a fix. BTW, this is an awesome project!
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.