Spotify API: Is there a way to determine when a song has finished playing?

荒凉一梦 提交于 2019-12-12 19:21:45

问题


I'm trying to build an application that would utilize Spotify's API to build a playlist, I'm wondering if there is a way to determine when a song has finished playing?

I have checked their API and can't seem to find anything that I could ping or setup a callback for when it's complete.

I have looked at this question: How can I tell if a song has ended or the next button was clicked with the spotify API?

although I'm unsure of what API was being used.

Any help is appreciated, Thanks

来源:https://stackoverflow.com/questions/40209083/spotify-api-is-there-a-way-to-determine-when-a-song-has-finished-playing

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!