Skip to content

Commit 9f13e77

Browse files
committed
释放空格占用,修改自述文件
1 parent b7fecab commit 9f13e77

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

README.md

+6-7
Original file line numberDiff line numberDiff line change
@@ -52,20 +52,19 @@
5252

5353
### 常规
5454

55-
- 哔哩助理保留了常用的B站功能,但在开始使用前,你必须扫码登录自己的B站账户
55+
- 哔哩助理推荐使用扫码登录,但是如果你扫码失败,可以尝试网页登录
5656
- 对于 ARM64 设备,如果你使用 Win11,可以直接下载 x64 安装包使用
57-
- 对于 Windows 10 设备,未来会逐步放弃支持
58-
- 应用主窗口大小宽度固定,不可调整。其它子窗口如播放窗口、图片窗口等则可以自由调整。
57+
- 对于 Windows 10 设备,未来会逐步放弃支持,目前支持到 19041.
5958
- 应用采用卡片式设计,对于卡片,右键单击也许会有惊喜
6059
- 其他的懒得写了,自己把玩吧
6160

6261
### 播放器
6362

64-
哔哩助理支持 Windows 原生的 MediaPlayer 播放解决方案,但是对于直播流的支持有限。
63+
哔哩助理支持三种播放方案:
6564

66-
于是在哔哩助理中使用了基于 ffmpeg 的 [Flyleaf](https://github.com/SuRGeoNix/Flyleaf) 作为播放器,并根据实际情况进行了代码优化
67-
68-
你可以在设置中根据自己的需要切换播放器类型。对于直播,将强制使用 ffmpeg 进行播放
65+
1. 原生,即 Windows 的 MediaPlayer,渲染效果最好(可以利用Windows扩展以支持杜比视界),但缺点在于对 4K 以上的清晰度支持有限,优先支持 AVC/H264 串流,暂不支持直播流
66+
2. [Flyleaf](https://github.com/SuRGeoNix/Flyleaf),该播放器基于 FFmpeg,什么都能放,但是不支持杜比,是直播的默认播放器。
67+
3. 网页播放,使用 WebView2 直接访问B站播放页面,播放问题最少,但是暂未提供对 HDR/杜比视界 等特殊视频格式的支持(和网页版一致)
6968

7069
## 模块
7170

src/App/Forms/PlayerWindow.xaml.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -165,10 +165,10 @@ private void OnWindowKeyDown(object sender, PlayerKeyboardEventArgs e)
165165
}
166166
}
167167

168-
e.Handled = true;
169-
if (MainFrame.Content is VideoPlayerPageBase page)
168+
e.Handled = MainFrame.Content is not WebPlayerPage;
169+
if (MainFrame.Content is VideoPlayerPage videoPage)
170170
{
171-
page.ViewModel.PlayerDetail.PlayPauseCommand.Execute(default);
171+
videoPage.ViewModel.PlayerDetail.PlayPauseCommand.Execute(default);
172172
}
173173
else if (MainFrame.Content is LivePlayerPage livePage)
174174
{

0 commit comments

Comments
 (0)