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

播放歌单内的全部歌曲接口 #1392

Closed
viprui520 opened this issue Nov 13, 2021 · 3 comments
Closed

播放歌单内的全部歌曲接口 #1392

viprui520 opened this issue Nov 13, 2021 · 3 comments

Comments

@viprui520
Copy link

功能描述

IMG_20211113_145815
看了一下开发文档只有播放歌单内的单曲的接口,没有播放歌单内的全部歌曲接口,就像客户端上面的播放全部的按钮,如果有这个功能麻烦告知一下是哪个接口,如果没有的话后期能否考虑增加?谢谢

@luanbuneng
Copy link

这个需要你自己实现的,点播放全部的时候将歌单的歌都放进一个列表里面(比如MusicList),如果播放第一首你就可以根据MusicList[0].id去获取音源播放,下一首同理。

@SnowingFox
Copy link
Contributor

#1397

#1435

@AffectionParadise
Copy link

我觉得,你之前调了一次接口比方说查出来20首,你也拿到这个total,你点播放全部又去请求一次接口,传入这个total,然后把所有歌曲加到播放列表

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

No branches or pull requests

4 participants