You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
855 B
855 B
Deezer Capturer
Deezer Capturer captures songs played on Deezer.
Deezer API is available. We need to grab
the user history (https://api.deezer.com/user/4812817742/history
) from the
user.
Configuration
Configuration requires the OAuth token, besides the IP and PORT of the Store, and IP and PORT of the Music Aggregator.
Internals
We need to keep a list of played songs, and compare with the new one.
Need to find the history output, as the API explorer does not show one example.
We could keep:
id
: ID or timestamp of the history element. Elements earlier than the most recent one can be ignored.artist
: Name of the artist.song
: Name of the song.album
: Album of the song.
Output
{% for song in new_songs %}
Played {{ song.name }} by {{ song.artist }}.
{% endfor %}