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

如果想缓存过歌曲下次再播放这个歌曲就不用缓存直接播放本地的.改怎么修改? #8

Closed
gaohengwei opened this issue Nov 14, 2016 · 4 comments

Comments

@gaohengwei
Copy link

gaohengwei commented Nov 14, 2016

当我缓存第二个歌曲的时候.会把第一首歌给覆盖掉.文件中始终就是只有一首歌

@vitoziv
Copy link
Owner

vitoziv commented Nov 18, 2016

可以用 [VICacheManager cachedFilePathForURL:(NSURL *)url] 获取歌曲文件地址

@gaohengwei
Copy link
Author

gaohengwei commented Nov 18, 2016

还是不行.要不你加下我QQ吧347246732
每次就只能缓冲一首歌.我们的需求是每次都缓冲.然后自己清理缓冲,改怎么调整
snip20161118_2

@vitoziv
Copy link
Owner

vitoziv commented Nov 18, 2016

同一个 url 只会缓存一个文件,VICacheManager 有方法可以清理缓存。

@vitoziv
Copy link
Owner

vitoziv commented Nov 18, 2016

你的描述不是很清楚 :)

@vitoziv vitoziv closed this as completed Dec 8, 2016
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

2 participants