-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
一些细节导致歌词歌曲名匹配不上 #166
Comments
“歌曲名的最后一个字为点时网易云不会输出该点而该软件会” :说实话这反而听起来像是网易云的问题,因为哪怕字符串的最后一位是点,也没有理由不输出完整的曲名/艺术家名(涉及到不允许的特殊字符时除外)... 还有据我所知,Windows环境下的文件名并不允许标准斜杠“/”,所以上面的斜杠实际上其实都不是标准的,不允许的字符我个人都用下划线“_”代替(只是自己的方案,仅作参考) |
|
这里让chatgpt生成了一个批处理脚本,因为我也遇到了这个问题,解决方法是把歌词文件的.也去掉 @echo off
setlocal enabledelayedexpansion
for %%i in (*.*) do (
set "filename=%%~ni"
set "extension=%%~xi"
set "last_char=!filename:~-1!"
if "!last_char!" == "." (
set "new_filename=!filename:~0,-1!!extension!"
ren "%%i" "!new_filename!"
echo "%%i" has been renamed to "!new_filename!"
)
)
|
歌词文件中的斜杠和点与网易云下载的文件名不同
eg.
歌词文件名:EXEC_EP=NOVA⁄. - 志方あきこ
歌曲文件名:EXEC_EP=NOVA/. - 志方あきこ
歌曲名的最后一个字为点时网易云不会输出该点而该软件会
eg.
该软件:Ahih rei-yah - V.A..lrc
网易云:Ahih rei-yah - V.A.flac
会导致一些播放器匹配不了.....
恳请您修复一下
The text was updated successfully, but these errors were encountered: