shpotify icon indicating copy to clipboard operation
shpotify copied to clipboard

Save and Like Song Functionality

Open moshed opened this issue 8 years ago • 16 comments

would it be possible to add this functionality?

moshed avatar Jan 11 '17 05:01 moshed

Sure, it's possible. Please describe in more words how you would imagine these features working.

hnarayanan avatar Jan 11 '17 06:01 hnarayanan

not being a delveloper i would know nothing of the actual implementartion bt i would imagine the command would be something like spotify like to like a currently playing song on the radio and spotify save to save the currently playing song to your library

moshed avatar Jan 11 '17 15:01 moshed

We're getting there. spotify like I understand. What does it mean to spotify save to your library?

hnarayanan avatar Jan 11 '17 15:01 hnarayanan

image

what i mean is: accomplishing the same functionality as pressing this button. that saves the current song to "your music"

moshed avatar Jan 11 '17 15:01 moshed

Which playlist? 😄 In the graphical UI you have a currently selected playlist to add to, but we don't really have the same concept in the command line interface.

hnarayanan avatar Jan 11 '17 15:01 hnarayanan

no im curently on a playlist (made by spotify). that button saves the song to "Your Music" which is different than a playlist. if you looks above the plylist section in the topbar in my picture theres a "Your Music" section which aggregate all songs youve "saved" and you can sort by song artist etc. these songs do not have to be in a playlist to be added to your music

moshed avatar Jan 11 '17 15:01 moshed

Then what's the difference between this playlist and a list of favourites (likes)?

hnarayanan avatar Jan 11 '17 16:01 hnarayanan

there isnt much honestly. it hink the save song method is supposed to be for everything then yu can arrange specifc genres or whatever you want into separate playlists

moshed avatar Jan 11 '17 16:01 moshed

Consider me +1 for having the option to add the current playing song to a playlist!

akath20 avatar Apr 22 '17 18:04 akath20

Would you guys like to collaborate and tried to add this feature? 😇

hnarayanan avatar Apr 23 '17 13:04 hnarayanan

I am almost done with a python script to do it actually! On Sun, Apr 23, 2017 at 9:53 AM Harish Narayanan [email protected] wrote:

Would you guys like to collaborate and tried to add this feature? 😇

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/hnarayanan/shpotify/issues/69#issuecomment-296444878, or mute the thread https://github.com/notifications/unsubscribe-auth/AGE8p9eXl6KIL39KkEL_Ltz6IY6G8t7Rks5ry1flgaJpZM4LgNpm .

akath20 avatar Apr 23 '17 13:04 akath20

Cool, then maybe the ideas there can be repurposed in bash.

hnarayanan avatar Apr 23 '17 14:04 hnarayanan

This is actually interesting because it "teaches" to spotify what you like and enables better automatic playlists.

Also, as far as I know, the "like" feature does not exist anymore.

LouisKottmann avatar Dec 18 '17 14:12 LouisKottmann

Sorry that I am replying to such an old issue, but maybe this would help. I am also hoping to see that the save feature get implemented!

pkgamma avatar Dec 18 '18 03:12 pkgamma

This is actually good intuition, but for the most part the script as it is today is quite basic and just controls the Spotify desktop app via AppleScript. This would entail us learning how to authenticate and access a rest web API on behalf of a user from bash (likely curl) which is a bit different in complexity.

But you are free to try!

hnarayanan avatar Dec 18 '18 08:12 hnarayanan

I'm in the process of adding the option to like a track or a an album, based in it's URI. Spotify has no API to like an artist, or even show your liked artists.

I've got it working for tracks, it even poops out the track info. I still need to test to list and like an album.

davidem avatar Jun 11 '20 08:06 davidem