Jump to content

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
Link to comment

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

Link to comment

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. 

Link to comment

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?

Link to comment

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

Link to comment

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

Link to comment
  • 2 weeks later...
  • 2 weeks later...

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
Link to comment

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
Link to comment

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
Link to comment

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'.

Link to comment

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
Link to comment

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!

Link to comment

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
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...