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

[Request] Link to redirect to current song #10

Open
42Willow opened this issue Jul 24, 2023 · 3 comments
Open

[Request] Link to redirect to current song #10

42Willow opened this issue Jul 24, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@42Willow
Copy link

eg. https://vercelprojecturl.example/link

Thanks for the project, it looks great 👍

@tthn0
Copy link
Owner

tthn0 commented Jul 24, 2023

I'm not sure what you mean. Can you explain in further detail?

@42Willow
Copy link
Author

42Willow commented Jul 24, 2023

The link to the card is {PROJECT_NAME}.vercel.app/api?parameters

Is it possible to have another page which redirects to the spotify url of the currently playing song?
eg. {PROJECT_NAME}.vercel.app/playingurl redirects to https://open.spotify.com/track/<song_id>

This would be useful because the card could link to the song it displays:

<a href="https://{PROJECT_NAME}.vercel.app/playingurl">
  <img src="https://{PROJECT_NAME}.vercel.app/api" alt="Current Spotify Song">
</a>

@tthn0
Copy link
Owner

tthn0 commented Jul 24, 2023

It's possible. I'll see if I can incorporate that into the next update for this project, but I will be busy for a (long) while. This project will most likely not be updated for another few weeks or even months since it's not my priority at the moment. Feel free to make a pull request though.

@tthn0 tthn0 changed the title Link to redirect to current song [Request] Link to redirect to current song Jul 24, 2023
@tthn0 tthn0 added the enhancement New feature or request label Oct 4, 2023
dedomil added a commit to dedomil/Spotify-Readme that referenced this issue Oct 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants