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

Implements Spotify local API #22

Closed
15 tasks done
jwallet opened this issue Dec 30, 2017 · 3 comments
Closed
15 tasks done

Implements Spotify local API #22

jwallet opened this issue Dec 30, 2017 · 3 comments
Labels
task ⚒ An improvement or general task to do

Comments

@jwallet
Copy link
Owner

jwallet commented Dec 30, 2017

local url

instead of using the process to get infos, use the local api to get these :

  • Get track title
  • Get artist name
  • Get album title
  • Get song length
  • Get current track position
  • Check if the track is an ad
  • Check if Spotify is playing/on pause
  • Get album art

with the track, artist and album, we can find other infos using last api if available :

  • get first genre tag (search for toptags/tag/name)
  • get album arts from them since spotify only provides 1 art instead of usual 4
    • small (search for image[size='small])
    • medium (search for image[size='medium'])
    • large (search for image[size='large'])
    • extralarge (search for image[size='extralarge'])
  • get track number on the album (search for tracks/track/name, get tracks/track/@rank)
@jwallet jwallet added the task ⚒ An improvement or general task to do label Dec 30, 2017
@LucasGorgal
Copy link

If you could use this to put labels in the music would be awesome. We could easily select musics by album.

@eleasarchriso
Copy link

eleasarchriso commented May 2, 2018

Hi,

wanted to thank you for this great tool! I spent a little bit of time to integrate the Spotify local API (get currently playing track) and also the Spotify web API (get the metadata and images). It is not optimized, I had to upgrade to .NET 4.5 and did not invest much time into refactorings and such. Also it likely requires more testing as I only did test it to record full albums and not any playlist or similar.

But maybe it still helps: https://github.com/eleasarchriso/spy-spotify
For the client id and secret users of the app should likely get their own client ID and secret through creating a "playground app" here: https://beta.developer.spotify.com/

@jwallet
Copy link
Owner Author

jwallet commented May 3, 2018

the new version with spotify api is coming soon, stay tuned
i actually started coding it yesterday.. i was busy with NHL Games project

@jwallet jwallet removed their assignment Jan 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
task ⚒ An improvement or general task to do
Projects
None yet
Development

No branches or pull requests

3 participants