Skip to content

Commit 2b55a99

Browse files
committed
1.5.9
新增文件管理器,支持查看、下载、上传、删除及文件预览
1 parent 3f10cb9 commit 2b55a99

File tree

14 files changed

+629
-207
lines changed

14 files changed

+629
-207
lines changed

README.md

+5-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
# MYScrcpy V1.5.8
1+
# MYScrcpy V1.5.9
22

33
---
44

55
### [README in English](https://github.com/me2sy/MYScrcpy/blob/main/README_EN.md)
66

77
### python语言实现的一个 [**Scrcpy**](https://github.com/Genymobile/scrcpy/) 客户端。包含完整的视频、音频、控制解析及展现,**开发友好,引入即用!**
88

9-
采用 [**DearPyGui**](https://github.com/hoffstadt/DearPyGui) 作为主要GUI。 支持窗口位置记忆、右键手势控制、断线重连、文件拷贝、虚拟摄像头投屏、中文输入,锁屏密码解锁等功能。
9+
采用 [**DearPyGui**](https://github.com/hoffstadt/DearPyGui) 作为主要GUI。 支持窗口位置记忆、右键手势控制、断线重连、文件管理器、虚拟摄像头投屏、中文输入,锁屏密码解锁等功能。
1010

1111
高速模式使用[**pygame**](https://www.pygame.org/)作为鼠标及键盘控制映射GUI。提供鼠标隐藏、按键事件监听等功能, 适用于第一人称相关应用的按键映射。
1212

@@ -26,6 +26,7 @@
2626
- 按需最小化引用。支持**Termux**上安装部署服务,支持局域网WEB浏览,[**安装部署教程**](https://github.com/me2sy/MYScrcpy/blob/main/files/doc/MYScrcpy_with_Termux.md)
2727

2828
### GUI
29+
- **1.5.9 NEW** 新增文件管理器,支持设备文件管理,下载、上传及预览 [**帮助文档**](https://github.com/me2sy/MYScrcpy/blob/main/files/doc/help/file_manager/Help_file_manager.md)
2930
- **1.5.8 NEW** 支持Windows系统下,文件传输功能
3031
- 使用右键手势 下|上 快速拷贝
3132
- 也可使用 VAC -> Control -> CopyToDevice 使用
@@ -50,7 +51,7 @@
5051
- 拉动窗口,进行自由伸缩
5152
- 根据高度/宽度,自动调整窗口至视频比例
5253
- 支持虚拟摄像头
53-
- **1.5.7 NEW** **命令行启动 mysc-t-vc** [**帮助文档**](https://github.com/me2sy/MYScrcpy/blob/main/files/doc/Help_tools_vc_v1.md)
54+
- **1.5.7 NEW** **命令行启动 mysc-t-vc** [**帮助文档**](https://github.com/me2sy/MYScrcpy/blob/main/files/doc/help/Help_tools_vc_v1.md)
5455
- 随时开启,随时关闭,随时切换设备
5556
- 支持OBS虚拟摄像头/Unity Capture(windows)/v4l2loopback
5657

@@ -285,6 +286,7 @@ MYScrcpy是MY(Mxx & ysY)系列的开始,接下来,将继续开发完善
285286
本人及本项目不对以上产生的相关后果负相关责任,请斟酌使用。
286287

287288
## 更新日志
289+
- **1.5.9 NEW** 新增文件管理器,支持设备文件管理,下载、上传及预览
288290
- **1.5.8 NEW** 支持文件/文件夹/截屏一键拷贝至设备
289291
- **1.5.8 NEW** 支持输出原始视频/音频流
290292
- **1.5.7 NEW** CLI启动虚拟摄像头
@@ -315,16 +317,12 @@ MYScrcpy是MY(Mxx & ysY)系列的开始,接下来,将继续开发完善
315317
- 实现了控制按键映射,鼠标映射
316318
- 实现了UHID-Mouse与鼠标点击混用,可以实现Android界面中鼠标与PC混用模式
317319
- 实现了UHID-Keyboard,支持模拟外接键盘,直接输入中文(搜狗输入法测试通过)
318-
- 实现了SharedMemory,不同进程间通过内存低延迟共享视频画面
319-
- 实现了ZMQ通讯,使用ZMQ pull/push 对手机进行控制
320320
- 实现了DPG GUI下,鼠标滚轮缩放、滑动等功能
321321
- 实现了设备锁屏下,通过InputPad输入密码解锁功能
322322
- DPG GUI下设备翻转图像自动调整,无限制拉伸缩放等功能
323323
- 实现了Ctrl调节鼠标移动速度功能
324324
- 采用TwinWindow思路,解决DPG控件无法重叠问题,实现DPG控制映射编辑器(TPEditor)
325325
- 纯Pygame控制模式下,最低延迟在6ms
326-
- 实现Audio ZMQ Server, 以ZMQ发布模式,通过网络Socket传输音频流,可以实现远程声音传输、MIC监听等更多可能
327-
- 低Android版本设备友好,自动判断版本并禁用Audio、Camera、UHID等功能。为实现更好效果,建议使用Android 12版本以上设备
328326

329327

330328
## 开发计划

README_EN.md

+5-7
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# MYScrcpy V1.5.8
1+
# MYScrcpy V1.5.9
22

33
---
44

@@ -8,7 +8,7 @@ A [**Scrcpy**](https://github.com/Genymobile/scrcpy/) client implemented in **Py
88

99
Includes comprehensive video, audio, and control flow parsing and presentation. **Developer-friendly, Just pip install and ready to go!**
1010

11-
Uses [**DearPyGui**](https://github.com/hoffstadt/DearPyGui) as the main GUI. Supports Window Position Record, Right-click gesture control, Virtual Cameras, Chinese input, unlocking screen passwords, and other features.
11+
Uses [**DearPyGui**](https://github.com/hoffstadt/DearPyGui) as the main GUI. Supports Window Position Record, Right-click gesture control, Virtual Cameras, File Manager, Chinese input, unlocking screen passwords, and other features.
1212

1313
In some control proxy scenarios, [**pygame**](https://www.pygame.org/) is used for mouse and keyboard control mapping GUI.
1414

@@ -30,6 +30,7 @@ Pygame provides features such as mouse hiding and key event listening, suitable
3030
- Minimize references on demand. Core can be deployed in **Termux**, Web GUI in LAN. [**Installation Tutorial**](https://github.com/me2sy/MYScrcpy/blob/main/files/doc/MYScrcpy_with_Termux.md)
3131

3232
### GUI
33+
- **1.5.9 NEW** File Manager with upload, download, delete and more [**HowTo**](https://github.com/me2sy/MYScrcpy/blob/main/files/doc/help/file_manager/Help_file_manager.md)
3334
- **1.5.8 NEW** Supports file transfer on Windows systems
3435
- Use the right-click gesture Down|Up to quickly copy
3536
- Alternatively, use VAC -> Control -> CopyToDevice
@@ -55,7 +56,7 @@ Pygame provides features such as mouse hiding and key event listening, suitable
5556
- Pull the window for free scaling
5657
- Automatically scale the window to video based on height/width
5758
- Support for virtual cameras
58-
- **1.5.7 NEW** **CLI start ```mysc-t-vc```** [**HowTo**](https://github.com/me2sy/MYScrcpy/blob/main/files/doc/Help_tools_vc_v1.md)
59+
- **1.5.7 NEW** **CLI start ```mysc-t-vc```** [**HowTo**](https://github.com/me2sy/MYScrcpy/blob/main/files/doc/help/Help_tools_vc_v1.md)
5960
- On, off, switch devices at any time
6061
- Support OBS Virtual Camera /Unity Capture(windows)/v4l2loopback(Linux)
6162

@@ -290,6 +291,7 @@ The author and this project are not responsible for any related consequences res
290291
## ChangeLog
291292

292293
---
294+
- **1.5.9 NEW** File Manager with upload, download, delete and more
293295
- **1.5.8 NEW** Support Copy Files or Dirs or ScreenShot from pc to device
294296
- **1.5.8 NEW** Raw Video/Audio Stream Output
295297
- **1.5.7 NEW** CLI Virtual Camera
@@ -319,16 +321,12 @@ The author and this project are not responsible for any related consequences res
319321
- Control key mapping and mouse mapping
320322
- Mixed use of UHID-Mouse and mouse clicks, enabling mixed use of mouse on Android and PC interfaces
321323
- UHID-Keyboard for simulating an external keyboard, supporting direct Chinese input (tested with Sogou Input Method)
322-
- SharedMemory for low-latency video frame sharing between processes
323-
- ZMQ communication using ZMQ pull/push for controlling the phone
324324
- Mouse wheel zoom, scroll functions under DPG GUI
325325
- Unlock device screen using InputPad to input password
326326
- Automatic adjustment of device video stream rotation and unrestricted zooming under DPG GUI
327327
- Adjust mouse movement speed with Ctrl In Game Mode
328328
- TwinWindow approach to solve DPG widget overlap issues, implementing DPG control mapping editor (**TPEditor**)
329329
- Minimum latency of 7ms in pure Pygame control mode
330-
- Audio ZMQ Server to transmit audio streams over network sockets, enabling remote sound transmission, MIC monitoring, and more
331-
- Friendly to low Android version devices, automatically disabling Audio, Camera, UHID, etc., for better performance, recommended **Android 12** or above
332330

333331
## Development Plan
334332

File renamed without changes.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# Tools Help
2+
## File Manager
3+
4+
---
5+
6+
![文件管理面板](/files/doc/help/file_manager/file_manager_1_5_9.jpg)
7+
8+
### 简介
9+
10+
---
11+
12+
- 文件管理面板位于侧边面板,点击侧边栏按钮,打开侧边面板
13+
14+
![侧边栏按钮](/files/doc/help/file_manager/img.png)
15+
16+
- 默认打开路径 ```/storage/emulated/0```
17+
- 文件管理面板,上方为功能区,下方为文件路径
18+
19+
![文件管理面板](/files/doc/help/file_manager/img_1.png)
20+
21+
### 按键及使用方法
22+
23+
---
24+
25+
1. ```F``` 打开默认PC下载保存文件夹
26+
2. ```UP``` 上传剪贴板中文件至**当前**目录
27+
> 注意,若使用粘贴手势,文件将粘贴至默认(MYScrcpy)目录下
28+
3. ```DLD``` 下载选中文件
29+
4. ```DEL``` 删除选中文件
30+
5. ```0 selected``` 选中文件数,鼠标悬浮上可看到选中列表
31+
6. ```A``` 全部选中
32+
7. ```C``` 取消选中
33+
8. 过滤框,过滤当前目录下文件
34+
1. xx,xx 并选
35+
2. -xx 排除
36+
> 注意,全部选中此处****生效!
37+
9. ```R``` 刷新当前目录
38+
10. ```..``` 返回上级
39+
11. 当前目录
40+
12. ```cb``` 序号&功能列
41+
- 左键序号,选中当前路径/文件,支持多选
42+
- 右键序号,进行预览(文件 < 50MB),下载及删除
43+
13. ```path``` 目录/文件,
44+
- 目录前带 ```>``` 符号,点击进入该目录
45+
- 鼠标悬浮可查看详细信息
Loading

files/doc/help/file_manager/img.png

12.9 KB
Loading

files/doc/help/file_manager/img_1.png

10.6 KB
Loading

pyproject.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "mysc"
7-
version = "1.5.8"
7+
version = "1.5.9"
88
authors = [
99
{name = "Me2sY", email = "me2sy@outlook.com"}
1010
]
11-
description = "A Scrcpy client implemented in Python. Gui with dearpygui/pygame. With Video, Audio, also Control. GUI Supports Key Proxy, window position record, right-click gesture control, Virtual Camera, UHID Keyboard and Chinese input and more."
11+
description = "A Scrcpy client implemented in Python. Gui with dearpygui/pygame. With Video, Audio, also Control. GUI Supports Key Proxy, window position record, right-click gesture control, File Manager, Virtual Camera, UHID Keyboard and Chinese input and more."
1212
readme = "README.md"
1313
requires-python = ">= 3.11"
1414
keywords = ["scrcpy", "android", "adbutils", "av", "numpy", "DearPyGui", "Pygame", "adb", "pyaudio"]

0 commit comments

Comments
 (0)