-
Posts
466 -
Joined
-
Last visited
-
Days Won
22
Content Type
Blogs
Gallery
Downloads
Events
Profiles
Forums
Articles
Media Demo
Posts posted by vdesabou
-
-
I copied the code and went back to the "Install Library" section but nothing happens?
After some time (with my library it takes about 15 seconds), you should get a notification saying that library has been created/updated.
Can you check your /Users/YOUR_USER/Library/Application Support/Alfred 2/Workflow Data/com.vdesabou.spotify.mini.player directory and let me know if you have some files in there?
You should have a library.json, library_starred_playlist.json and playlist_*.json files (one per playlist)
-
Same here - unable to run the app! If I add the app manually, it disappears after reboot.
If you can see the same thing as "mattsaundersmcp", then you're fine. When you say that the app disappear after reboot, I think you mean that if you add the spotify mini player as Favorite, it is removed from favorite side bar at next spottily startup. I experience this as well. That's a small bug. The app is not removed, it just does not appear in sidebar. But you can still call it using the alfred spotify mini player menu, or just type "spotify:app:miniplayer" in search bar. But remember you need to access this app only when you have to update your library.
Let me know if you need more help. Appreciate your feedback
-
[...]
If you have this, everything looks fine. You just need to follow steps in my first post in "First time use" section. You're at step "Click the BLUE button to generate JSON data". Normally you just need to follow all the steps and you should be fine.
Let me know if you need more help!
-
Hi,
I have the latest version of Spotify and a Developer account.
When I try to run the mini-player app for the first time nothing happens.
Hi,
Are you talking about the spotify app here? If so, what do you see when you set "spotify:app:miniplayer" in the spotify search bar?
Can you check that you have a directory spotify-app-miniplayer in ~/Spotify ?
-
I've updated the library, re-cached all the artworks and changed the max results to 15 as well (I thought it would affect the amount of playlists returned but it doesn't) There's been a slight performance increase which is nice.
Happy Days.
I was thinking can it set up so that if I type "playlist" or "artist" or "album" etc it goes to the "browse by {x}" sub menu instead of performing the search? maybe hook it to {x}: e.g Playlist: Top 40 and it will find the playlist like it does in the playlist sub menu and allow you browse/launch/etc?
Also, is it possible to add a whole playlist to the Alfred playlist with the shift option like you have on the albums? I'm using the AP basically as a play queue and I often combine several playlists into a "now playing" one in spotify and then play from the new one
Done
2.5:
- Quick access to menus, for example start typing setting and Settings menu will be selectioned
- Add a playlist to Alfred Playlist using ⇧ modifier
-
Thanks I downloaded your workflow without knowing if it would help, but I just got the problem today
It saved me a lot of google search to find the right command line :-)
-
I've updated the library, re-cached all the artworks and changed the max results to 15 as well (I thought it would affect the amount of playlists returned but it doesn't) There's been a slight performance increase which is nice.
Happy Days.
cool!
I was thinking can it set up so that if I type "playlist" or "artist" or "album" etc it goes to the "browse by {x}" sub menu instead of performing the search? maybe hook it to {x}: e.g Playlist: Top 40 and it will find the playlist like it does in the playlist sub menu and allow you browse/launch/etc?
Also, is it possible to add a whole playlist to the Alfred playlist with the shift option like you have on the albums? I'm using the AP basically as a play queue and I often combine several playlists into a "now playing" one in spotify and then play from the new one
we'll see what I can do !
-
I have noticed that in my /Users/xxx/Spotify directory there is a spotify-app-miniplayer, but it's not a folder...it's a link with an unknown destination!
That's the problem :-)
It should be a symbolic link but a valid directory.
-Can you try to delete the link in this directory, and then just call Spotify Mini Player (it checks the directory and create a symbolic link if it can't find it)
rm ~/Spotify/spotify-app-miniplayer
If it still doesn't work, you can copy the spotify-app-miniplayer folder from spotify mini player workflow folder in ~/Spotify folder
Note: the symbolic is created using:
ln -s /path/to/spotifyminiplayerworkflow/spotify-app-miniplayer ~/Spotify
-
Hi thank you for the reply...
- I have a spotify-app-miniplayer in my /Users/xxx/Spotify directory
- I have downloaded and installed Spotify after updating account
- I'm logged in Spotify with the same account (i have only 1 account)
- I've restarted Spotify, i have tried to logout and login again and also to restart my mac but nothing change
Strange..
- what os x version are you using?
- what spotify version do you have (in spottily-> about menu) (I have 0.9.0.129.g6978da9c)
- Can you try to install spotify app example, see Installation section in https://github.com/spotify/apps-tutorial
-
Hi i have a problem with the mini player...it seems that spotify's app miniplayer doesn't work property...for example if i write "random" in Alfred 2, i get this error in Spotify:
I have followed all your instructions...in fact on another mac mini player works good...How can i resolve it?
Hi, things to check:
-Do you have a spotify-app-miniplayer in your /Users/xxx/Spotify directory?
-Did you download and install Spotify after you've subscribed to your dev account?
-Are you logged in Spotify with same account used for Dev Account?
-Did you try to restart spotify?
-Did you try to logout and login again?
Cheers
-
Performance is fine all things considered - most results come back in <5s
5 seconds is slow compared to what I have !
however opening some of my larger playlists can take up to 30s
I think you should try a "cache all artworks" (you don't need to clean it before) because since 2.3 I've improved the way we get artworks for playlists (before we did not get artworks for subscribed playlists, only our own playlists), so the 30 seconds might come from the fact the mini player download the artworks "on the fly".
but to be honest most of the time I just launch playlist without browsing it first so that's not really an issue
I do have it set to search all my playlists and max results is set to 100 so I wasn't expecting instantaneous results with a library of my size :-P
Max results set to 100 is huge! I personally set it to 15 max.
Why do you set 100 results? It is not handy to scroll within 100 results anyway ?
Would be worth to test with 15 to see what are the performances
Thanks for your feedback, much appreciated!!
-
Loving all the new features, great workflow!
Keep up the good work
Thanks! Based on the feedbacks here, looks like we're only two to use it
Can you let me know what you think of performances, because I know you have a huge library.json?
-
There are several Spotify alfred workflows that use the Spotify API, but are painfully slow.
As there are not so many spotify workflows in the wild, I feel like you're referring to spotify mini player( http://www.alfredforum.com/topic/1892-spotify-mini-player-version-24/ ) here :-)
It does not use slow spotify API, but a local file representing the user library and everything is cached locally, so everything is made to be really fast. If you're looking for speed, you should definitely give it a try. And if you already tried it and found it slow, I would be interested to investigate in order to improve it!
Cheers!
-
Also this one http://www.alfredforum.com/topic/1892-spotify-mini-player-version-24/ (self promotion as well :-) )
And you can actually use spotify mini player and spotifious at same time(when I listen to my library and my playlists, I use spotify mini player, and when I want to search a track not in my library, I look for it in spotifious)
I tried to be as close as possible to iTunes mini player, so let me know what you think of it!
-
Loving this app, what about a new feature to add a searched song to the play queue instead of playing it straight away? Maybe under an action modifier of shift.
...if that's even possible...
Just a thought.
Modifying the play queue is not technically possible, as a workaround, I added "Alfred Playlist" feature in 2.4, give it a try and let me know what you think :-)
2.4:
- Introducing Alfred Playlist: control a playlist from Alfred. Add Track with fn or Album with shift to the playlist, browse it or clear it from Alfred.
-
The Facebook option yields a notification that 'sharing has been cancelled'
are you looking for help here? because i really don't see what I am supposed to do with just this sentence..
Please refer to this post http://www.alfredforum.com/topic/1679-reporting-problems-with-workflows/ for reporting a problem
-
Update your library!!
2.3:- Using own Spotify app <spotify:app:miniplayer>. Nore more need to do manual install, this is automatically done. Using this allows more control and less hacking to make it work
- New random command, it will launch a random track from any of your playlists
- New star command, it will star the current track
-
Thanks for digging into this and sorry for my sluggish reply.
Interesting problem... if you delete the avatars folder in the extension directory and try again, does the same number of images show up again? It might be that something went wrong during extraction. The most general tip is to wrap
with contextlib.closing(sqlite3.connect(path).cursor()) as db: for av in db.execute("SELECT skypename,avatar_image FROM Contacts WHERE type=1 AND is_permanent=1 UNION"\ " SELECT skypename,avatar_image from Accounts"): try: if av[1] is not None: with open("avatars/"+av[0]+".jpeg","wr") as f: f.write(str(av[1])[1:]) #For some reason, the first byte is 0, then the jpg starts. bg = Image.open("avatars/"+av[0]+".jpeg").resize((96,96),Image.ANTIALIAS) bg.save("avatars/"+av[0]+".jpeg") for v in vers: bg = Image.open("avatars/"+av[0]+".jpeg") #bg.thumbnail((96,96),Image.ANTIALIAS) fg = Image.open("images/status_"+v+".png") bg.paste(fg, (0, 0), fg) bg.save("avatars/"+av[0]+"_"+v+".jpeg") except IOError: pass
Thanks that worked!
-
Can you share with me your library.json in Application Support Folder and your 'guistate' file located in /Users/YOUR_USER/Library/Application Support/Spotify/Users/spotusername-user/guistate ?
I'll try to reproduce using your files.
Thanks
Interesting, I'm using your files and I cannot reproduce any of the errors you're reporting...
Can you please open an issue here: https://github.com/vdesabou/alfred-spotify-mini-player/issues
This is to avoid flooding the forum with bug discussions
-
I get an error when installing the library - Notification says: "Library has been created. Notice: Undefined offset: 4 in create_playlists.php on line 92.
When updating the artwork cache it eventually says - "Notice: Use of undefined constant artist - assumed 'artist' in …function.php on line 131"
Whenever I have an artwork folder in the Application Support folder - I cannot see anything when I type "spot_mini" if I delete it I can see some options again. I search a playlist - files get added to artwork and then I can't see anything again when I type spot_mini...
Can you share with me your library.json in Application Support Folder and your 'guistate' file located in /Users/YOUR_USER/Library/Application Support/Spotify/Users/spotusername-user/guistate ?
I'll try to reproduce using your files.
Thanks
-
It's working now! I think that the thing that was causing trouble is that I had an old install of terminal-share that wasn't working very well and I think it was in conflict. Thanks a lot for the answer!
Ok cool, thanks for the feedback!
-
That's a shame, maybe they'll update it in the future...
Note that when you use <cmd> modifier on a track, this will open and queue all the top tracks from the artist.
If you use <alt>, then it will open and queue all tracks from the album.
That could help, I'm personally using it a lot
But queuing a track is not possible right now with their API..
-
I tried to debug a bit more and I get:
python vinc.py Traceback (most recent call last): File "vinc.py", line 2, in <module> s.sendMessage("skype update",show=True) File "/Users/vincent/Dropbox/Alfred.alfredpreferences/workflows/user.workflow.08332C67-55FC-49BB-B546-E02AC9181AF7/skypingalfred.py", line 144, in sendMessage _getAvatars() File "/Users/vincent/Dropbox/Alfred.alfredpreferences/workflows/user.workflow.08332C67-55FC-49BB-B546-E02AC9181AF7/skypingalfred.py", line 215, in _getAvatars bg = Image.open("avatars/"+av[0]+".jpeg").resize((96,96),Image.ANTIALIAS) File "/Users/vincent/Dropbox/Alfred.alfredpreferences/workflows/user.workflow.08332C67-55FC-49BB-B546-E02AC9181AF7/PIL/Image.py", line 1290, in resize self.load() File "/Users/vincent/Dropbox/Alfred.alfredpreferences/workflows/user.workflow.08332C67-55FC-49BB-B546-E02AC9181AF7/PIL/ImageFile.py", line 164, in load self.load_prepare() File "/Users/vincent/Dropbox/Alfred.alfredpreferences/workflows/user.workflow.08332C67-55FC-49BB-B546-E02AC9181AF7/PIL/ImageFile.py", line 231, in load_prepare self.im = Image.core.new(self.mode, self.size) File "/Users/vincent/Dropbox/Alfred.alfredpreferences/workflows/user.workflow.08332C67-55FC-49BB-B546-E02AC9181AF7/PIL/Image.py", line 37, in __getattr__ raise ImportError("The _imaging C module is not installed") ImportError: The _imaging C module is not installed
Not sure yet how to fix this since I don't know python, I'll google it. But if someone knows the issue, that would be great :-)
So I found a way to install the missing _imaging module (found here http://appelfreelance.com/2010/06/libjpeg-pil-snow-leopard-python2-6-_jpeg_resync_to_restart/)
http://www.ijg.org/files/jpegsrc.v8.tar.gz go into your shell environment and untar by running the following tar -zxvf jpegsrc.v8.tar.gz cd jpeg-8 then run ./configure sudo make clean sudo make sudo make install
Looks better now, but now I get:
Traceback (most recent call last): File "vinc.py", line 3, in <module> print s.sendMessage("skype update") File "/Users/vincent/Dropbox/Alfred.alfredpreferences/workflows/user.workflow.08332C67-55FC-49BB-B546-E02AC9181AF7/skypingalfred.py", line 144, in sendMessage _getAvatars() File "/Users/vincent/Dropbox/Alfred.alfredpreferences/workflows/user.workflow.08332C67-55FC-49BB-B546-E02AC9181AF7/skypingalfred.py", line 215, in _getAvatars bg = Image.open("avatars/"+av[0]+".jpeg").resize((96,96),Image.ANTIALIAS) File "/Users/vincent/Dropbox/Alfred.alfredpreferences/workflows/user.workflow.08332C67-55FC-49BB-B546-E02AC9181AF7/PIL/Image.py", line 1290, in resize self.load() File "/Users/vincent/Dropbox/Alfred.alfredpreferences/workflows/user.workflow.08332C67-55FC-49BB-B546-E02AC9181AF7/PIL/ImageFile.py", line 201, in load raise IOError("image file is truncated (%d bytes not processed)" % len() IOError: image file is truncated (7 bytes not processed)
However, I have now 100+ images in avatars directory, so it looks like one of the images is corrupted.
Any idea how to fix that?
Thanks
-
Since version 1.09 is not working for me, each time I run an action with the shortcut with a selected file in the Finder, it says "Sharing cancelled"… do you know what could be happening? Thanks!
Not really, can you explain a bit more in which cases it is not working? If you select the file with "File Action", is it working? If you don't share a file, is it working?
Spotify Mini Player: Control your Spotify library at your fingertips
in Share your Workflows
Posted
type "next" in alfred main window, you can see the commands in the workflow itself: