Skip to content

files smaller than 200MB will be saved in an extra child folder #286

@helloSpookle

Description

@helloSpookle

Describe the bug
.ts files smaller than 200MB in folder will be saved in an extra child folder with the same folder name
文件体积≤200MB的 .ts 文件(MPEG-TS)将会在保存时 创建与所在文件夹同名的 额外子目录。

To Reproduce
Steps to reproduce the behavior:

  1. Start service on a phone and connect from PC Web Browser
  2. Click on 'Files' to access files on the phone, and select a folder to store new files, e.g. /path
  3. Click on Upload -> Upload Folder
  4. Select a folder which contains one or more .ts files, let's call it /test
  5. Wait for transfer to be done
  6. Check the folder /path on the phone, .ts files greater than 200MB and other type files are already located in /path/test
  7. But smaller files are inside /path/test/test/

Expected behavior
All the files should be laid in /path/test/

Desktop (please complete the following information):

  • OS: [Windows 10]
  • Browser [Chromium]
  • Version [138.0.7204.298]

Smartphone (please complete the following information):

  • Device: [Redmi Note12T Pro & Vivo Y200t]
  • OS: [Android 13 & 14]
  • App Version: [3.0.1 & 2.1.22]

Additional context
Filling a small file up to 200MB makes the problem disappear.
如果将一个本来会触发bug的ts文件填充到200M以上,就不会在手机上出现额外的子文件夹。试着让AI分析了可能的成因,答曰是接收端将其视为HLS流媒体视频分片,故而为其套用了HLS目录规范造成的。

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions