Jump to content

vdesabou

Member
  • Posts

    465
  • Joined

  • Last visited

  • Days Won

    22

Everything posted by vdesabou

  1. Thanks, I sent you a PM, so that we can discuss this issue in private and not flood the forum :-)
  2. Allright :-) I can add it to the workflow then, or you can do a Pull request on git if you want :-) https://github.com/vdesabou/alfred-spotify-mini-player Thanks
  3. I think I start to understand the problem :-) Can you delete the library.db file and then try to launch spot_mini ?
  4. ok, it makes more sense So now that you have a correct settings.db file, can you try to update the library? If after that it is still not working, please post the output of output.log
  5. That's strange, because the file should be created if the file does not exist, if you know php, here is the related code: // // Create settings.db with default values if needed // if(!file_exists($w->data() . "/settings.db")) { touch($w->data() . "/settings.db"); $sql = 'sqlite3 "' . $w->data() . '/settings.db" ' . ' "create table settings (all_playlists boolean, is_spotifious_active boolean, is_alfred_playlist_active boolean, is_displaymorefrom_active boolean, max_results int, alfred_playlist_uri text, country_code text)"'; exec($sql); $sql = 'sqlite3 "' . $w->data() . '/settings.db" ' . '"insert into settings values (0,1,1,1,50,\"\",\"\")"'; exec($sql); } The touch($w->data() . "/settings.db"), should at least create the file. Are you sure you do not have this file? In the same directory, you should see a library.db as well..
  6. The workflow cannot read the settings that are stored in a sqlite DB located in /Users/YOUR_USER/Library/Application Support/Alfred 2/Workflow Data/com.vdesabou.spotify.mini.player/settings.db directory. Can you check that you have this settings.db file in /Users/YOUR_USER/Library/Application Support/Alfred 2/Workflow Data/com.vdesabou.spotify.mini.player directory. If you have, delete it and when next time the workflow is invoked, a new one should be created with default values. Keep me posted
  7. Ok, Can you share the output.log that is located in the workflow folder? Thanks
  8. Did you manage to fix this problem? If not are you sure you enabled Spotify Apps API? Your developer account should show: Developer AccountYour account has already been enabled to use the Spotify Apps API. Happy hacking!
  9. The error JSON data is not valid means that when you selected the install library action, the clipboard did not contain your JSON library. You need to follow the steps in "First time use" in the first post, specifically the step where you select the JSON data in the box and copy it to clipboard, right before install/update the library. Let me know if this is enough clear
  10. Sorry, it is in /Users/YOUR_USER/Library/Application Support/Alfred 2/Workflow Data/com.vdesabou.spotify.mini.player directory
  11. Ok, Can you delete the file "update_library_in_progress" in the same folder, and then do an install/update library and then provide the output.log. Can you also check that you have a "spotify-app-miniplayer" folder in the same folder?
  12. Hi, Can you share the output.log and output_actions.log that are located in the workflow folder? Can you share the output.log and output_actions.log that are located in the workflow folder? Thanks
  13. Hi, You have two issues: 1/ This error: 2013-08-01 11:19:05.700 osascript[4093:f0b] Error loading /Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types: dlopen(/Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types, 262): no suitable image found. Did find: /Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types: no matching architecture in universal wrapper osascript: OpenScripting.framework - scripting addition "/Library/ScriptingAdditions/Adobe Unit Types.osax" declares no loadable handlers. I found this on internet. Can you follow the instructions to fix it: http://robpickering.com/2011/01/adobe-type-units-error-how-to-fix-it-343 2/ Error: no such table: counters After fixing 1, try to update your library. If you still get an issue, please provide your library.db and settings.db in the spotify mini player application support directory (ping me if you don't know where it is) Keep me posted!
  14. Hi, Yes, some thing wrong is happening here :-) Can you provide the output.log and output_action.log files that are located in the Spotfify mini player workflow folder?
  15. I made major improvements with version 3.0. Using your library I can set max results to 100 and it takes only 150 ms to get results!! You should definitely have a try! Cheers
  16. Hi David, I finally implemented this SQL solution in the version 3.0 of my workflow, and yeah that's amazing how this has improved performances!!! I get 100 results with a 18K library, with artworks displayed, within 150ms!! See it in action here https://vimeo.com/70175318 FYI, I was using your methods from workflows.php to store configuration in plist file but I had some performances issues with it, so I decided to store settings in SQL db as well :-) Thanks for your help!
  17. I am happy to announce a major update for this workflow: 3.0: Major speed improvements. Using a library with 18000 tracks, search scope set to ALL, with artworks displayed, it takes 150ms to return 50 resultsLaunch your top listOnline mode: Lookup for artist online and then browse all albums and tracksMany more improvements PLEASE UPDATE YOUR LIBRARY AFTER INSTALLING THIS NEW VERSION
  18. Workflow updated: 2.8: New icons Option to enable/disable artworks Option to enable/disable More from this artist/album
×
×
  • Create New...