spheras / messic

Music Organizator and Player. Downloads here: http://spheras.github.io/messic/
28 stars 8 forks source link

Messic lyrics backend and frontend #131

Open AlmostLook opened 7 years ago

AlmostLook commented 7 years ago

Hi team,

     We're going to start to fetch lyrics to file and split them by track time.

After we'll design a frontend to show the lyrics in messic while song is ringing.

AlmostLook commented 7 years ago

API lyrics search engine -> https://www.programmableweb.com/category/lyrics/apis?category=20278

I use this: https://makeitpersonal.co/lyrics/

We haven't resources to fetch artist and tittle from messic api.

token, change messic user and password:

token=$(curl --insecure --data "j_username=usuario&j_password=password" 'https://localhost/messic/messiclogin' | cut -c 77-112)

authors, it use token

authors=$(curl --insecure https://localhost/messic/services/authors?messic_token=$token)

from mpd example:

artista=mpc -f %artist% | head -n 1 cancion=mpc -f %title% | head -n 1 API_letra="https://makeitpersonal.co/lyrics/" curl -s --get "$API_letra" --data-urlencode "artist=$artista" --data-urlencode "title=$cancion"
echo -e "$artista - $title\n$song" | less -FX

I need current artist and title played at messic.

AlmostLook commented 7 years ago

Apps: http://api.wikia.com/wiki/LyricWiki_Apps