[SwagLyrics] Add support for macOS.
Introduction
SwagLyrics-For-Spotify is an application that fetches the currently playing song from Spotify on Windows and 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, the application is able to fetch the currently playing song and artist only on Windows. Your task is to add a way to get that info on macOS as well. You should modify the code in spotify.py
to get the info and then use the appropriate functions depending on the user's operating system.
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.