CCExtractor Development

[SwagLyrics] Add database mechanism to support more songs.

Introduction

SwagLyrics-For-Spotify is an application that fetches the currently playing song from Spotify on Windows, Linux and macOS to displays the lyrics in the command-line or in a browser tab (using Flask). Refreshes automatically when song changes and uses lyrics fetched from Genius. The application is also available as a pip module.

PyPI : https://pypi.org/project/swaglyrics/

The task

Currently, it fetches songs by stripping down the song and artist and formatting the URL with it. However, there are corner cases that can be overcome by adding a database to fetch the data from for the lyrics that cannot be fetched otherwise. You may register a free web application at pythonanywhere in order to test it works and configure SwagLyrics to point to it while testing. This task isn't hard in terms of sheer complexity but would require you to understand different parts of the application and databases. It will take time but points for that :)

Requirements to complete this task

We expect an opened pull request, which contains the modification requested above, unit tests that cover (most of) the changes, and documentation where necessary.

Relevant extra links

Task tags

  • swaglyrics
  • flask
  • sqlalchemy
  • hard
  • database

Students who completed this task

T1duS

Task type

  • code Code
close

2018