steal some of @tcsenpai 's changes from the PR

+ ditch the LAST FM API KEY thing
+ expose the Musixmatch urls
+ use the kerve last fm api to download similar artist data
+ use google.it instead of the Google public dns to check internet connectivity (to make it work in all environments)
+ return og Dockerfile to fix ARM support
This commit is contained in:
mungai-njoroge
2024-02-16 23:57:23 +03:00
parent 4f48c33009
commit 67f28b8a9b
11 changed files with 136 additions and 69 deletions
-2
View File
@@ -39,8 +39,6 @@ cd swingmusic
poetry install
```
You need a LastFM API key which you can get on the [API accounts page](https://www.last.fm/api/accounts). Then set it as an environment variable under the name: `LASTFM_API_KEY`.
Finally, run the server. You can use a different port if you have another Swing Music instance running on port `1970`.
```sh
-3
View File
@@ -72,9 +72,6 @@ jobs:
run: |
python -m poetry run python manage.py --build
env:
LASTFM_API_KEY: ${{ secrets.LASTFM_API_KEY }}
PLUGIN_LYRICS_AUTHORITY: ${{ secrets.PLUGIN_LYRICS_AUTHORITY }}
PLUGIN_LYRICS_ROOT_URL: ${{ secrets.PLUGIN_LYRICS_ROOT_URL }}
SWINGMUSIC_APP_VERSION: ${{ inputs.tag }}
- name: Verify Linux build success
if: matrix.os == 'ubuntu-20.04'