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

Now playing, coming next, and played songs... #158

Closed
rolradio opened this Issue Jun 11, 2017 · 7 comments

Comments

Projects
None yet
3 participants
@rolradio
Copy link

rolradio commented Jun 11, 2017

Would it
now playing
be possible to create an enbeded code to display a list of the currently playing song and a history of, for example, 5 or 10 songs.
This to be used as a code for an external website.
Then make it visible on the azuracast profile page.

It would also be nice if a song is on request, that this is also mentioned after the song played.

For example: the dexis - live is live (Requested)

@nsystem1

This comment has been minimized.

Copy link

nsystem1 commented Jun 11, 2017

I believe most of your requests are already available, but improvement is always welcome

@rolradio

This comment has been minimized.

Copy link

rolradio commented Jun 12, 2017

Indeed, the data can be seen on the public page.
But I would like to put this information on my extrene webpage.
I can not find how I can do this.
Therefore, it would be useful to show the Play or History list as Embed Code just like the Player Embed Code and Request Embed Code.

embeded

@nsystem1

This comment has been minimized.

Copy link

nsystem1 commented Jun 12, 2017

You can get the play history from http://your-ip/api/nowplaying/request-station

@rolradio

This comment has been minimized.

Copy link

rolradio commented Jun 12, 2017

@nsystem1 Sorry, That is Chinese for me.
Is there an example?
Where can I find more explanation?
http://docs.azuracast.apiary.io/ is not working.
04 The API Project you have requested could not be found.

@SlvrEagle23

This comment has been minimized.

Copy link
Member

SlvrEagle23 commented Jun 16, 2017

@rolradio The API docs now live at http://azuracast.com/api/

While most of the items you mention are already covered in the API, I am working on enhancing the API's response to include such things as:

  • Next playing song (if known)
  • Duration of the current song, seconds already played and seconds remaining
  • If the song was requested

@SlvrEagle23 SlvrEagle23 self-assigned this Jun 16, 2017

@rolradio

This comment has been minimized.

Copy link

rolradio commented Jun 17, 2017

Thanks for now.
I take a look for API.

@rolradio

This comment has been minimized.

Copy link

rolradio commented Jun 23, 2017

Can anyone give me an example of a nowplaying API.
Unfortunately, I do not know how to use this information to put on a website, for example.
I've been trying for a few days, but I do not know where to start.
I would like to have an example of a working radio.
Thanks in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment