studiowebux / obsidian-spotify-link

Obsidian.md Plugin to include the song or episode you're currently listening to in your note.
https://studiowebux.github.io/obsidian-plugins-docs/docs/category/plugin-spotify-link
MIT License
9 stars 2 forks source link

Insert album #1

Closed kmaustral closed 10 months ago

kmaustral commented 11 months ago

I'm glad someone finally is linking Obsidian to Spotify. It would be great to have the option of including an album.

Spotify make it impossible to copy text from their app, so a way of having the name of the album and musician would be super useful.

studiowebux commented 11 months ago

Hello,

I like the idea, I will try to do it in the next few days.

studiowebux commented 11 months ago

I did this Proof of concept quickly,

In the settings, you can define your custom template

image

then in your note you can use it using the command : append-currently-playing-track-using-template

Will this kind of template work for you ?

I built the plugin around the "Current playing track", all available fields are defined here : https://developer.spotify.com/documentation/web-api/reference/get-the-users-currently-playing-track

kmaustral commented 11 months ago

That looks perfect.

studiowebux commented 11 months ago

Morning,

I released the version 1.1.0 🎉 You can update directly in obsidian using the Obsidian Community Plugin

Let me know if everything works for you

kmaustral commented 11 months ago

Brilliant Tommy. Finally we can get an album title out of Spotify! It's a shame we can't get the link and album cover. But this is so much better than nothing. Cheers Kevin

On Sun, 26 Nov 2023 at 00:20, Tommy Gingras @.***> wrote:

Morning,

I released the version 1.1.0 🎉 You can update directly in obsidian using the Obsidian Community Plugin

Let me know if everything works for you

— Reply to this email directly, view it on GitHub https://github.com/studiowebux/obsidian-spotify-link/issues/1#issuecomment-1826306369, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARTR6N2HURD6OPEBTKHZN4LYGHWDNAVCNFSM6AAAAAA7W2XTLGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRWGMYDMMZWHE . You are receiving this because you authored the thread.Message ID: @.***>

studiowebux commented 11 months ago

Hello,

I reviewed the spotify API and added few new fields, let me know if you need others as well. (i'm adding them as needed)

image

I will release this feature in version 1.1.1

kmaustral commented 11 months ago

Brilliant!

On Wed, 29 Nov 2023 at 13:01, Tommy Gingras @.***> wrote:

Hello,

I reviewed the spotify API and added few new fields, let me know if you need others as well. (i'm adding them as needed) image.png (view on web) https://github.com/studiowebux/obsidian-spotify-link/assets/37277136/6238b63c-ae5d-476c-80ab-96023013284a

  • Album Covers (Small, Medium, Large) as image
  • Album Covers (Small, Medium, Large) as URL
  • Song URL
  • Album URL

I will release this feature in version 1.1.1

— Reply to this email directly, view it on GitHub https://github.com/studiowebux/obsidian-spotify-link/issues/1#issuecomment-1831072809, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARTR6N4CDTPKCOZO2RNLBQTYG2JQTAVCNFSM6AAAAAA7W2XTLGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZRGA3TEOBQHE . You are receiving this because you authored the thread.Message ID: @.***>