Skip to content

A music app that suggests a curated playlist of songs according to user's taste and opinions in music from sentiment analysis of Twitter activity and user's app usage pattern written in Python with Kivy front-end

License

roshanmaind/Friday

Repository files navigation

Friday

Powered by Social media Health Analysis & Display Engine and IBM Watson, Friday understands your current state of mind,
your overall taste in music and your interests and views about songs, artists or genres and gives you a specially curated,
personalized playlist of the best songs she can find. Friday monitors and processes your activities on social media websites
like Twitter and your interaction with the app itself to estimate what you would like the best.

For concerned potential users, your data is never sent to any external server. All of the data is always stored locally
within your device.

Screenshots Video

Requirements

  1. Python3
  2. Kivy
  3. geckodriver

Python modules requirements are given in the requirements.txt file
All the dependencies including OpenGL and geckodriver are installed automatically by the setup.py script
when run on a Debian based Linux OS

Installation & Use

NOTE

The app will not work unless 2 .keys files are put in the root directory of the project. For security purposes we could not
upload the files on github. To obtain the files, send a mail to roshanmaind3434@gmail.com requesting the key files.

What are these .keys files?

The .keys files contain the API keys for Twitter and IBM Watson APIs. If you already have API keys for the two services
you may edit the twitter_interface module and the watson module in the modules folder to use your API keys instead.

Debian based Linux users

Simply run the python script "setup.py" and then to use the software, run Friday.py.

Windows users

  1. First run the setup.py file to install python modules.
  2. Follow the complete Kivy installation process as show here
    (Make sure you check this section of the guide)
  3. Then download the Mozilla Firefox geckodriver from this link
    (Download the right file according to your system type (32 or 64 bit))
  4. Make a folder in your C drive named "gecko"
  5. Extract the zip file and put the geckodriver.exe file in the gecko folder made in the previous step
  6. Run the following command in your cmd (Command Line/Command Prompt):-
    set PATH=%PATH%;C:\gecko\
  7. Run the Friday.py script to use the app.

How does it work?

The playlist that Friday will give you is affected by 4 things.

  1. Overall sentiment of your tweets made in the last 24 hours
  2. Mentions of songs/genres/artists in your tweets and the sentiment of the corresponding tweet
  3. Your likes and dislikes on songs given by Friday before
  4. Randomness
    These 4 things give positive or negative score points to songs. The songs with the highest score points in the end get
    more preference over others i.e. the final score of a song gets directly translated into the probabilty of the song
    being picked to be in the final playlist. Notice that the scores just increase the probabilities of songs being picked.
    Still the songs will be picked arbitarily to maintain randomness in the songs being recommended

Future updates to come

  1. Facebook connectivity.
  2. Access to more frequently used social media services like DM.
  3. Support for Mac OS and other Linux distros besides Debian based.

About

A music app that suggests a curated playlist of songs according to user's taste and opinions in music from sentiment analysis of Twitter activity and user's app usage pattern written in Python with Kivy front-end

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages