hnarayanan / shpotify

A command-line interface to Spotify.
https://harishnarayanan.org/projects/
2.02k stars 153 forks source link

Save and Like Song Functionality #69

Open moshed opened 7 years ago

moshed commented 7 years ago

would it be possible to add this functionality?

hnarayanan commented 7 years ago

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

moshed commented 7 years ago

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

hnarayanan commented 7 years ago

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

moshed commented 7 years ago

image

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

hnarayanan commented 7 years ago

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.

moshed commented 7 years ago

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

hnarayanan commented 7 years ago

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

moshed commented 7 years ago

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

akath20 commented 7 years ago

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

hnarayanan commented 7 years ago

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

akath20 commented 7 years ago

I am almost done with a python script to do it actually! On Sun, Apr 23, 2017 at 9:53 AM Harish Narayanan notifications@github.com 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 .

hnarayanan commented 7 years ago

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

LouisKottmann commented 6 years ago

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.

pkgamma commented 5 years ago

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!

hnarayanan commented 5 years ago

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!

davidem commented 4 years ago

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.