Skip to content

adnrbp/MusicAssistant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Music Assistant

Music Assistant is an app to search lyrics and save your favorite songs.

1. List of Features

(Must)

  • User sends a section of some lyrics
  • User receives the song related to that lyrics
  • Result song should have the name and artist
  • User saves can tag a result song as favorite
  • User sees his list of favorite songs
  • (keep session per user)
  • (save all conversations info)
  • Stats show number of people that used the app
  • Stats show number of chats per day
  • Stats show most popular song

(Should)

  • Remove songs from Favorite list
  • Stats show avg session time

2. Flujo Mensajes:

  • facebook -> "/webhook" -> View -> fb_webhook -> (message_handlers <-> MusixMatch )-> fb_messages -> facebook
  • fb_webhook: handles inicial connection processing request data
  • message_handlers: determine type of Input Message and call a type of response
  • fb_messages: build bot response, send musixMatch Api requests and send message back to fb

3. Progress TO-DO:

  • handle differences (postback/message)
  • connect and search some lyrics with musixMatch
  • create models for users and messages
  • create models for songs (attrib: favorites) MODELS
  • add to favorites postback
  • session per user (separate) (use-id)
  • conversations model (store info stats)
  • show stats on persistent menu

4. Tests

  • ./manage.py test bot.tests

  • ./manage.py test bot.tests.test_fb_webhook_helper

  • ./manage.py test bot.tests.test_message_handlers_helper

  • ./manage.py test bot.tests.test_fb_messages_helper

  • ./manage.py test songs.tests

About

Chatbot to search lyrics and save songs using musixmatch

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published