代码拉取完成,页面将自动刷新
同步操作将从 Afra55/Ncm2Mp3 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
$ pip install pycryptodome mutagen
$ pip install git+https://github.com/nondanee/ncmdump.git
$ ncmdump -h # equivalent to "python ncmdump/app.py -h" and "python -m ncmdump.app"
usage: ncmdump [-h] [-f format] [-o output] [-d] [-c | -r] [input [input ...]]
positional arguments:
input ncm file or folder path
optional arguments:
-h show this help message and exit
-f format customize naming format
-o output customize saving folder
-d delete source after conversion
-c overwrite file with the same name
-r auto rename if file name conflicts
Supported name format holder:
%artist%
,%title%
,%album%
from ncmdump import dump
def dump(input_path, output_path = None, skip = True):
'''
args:
input_path: a string of input file path
output_path: a string of output file path or a naming function
skip: a boolean controls conversion skipping when output file exists
returns:
a string of output file path or none if conversion is skipped
'''
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。