Skip to content
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

跳过已下载的机制 #19

Open
weakish opened this issue Sep 21, 2017 · 0 comments
Open

跳过已下载的机制 #19

weakish opened this issue Sep 21, 2017 · 0 comments

Comments

@weakish
Copy link

weakish commented Sep 21, 2017

目前跳过已下载的机制是通过检测是否有同名文件存在的。
这就限定:

  1. 所有的音乐都下载到同一台电脑的同一个文件夹
  2. 下载了以后你不想保留了,为了以后能检测重复也不能删

也就是说,ncm的适用场景是用于下载歌曲后永久保存,不适用于一下场景:

  1. 多台电脑,同时使用ncm
  2. 随听随删而又不想或不能用网易云客户端

也许可以额外记录网易云音乐的歌曲 id 来检测重复。
然后这个历史文件可以用 git 或 dropbox 之类的东西管理,
也可由ncm本身实现同步。

我当前即尝试记录歌曲 id, 然后历史文件用 git 管理,调用ncm下载单曲。

可参考 weakish/fm163

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

No branches or pull requests

1 participant