vdesabou Posted May 3, 2013 Author Share Posted May 3, 2013 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 selectionedAdd a playlist to Alfred Playlist using ⇧ modifier Link to comment
WelchWay Posted May 7, 2013 Share Posted May 7, 2013 Done 2.5: Quick access to menus, for example start typing setting and Settings menu will be selectionedAdd a playlist to Alfred Playlist using ⇧ modifier Love it! Solid effort fella. Link to comment
Samwise22 Posted May 17, 2013 Share Posted May 17, 2013 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. Please advise Thanks Sam Link to comment
vdesabou Posted May 18, 2013 Author Share Posted May 18, 2013 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 ? Link to comment
mattsaundersmcp Posted May 19, 2013 Share Posted May 19, 2013 Hello I too have signed up for a developer account and installed the latest version of Spotify When I use alfred to run the mini app and click on open spotify mini app, nothing happens When I add this "spotify:app:miniplayer" to the search bar in Spotify I get the following. I can also confirm I have a directory spotify-app-miniplayer in ~/Spotify Thanks Link to comment
MacGeeky Posted May 19, 2013 Share Posted May 19, 2013 Same here - unable to run the app! If I add the app manually, it disappears after reboot. Link to comment
vdesabou Posted May 19, 2013 Author Share Posted May 19, 2013 [...] 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! Link to comment
mattsaundersmcp Posted May 19, 2013 Share Posted May 19, 2013 (edited) 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! I copied the code and went back to the "Install Library" section but nothing happens? EDIT: Its working now, just had to wait a little, Thanks Edited May 19, 2013 by mattsaundersmcp Link to comment
vdesabou Posted May 19, 2013 Author Share Posted May 19, 2013 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 Link to comment
vdesabou Posted May 19, 2013 Author Share Posted May 19, 2013 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) Link to comment
mattsaundersmcp Posted May 20, 2013 Share Posted May 20, 2013 Everything is working now but how do I skip to the next song / go back etc in a playlist using Spotify mini player? Link to comment
vdesabou Posted May 20, 2013 Author Share Posted May 20, 2013 Everything is working now but how do I skip to the next song / go back etc in a playlist using Spotify mini player? type "next" in alfred main window, you can see the commands in the workflow itself: Link to comment
timkro Posted May 20, 2013 Share Posted May 20, 2013 How long does it take to create that JSON file? It doesn't get created here, although I really had the info copied on my clipboard... What to do? Link to comment
vdesabou Posted May 20, 2013 Author Share Posted May 20, 2013 How long does it take to create that JSON file? It doesn't get created here, although I really had the info copied on my clipboard... What to do? Depends on the size of your library (number of playlists you have), but for a user who had 100+ playlists, i think it was something like 2 minutes, no more. In any case, you should get a notification, even if you get an error. 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) Normally, you should have at least a library.json file, as this file is created instantly with the content of the clipboard. Other files are generated. So if you have a library.json, send it to me and I'll see if I have issues loading it as well. Thanks Link to comment
timkro Posted May 20, 2013 Share Posted May 20, 2013 Depends on the size of your library (number of playlists you have), but for a user who had 100+ playlists, i think it was something like 2 minutes, no more. In any case, you should get a notification, even if you get an error. 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) Normally, you should have at least a library.json file, as this file is created instantly with the content of the clipboard. Other files are generated. So if you have a library.json, send it to me and I'll see if I have issues loading it as well. Thanks There is only a settings.plist in there, generated today. I don't get any notification at all... Maybe it's worth mentioning I sync/store my Alfred Workflow in my Dropbox? Link to comment
vdesabou Posted May 20, 2013 Author Share Posted May 20, 2013 There is only a settings.plist in there, generated today. I don't get any notification at all... Maybe it's worth mentioning I sync/store my Alfred Workflow in my Dropbox? The Dropbox syncing should not be a problem. Once you have the JSON data in your clipboard, are you sure you have followed steps: Type "spot_mini" or configured hotkey to invoke Spotify Mini Player, and select "Install library" Technically speaking, it will paste the content of the clipboard, so the JSON library into a file called library.json in the app data directory : */Users/YOUR_USER/Library/Application Support/Alfred 2/Workflow Data/com.vdesabou.spotify.mini.player. All After some time, you should get a notification saying that library has been created Link to comment
timkro Posted May 20, 2013 Share Posted May 20, 2013 The Dropbox syncing should not be a problem. Once you have the JSON data in your clipboard, are you sure you have followed steps: Type "spot_mini" or configured hotkey to invoke Spotify Mini Player, and select "Install library" Technically speaking, it will paste the content of the clipboard, so the JSON library into a file called library.json in the app data directory : */Users/YOUR_USER/Library/Application Support/Alfred 2/Workflow Data/com.vdesabou.spotify.mini.player. All After some time, you should get a notification saying that library has been created Yes, I did that and double checked everything multiple times. Isn't there another way I can create that file myself? Link to comment
vdesabou Posted May 20, 2013 Author Share Posted May 20, 2013 Yes, I did that and double checked everything multiple times. Isn't there another way I can create that file myself? No it needs to be done by the workflow. Can you please install this version http://d.pr/f/LTyN , and provide output.log and output_action.log located in spottily workflow directory once you tried to create the library Thanks Link to comment
timkro Posted May 20, 2013 Share Posted May 20, 2013 (edited) No it needs to be done by the workflow. Can you please install this version http://d.pr/f/LTyN , and provide output.log and output_action.log located in spottily workflow directory once you tried to create the library Thanks Installed, now I'm stuck at waiting for minutes... (and no logs yet...) Edited May 20, 2013 by timkro Link to comment
vdesabou Posted May 21, 2013 Author Share Posted May 21, 2013 Installed, now I'm stuck at waiting for minutes... (and no logs yet...) If you have this, normally you should have a library.json file, otherwise you would have: Can you check again that you still don't have a library.json file? Still no output logs? Link to comment
timkro Posted May 21, 2013 Share Posted May 21, 2013 If you have this, normally you should have a library.json file, otherwise you would have: Can you check again that you still don't have a library.json file? Still no output logs? This morning I did it again with the workflow you send me and suddenly INSIDE the workflowfile in a dir called workflows, appeared the log files. Get them here. Link to comment
vdesabou Posted May 21, 2013 Author Share Posted May 21, 2013 This morning I did it again with the workflow you send me and suddenly INSIDE the workflowfile in a dir called workflows, appeared the log files. Get them here. I see "ln: /Users/timkro/Spotify/spotify-app-miniplayer: File exists" that should prevent alfred to display results. Can you try to delete directory /Users/timkro/Spotify/spotify-app-miniplayer and then copy the spotify-app-miniplayer directory located in the workflow folder back to /Users/timkro/Spotify ? Link to comment
timkro Posted May 21, 2013 Share Posted May 21, 2013 I see "ln: /Users/timkro/Spotify/spotify-app-miniplayer: File exists" that should prevent alfred to display results. Can you try to delete directory /Users/timkro/Spotify/spotify-app-miniplayer and then copy the spotify-app-miniplayer directory located in the workflow folder back to /Users/timkro/Spotify ? How do I get inside the workflow file to get that dir? There's no "View Package Contents". Link to comment
vdesabou Posted May 21, 2013 Author Share Posted May 21, 2013 How do I get inside the workflow file to get that dir? There's no "View Package Contents". How do I get inside the workflow file to get that dir? There's no "View Package Contents". Double click spot_mini: and then open workflow folder: Link to comment
timkro Posted May 21, 2013 Share Posted May 21, 2013 Double click spot_mini: and then open workflow folder: Done, everything, but it still does not work. Still having my initial problem. Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now