Skip to content
This repository has been archived by the owner on Jan 13, 2020. It is now read-only.

Partially support clicking artists on song search page #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sparkyfen
Copy link

  • Taking the existing API call and matching the artist with the song
    allows you to open the artist page directly. Does not work if the search results
    did not contain the artist.

Just kinda threw this together, if you wish to have it a more polished, I'm happy to make requested changes before merging.

* Taking the existing API call and matching the artist with the song
allows you to open the artist page directly. Does not work if the search results
did not contain the artist.
@naveedgol
Copy link
Owner

Code looks good and I agree with the idea, but the matching artists to songs by name only seems like a bad idea. Ideally, we could get the artist ID from the song, though that might involve more API calls which may not be worth it.

@sparkyfen
Copy link
Author

Hey Naveed, I agree with your points which is why I opted not to include a new API call. You're welcome to take this change in or not, I just had some spare cycles and thought it would be fun to work on this that day.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants