Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LB-303: Add instruction to add last.fm api key to custom_config.py to developement environment setup guide #349

Merged
merged 3 commits into from Feb 13, 2018

Conversation

Uditgulati
Copy link
Contributor

Summary

  • This is a…
    • Bug fix
    • Feature addition
    • Refactoring
    • Minor / simple change (like a typo)
    • Other

There was no instruction given for adding last.fm api to custom_config.py file in the development environment setup guide.

Problem

  • JIRA ticket (optional): LB-303

Solution

Added the instructions to the guide.

LASTFM_API_URL = "https://ws.audioscrobbler.com/2.0/"
LASTFM_API_KEY = "USE_LASTFM_API_KEY"

Update the last.fm api key with your key. After doing this, your
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should add a explanation on where to get this key from.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just adding link to API form would be enough or should i add something else too?

Copy link
Collaborator

@paramsingh paramsingh Feb 7, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can obtain a Last.FM API key from here: <link>

@@ -111,6 +111,17 @@ Update the strings with your client ID and secret. After doing this, your
ListenBrainz development environment is able to authenticate and log in from
your MusicBrainz login.

Also, in order for last.fm import to work, you should also update your last.fm api key in this file. Look for the following section in the file.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We try to write Last.FM instead of last.fm in documentation.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok 👍

@paramsingh
Copy link
Collaborator

@mayhem, you should take a look at the verbiage here once, IMO.

@mayhem
Copy link
Member

mayhem commented Feb 13, 2018

It doesn't flow super well, but really, there is nothing here stopping this from being merged.

@paramsingh paramsingh merged commit 8c160c1 into metabrainz:master Feb 13, 2018
@Uditgulati Uditgulati deleted the LB-303 branch February 13, 2018 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants