alist-org / alist

🗂️A file list/WebDAV program that supports multiple storages, powered by Gin and Solidjs. / 一个支持多存储的文件列表/WebDAV程序,使用 Gin 和 Solidjs。
https://alist.nn.ci
GNU Affero General Public License v3.0
42.22k stars 5.47k forks source link

部分视频因路径中文问题导致无法播放 #1471

Closed Nakano39 closed 2 years ago

Nakano39 commented 2 years ago

Please make sure of the following things

Alist Version / Alist 版本

v2.6.1-0-geb15bce-dirty

Driver used / 使用的存储驱动

BaiduNetdisk

Describe the bug / 问题描述

首先发现文件名为中文,观察日志中报path not found或not file错误, 故将文件名及上级文件路径改成全英文,此时日志中不出现报错 而这些视频文件在百度网盘中均能在线播放,不存在文件损坏问题 最后发现:如存在中文字符,网页版能够正确打开的话,可以正常使用 如网页版不能正确打开,需要使用potplayer打开,则需将路径中等中文修改才能正常播放 望修复! 如不能修复,希望提供解决方案!

Reproduction / 复现链接

https://pan.baidu.com/s/1_G6A8F-H90M_2h85sa62UQ#list/path=%2F 提取码:1234

Logs / 日志

ERRO[2022-08-09 00:12:34] path not found
[GIN] 2022/08/09 - 00:12:34 | 200 |         983µs |       127.0.0.1 | GET      "/d/BaiDuGuo/LiangJian/亮å\u0089\u009103.mp4"
ERRO[2022-08-09 00:12:34] not file
[GIN] 2022/08/09 - 00:12:34 | 200 |            0s |       127.0.0.1 | GET      "/d/BaiDuGuo/LiangJian/??????03.mp4"
welcome[bot] commented 2 years ago

Thanks for opening your first issue here! Be sure to follow the issue template!

github-actions[bot] commented 2 years ago

Hello @Nakano39, your issue is a duplicate and will be closed. 你好 @Nakano39,你的issue是重复的,将被关闭。