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

希望优化一下随机播放算法 #34

Open
DrugLover opened this issue Feb 13, 2023 · 1 comment
Open

希望优化一下随机播放算法 #34

DrugLover opened this issue Feb 13, 2023 · 1 comment

Comments

@DrugLover
Copy link

目前我歌单有50首歌左右 但是经常会出现A->B->C->A这样的情况 可以在一轮播放中加个标记记录是否播放过,在未放过的歌中随机

@lovegaoshi
Copy link
Contributor

这是因为随机播放就是真的随机,随机算法又是写在调用的播放器里,不在这里
我的解决半法,改react-music-player:
lijinke666/react-music-player@ee814ee

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