andrewmcgivery / obsidian-soundscapes

A plugin for Obsidian.MD that adds a music/ambiance player to the status bar to play Lofi beats, nature sounds, ambiance, relaxing music, and more.
MIT License
46 stars 7 forks source link

Spotify Integration #14

Open andrewmcgivery opened 4 months ago

andrewmcgivery commented 4 months ago

Discussion

Looking for feedback in discussions!

https://github.com/andrewmcgivery/obsidian-soundscapes/discussions/16

Notes:

https://developer.spotify.com/documentation/web-api/tutorials/code-pkce-flow

https://developer.spotify.com/documentation/web-api/howtos/web-app-profile

https://developer.spotify.com/documentation/embeds/tutorials/using-the-iframe-api

image

<iframe style="border-radius:12px" src="https://open.spotify.com/embed/track/14QX1ckbDIhqetvu5VZ3cP?utm_source=generator&theme=0" width="100%" height="152" frameBorder="0" allowfullscreen="" allow="autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture" loading="lazy"></iframe>
ThomasEricB commented 4 months ago

This would be so cool!

zanodor commented 4 months ago

Also SoundCloud and MEGA would be awesome. Third party plugin makers are doing an incredible job of enhancing the Obsidian ecosystem. Bless them

mickeydarrenlau commented 4 months ago

@andrewmcgivery Would you want a plugin for this I have a plugin that can help you handle all the auth and give you a spotify api Here's the url: https://github.com/Darren-project/obsidian-spotify

mickeydarrenlau commented 4 months ago

also the embed is only preview (for songs) so the user will need the spotify app open