Jump to content
vdesabou

Spotify Mini Player: Control your Spotify library at your fingertips

Recommended Posts

Hey, Vincent!

Thanks for the awesome workflow! I use spotify to listen to music and Spot Mini Player saves me a lot of time switching between windows. I love it!  :)

Thanks. Don't hesitate to star it on github (https://github.com/vdesabou/alfred-spotify-mini-player) if you like it ;)

 

I missed a few updates and now installed the latest version from provided in this thread. Unfortunately I can't use it to play music. When I select a playlist to play growl notification pops up, e.g. "Playing Deep House", but nothing happens. No music. When I go to Spotify window - I see the playlist that I selected. But it is not playing. I have to manually press the Play button.

 

The cause of this problem is the same as Update Library issue, so version 4.4.8 should fix it.

 

Please install 4.4.8 (and restart Spotify)

Edited by vdesabou

Share this post


Link to post

Thanks. Don't hesitate to star it on github (https://github.com/vdesabou/alfred-spotify-mini-player) if you like it ;)

 

 

The cause of this problem is the same as Update Library issue, so version 4.4.8 should fix it.

 

Please install 4.4.8 (and restart Spotify)

 

 

Thanks. Don't hesitate to star it on github (https://github.com/vdesabou/alfred-spotify-mini-player) if you like it  ;)

 

 

The cause of this problem is the same as Update Library issue, so version 4.4.8 should fix it.

 

Please install 4.4.8 (and restart Spotify)

 

I updated the workflow but the library still doesn't update.

 

This is what I see when I try to start spot_mini:

https://www.dropbox.com/s/fgs7x3etzy5lcyq/spot_problem1.png?dl=0

 

 

When I try to copy the Debug output the interface doesn't respond. It freezes. I can't copy the text from Debug console.

 

This is what I see:

https://www.dropbox.com/s/j7catojfqujq13c/spot_problem2.png?dl=0

 

Play button now. I can start playlists without switching to Spotify. Thats awesome.

 

How do I update my Library?

 

P.S. I starred you on GitHub! ;)

 

P.P.S. Here is my spot_mini_debug file: https://www.dropbox.com/s/cugkurja91ifuxq/spot_mini_debug.tgz?dl=0

Share this post


Link to post

I updated the workflow but the library still doesn't update.

 

This is what I see when I try to start spot_mini:

https://www.dropbox.com/s/fgs7x3etzy5lcyq/spot_problem1.png?dl=0

 

Use the "spot_mini_kill_update" command, after that you should be able to see some results when using "spot_mini"

 

When I try to copy the Debug output the interface doesn't respond. It freezes. I can't copy the text from Debug console.

 

This is what I see:

https://www.dropbox.com/s/j7catojfqujq13c/spot_problem2.png?dl=0

 

Play button now. I can start playlists without switching to Spotify. Thats awesome.

 

How do I update my Library?

 

Looks like the update library got stuck. It can happen if your library is very large.

You can try this version of the workflow (it is without the related artists option) https://cloudup.com/itXjLlUJurV (restart Spotify after installing it). And then Update your library. 

Share this post


Link to post

Use the "spot_mini_kill_update" command, after that you should be able to see some results when using "spot_mini"

 

 

Looks like the update library got stuck. It can happen if your library is very large.

You can try this version of the workflow (it is without the related artists option) https://cloudup.com/itXjLlUJurV (restart Spotify after installing it). And then Update your library. 

 

Yes. It works now! Library is updating. 6000 tracks :) I think it will take a couple of hours.

 

Thank you!

 

P.S. Why does it take so long to Update Library?

Share this post


Link to post

Yes. It works now! Library is updating. 6000 tracks :) I think it will take a couple of hours.

 

Thank you!

 

P.S. Why does it take so long to Update Library?

 

Is it the first time? If so, it downloads every single artwork for every track/artist/album/playlist

Next "update library" should be much quicker

Share this post


Link to post

Use the "spot_mini_kill_update" command, after that you should be able to see some results when using "spot_mini"

 

 

Looks like the update library got stuck. It can happen if your library is very large.

You can try this version of the workflow (it is without the related artists option) https://cloudup.com/itXjLlUJurV (restart Spotify after installing it). And then Update your library. 

 

I made a change in version 4.4.9 where Related Artists is only done for the first 1000 ones, so if your library is very large, other ones will be ignored.

 

Version 4.4.9 is live (http://www.packal.org/workflow/spotify-mini-player), please restart Spotify after installing the workflow

Share this post


Link to post

4.6:

 
* Fixed broken 'Play Random Track'
 
* Now displaying notification for random track
 
* Add 'Get current track information' keyword 'current'
 
* Add notification for previous and next track
 
Please restart Spotify after installation
Edited by vdesabou

Share this post


Link to post

The Spotify API I am currently using has been discontinued by Spotify (see https://developer.spotify.com/technologies/apps/) and the upgrade (per user) has started for a small percentage of users:

 

 

The update will gradually roll out from today, starting with a smaller percentage of new and existing users, with the majority of our existing users receiving the update early in 2015.

 

I will work on moving the workflow to the new API. If you're ones of the unlucky who have received their update meanwhile, let me know.

Edited by vdesabou

Share this post


Link to post

I'm happy to announce version 5.0 which is a huge update !

 

New features:

  • Using now Spotify WEB API instead of Spotify App API
  • Using OAuth 2.0 authentication
  • Control Your Music, you can choose to control the Alfred Playlist or Your Music now
  • Featured Playlists in your country, US and UK
  • Update Playlists now also update playlists which have been updated (not only the ones added or removed as before)
  • Reworked biography
  • Many more improvements

 

The workflow has now its own WIKI page.

 

The workflow now use a different API (Spotify WEB API) which requires an application to be set up (don't worry it takes literally one minute!), see instruction here

 

I would be happy to have some feedback. Also, if you like the project, please star it on Github page  :)

Edited by vdesabou

Share this post


Link to post

Forgot to mention that Spotify has removed the notion of 'starred tracks', which is now kind of replaced by Your Music. So the playlist list does not return the starred playlist anymore. 

All you have to do is to create a new playlist, I called it 'Starred' and copy all your starred tracks in it.

 

And the new version now supports 'Your Music'.

Share this post


Link to post

Hi, I've just started using Spotify, and as an avid user of Alfred, I was excited to discover this workflow. Unfortunately, I keep getting the error below when the mini player builds (or re-builds) its library (about half way through building process):

 

Error(getUserPlaylistTracks): playlist id

 

I've created the "Alfred Playlist", but still having no luck getting my library re-build process complete successfully.

 

Here is the image of the full stack trace:

 

alfred_spotify_player_error.png

 

Something I've just noticed in the stack is under #1, it makes a Spotify API request, but the URL is set to some local folder on your machine: /v1/users/vdesa... May be this is the issue...

Edited by mdorf

Share this post


Link to post

Hi, I've just started using Spotify, and as an avid user of Alfred, I was excited to discover this workflow.

Thanks I appreciate this!

 

Unfortunately, I keep getting the error below when the mini player builds (or re-builds) its library (about half way through building process):

 

Error(getUserPlaylistTracks): playlist id

I see exactly what's going on: I left an hard coded user id so it tried to fetch my tracks instead of yours... :)

Version 5.1 shall fix this, grab it here http://www.packal.org/workflow/spotify-mini-player

 

Let me know if this works better!

Share this post


Link to post

Thank you so much! Worked perfectly. I look forward to using it with my new Spotify subscription!

 

Cool! Let me know if you have any issues or suggestions for improvement. Enjoy

Share this post


Link to post

5.1.1:

  • Added more validations for authentication (check length is 32, check that Client Secret is different than Client ID). 

  • Added command spot_mini_reset to reset settings

 

Let me know if some of you have issues with authentication

Share this post


Link to post

I get this:

 

INVALID_CLIENT: Failed to get client

 

Yep, your client ID, either does not exist or is not correctly entered..Have you created your application as explained here https://github.com/vdesabou/alfred-spotify-mini-player/wiki/First-time-use

Are you sure you copy pasted the right value for client ID, and for Client secret?

 

 

Do you get this with version 5.1.1 ?

-If yes, then provide the debug TGZ file by executing 'spot_mini_debug'

-If not, try with 5.1.1, there are some validations for client ID and Secret.

Edited by vdesabou

Share this post


Link to post

5.1.2:

 
* Fix for issue #29 (If you had more than 50 playlists, say 58, only the last 8 were processed)
 
* Fix for playlist artworks not downloaded

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...