A web application that generates a Spotify playlist based on a screenshot with a result from a Google query.
I only built this as my refusal to download extra apps (Shazam in this case) on my very outdated and out-of-memory phone. Naturally, the most "practical" way to go was spent a few afternoons building this not-very-useful app!
- Scan a provided screenshot or list of screenshots for the track name (currently not very robust)
- Find the track in Spotify
- Create a playlist if it doesn't exist
- Add the track to the dedicated playlist
Deployed at https://starlord-recognition.herokuapp.com/home
- Make sure you have the
virtualenv
package installed. - Create the virtualenv
virtualenv starlord-venv
- Activate the virtualenv
./{virtualenv_name}/Scripts/activate
- Run
pip install -r requirements.txt
- Navigate to the
src
directory - Run
flask run -p 8080
From the project directory, run:
pytest -W ignore::DeprecationWarning
- UI is lacking (missing)
- Google assistant responses might have changed. Update track name lookup to be more robust