Skip to content
This repository has been archived by the owner on Mar 17, 2024. It is now read-only.

关于整张专辑的转换 #10

Closed
gongbohua opened this issue Jan 13, 2023 · 4 comments
Closed

关于整张专辑的转换 #10

gongbohua opened this issue Jan 13, 2023 · 4 comments

Comments

@gongbohua
Copy link

想请教下,有没有整张专辑内所有歌曲批量转换的方法?还是只能一个个单独破解?
谢谢赐教。

@nukemiko
Copy link
Owner

命令行可以接受多首歌曲的文件路径。你可以打开终端窗口或命令提示符,输入 takiyasha,然后把要转换的歌曲全拖进窗口,一起转换。

@nukemiko
Copy link
Owner

但是注意一次不要拖太多,因为当前版本的 takiyasha 其并行模式是基于多进程的,而又没有做进程数限制,一次进行太多转换任务可能会把系统可用运行内存挤爆。

@gongbohua
Copy link
Author

非常感谢

@JMC2002
Copy link

JMC2002 commented Oct 4, 2023

可以使用批处理命令实现这个需求:

Get-ChildItem -Directory -Recurse | ForEach-Object {
   $Folder = $_
   #  Write-Host "Processing folder: $_"
   cd $_
   Get-ChildItem -Filter "*.mgg" | ForEach-Object {
     $FileName = $_
     #  Write-Host "Processing song: $FileName"
     takiyasha -v $FileName #--ds --try-fallback
   }
   cd ..
}

不过这样没有用到并行了,可以自己处理一下

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants