Closed pattiereaves closed 10 years ago
Hmm... search can take a bit of time (querying Spotify's servers can be slow).
How long does this url take to load?
It's weird, that link loads just about instantaneously but on my computer I can wait minutes and it never loads.
On Thu, Apr 3, 2014 at 4:14 PM, Ben Stolovitz notifications@github.comwrote:
Hmm... search can take a bit of time (querying Spotify's servers can be slow).
How long does this urlhttp://ws.spotify.com/search/1/album.json?q=transitionstake to load?
Reply to this email directly or view it on GitHubhttps://github.com/citelao/Spotify-for-Alfred/issues/24#issuecomment-39499105 .
OK— lemme see if I can learn anything from the script output. You'll need to mirror it into a .txt
file like so:
Spotifious
is selected.Script Filter
.php -f main.php
.| tee ~/Desktop/spotifious_log.txt
.txt
file on your desktop.Let's fix this!
I really appreciate your help with this!
I added the line as you suggested but the file that is created on my Deskop is blank. I do, however, see some output when I toggle the debug mode in the Alfred Workflow.
FWIW I have my PHP error reporting set to E_ALL. And my PHP version: PHP 5.4.24 (cli) (built: Jan 19 2014 21:32:15)
[ERROR: alfred.workflow.input.scriptfilter] Code 0: PHP Notice: Use of undefined constant title - assumed 'title' in /Users/preaves/Dropbox/Alfred Settings/Alfred.alfredpreferences/workflows/user.workflow.BF2D97CE-7A02-4111-AB84-0AF583D4C55D/main.php on line 41
PHP Notice: Use of undefined constant subtitle - assumed 'subtitle' in /Users/preaves/Dropbox/Alfred Settings/Alfred.alfredpreferences/workflows/user.workflow.BF2D97CE-7A02-4111-AB84-0AF583D4C55D/main.php on line 42
PHP Notice: Use of undefined constant arg - assumed 'arg' in /Users/preaves/Dropbox/Alfred Settings/Alfred.alfredpreferences/workflows/user.workflow.BF2D97CE-7A02-4111-AB84-0AF583D4C55D/main.php on line 43
PHP Notice: Use of undefined constant icon - assumed 'icon' in /Users/preaves/Dropbox/Alfred Settings/Alfred.alfredpreferences/workflows/user.workflow.BF2D97CE-7A02-4111-AB84-0AF583D4C55D/main.php on line 44
PHP Notice: Use of undefined constant title - assumed 'title' in /Users/preaves/Dropbox/Alfred Settings/Alfred.alfredpreferences/workflows/user.workflow.BF2D97CE-7A02-4111-AB84-0AF583D4C55D/main.php on line 46
PHP Notice: Use of undefined constant subtitle - assumed 'subtitle' in /Users/preaves/Dropbox/Alfred Settings/Alfred.alfredpreferences/workflows/user.workflow.BF2D97CE-7A02-4111-AB84-0AF583D4C55D/main.php on line 47
PHP Notice: Use of undefined constant autocomplete - assumed 'autocomplete' in /Users/preaves/Dropbox/Alfred Settings/Alfred.alfredpreferences/workflows/user.workflow.BF2D97CE-7A02-4111-AB84-0AF583D4C55D/main.php on line 48
PHP Notice: Use of undefined constant valid - assumed 'valid' in /Users/preaves/Dropbox/Alfred Settings/Alfred.alfredpreferences/workflows/user.workflow.BF2D97CE-7A02-4111-AB84-0AF583D4C55D/main.php on line 49
PHP Notice: Use of undefined constant icon - assumed 'icon' in /Users/preaves/Dropbox/Alfred Settings/Alfred.alfredpreferences/workflows/user.workflow.BF2D97CE-7A02-4111-AB84-0AF583D4C55D/main.php on line 50
PHP Notice: Undefined variable: currentAlbumArtwork in /Users/preaves/Dropbox/Alfred Settings/Alfred.alfredpreferences/workflows/user.workflow.BF2D97CE-7A02-4111-AB84-0AF583D4C55D/main.php on line 50
PHP Notice: Use of undefined constant title - assumed 'title' in /Users/preaves/Dropbox/Alfred Settings/Alfred.alfredpreferences/workflows/user.workflow.BF2D97CE-7A02-4111-AB84-0AF583D4C55D/main.php on line 52
PHP Notice: Use of undefined constant subtitle - assumed 'subtitle' in /Users/preaves/Dropbox/Alfred Settings/Alfred.alfredpreferences/workflows/user.workflow.BF2D97CE-7A02-4111-AB84-0AF583D4C55D/main.php on line 53
PHP Notice: Use of undefined constant autocomplete - assumed 'autocomplete' in /Users/preaves/Dropbox/Alfred Settings/Alfred.alfredpreferences/workflows/user.workflow.BF2D97CE-7A02-4111-AB84-0AF583D4C55D/main.php on line 54
PHP Notice: Use of undefined constant valid - assumed 'valid' in /Users/preaves/Dropbox/Alfred Settings/Alfred.alfredpreferences/workflows/user.workflow.BF2D97CE-7A02-4111-AB84-0AF583D4C55D/main.php on line 55
PHP Notice: Use of undefined constant icon - assumed 'icon' in /Users/preaves/Dropbox/Alfred Settings/Alfred.alfredpreferences/workflows/user.workflow.BF2D97CE-7A02-4111-AB84-0AF583D4C55D/main.php on line 56
PHP Notice: Undefined variable: currentArtistArtwork in /Users/preaves/Dropbox/Alfred Settings/Alfred.alfredpreferences/workflows/user.workflow.BF2D97CE-7A02-4111-AB84-0AF583D4C55D/main.php on line 56
PHP Notice: Use of undefined constant title - assumed 'title' in /Users/preaves/Dropbox/Alfred Settings/Alfred.alfredpreferences/workflows/user.workflow.BF2D97CE-7A02-4111-AB84-0AF583D4C55D/main.php on line 58
PHP Notice: Use of undefined constant subtitle - assumed 'subtitle' in /Users/preaves/Dropbox/Alfred Settings/Alfred.alfredpreferences/workflows/user.workflow.BF2D97CE-7A02-4111-AB84-0AF583D4C55D/main.php on line 59
PHP Notice: Use of undefined constant valid - assumed 'valid' in /Users/preaves/Dropbox/Alfred Settings/Alfred.alfredpreferences/workflows/user.workflow.BF2D97CE-7A02-4111-AB84-0AF583D4C55D/main.php on line 60
PHP Notice: Use of undefined constant icon - assumed 'icon' in
[ERROR: alfred.workflow.input.scriptfilter] Code 0: PHP Notice: Use of undefined constant title - assumed 'title' in /Users/preaves/Dropbox/Alfred Settings/Alfred.alfredpreferences/workflows/user.workflow.BF2D97CE-7A02-4111-AB84-0AF583D4C55D/main.php on line 41
PHP Notice: Use of undefined constant subtitle - assumed 'subtitle' in /Users/preaves/Dropbox/Alfred Settings/Alfred.alfredpreferences/workflows/user.workflow.BF2D97CE-7A02-4111-AB84-0AF583D4C55D/main.php on line 42
PHP Notice: Use of undefined constant arg - assumed 'arg' in /Users/preaves/Dropbox/Alfred Settings/Alfred.alfredpreferences/workflows/user.workflow.BF2D97CE-7A02-4111-AB84-0AF583D4C55D/main.php on line 43
PHP Notice: Use of undefined constant icon - assumed 'icon' in /Users/preaves/Dropbox/Alfred Settings/Alfred.alfredpreferences/workflows/user.workflow.BF2D97CE-7A02-4111-AB84-0AF583D4C55D/main.php on line 44
PHP Notice: Use of undefined constant title - assumed 'title' in /Users/preaves/Dropbox/Alfred Settings/Alfred.alfredpreferences/workflows/user.workflow.BF2D97CE-7A02-4111-AB84-0AF583D4C55D/main.php on line 46
PHP Notice: Use of undefined constant subtitle - assumed 'subtitle' in /Users/preaves/Dropbox/Alfred Settings/Alfred.alfredpreferences/workflows/user.workflow.BF2D97CE-7A02-4111-AB84-0AF583D4C55D/main.php on line 47
PHP Notice: Use of undefined constant autocomplete - assumed 'autocomplete' in /Users/preaves/Dropbox/Alfred Settings/Alfred.alfredpreferences/workflows/user.workflow.BF2D97CE-7A02-4111-AB84-0AF583D4C55D/main.php on line 48
PHP Notice: Use of undefined constant valid - assumed 'valid' in /Users/preaves/Dropbox/Alfred Settings/Alfred.alfredpreferences/workflows/user.workflow.BF2D97CE-7A02-4111-AB84-0AF583D4C55D/main.php on line 49
PHP Notice: Use of undefined constant icon - assumed 'icon' in /Users/preaves/Dropbox/Alfred Settings/Alfred.alfredpreferences/workflows/user.workflow.BF2D97CE-7A02-4111-AB84-0AF583D4C55D/main.php on line 50
PHP Notice: Undefined variable: currentAlbumArtwork in /Users/preaves/Dropbox/Alfred Settings/Alfred.alfredpreferences/workflows/user.workflow.BF2D97CE-7A02-4111-AB84-0AF583D4C55D/main.php on line 50
PHP Notice: Use of undefined constant title - assumed 'title' in /Users/preaves/Dropbox/Alfred Settings/Alfred.alfredpreferences/workflows/user.workflow.BF2D97CE-7A02-4111-AB84-0AF583D4C55D/main.php on line 52
PHP Notice: Use of undefined constant subtitle - assumed 'subtitle' in /Users/preaves/Dropbox/Alfred Settings/Alfred.alfredpreferences/workflows/user.workflow.BF2D97CE-7A02-4111-AB84-0AF583D4C55D/main.php on line 53
PHP Notice: Use of undefined constant autocomplete - assumed 'autocomplete' in /Users/preaves/Dropbox/Alfred Settings/Alfred.alfredpreferences/workflows/user.workflow.BF2D97CE-7A02-4111-AB84-0AF583D4C55D/main.php on line 54
PHP Notice: Use of undefined constant valid - assumed 'valid' in /Users/preaves/Dropbox/Alfred Settings/Alfred.alfredpreferences/workflows/user.workflow.BF2D97CE-7A02-4111-AB84-0AF583D4C55D/main.php on line 55
PHP Notice: Use of undefined constant icon - assumed 'icon' in /Users/preaves/Dropbox/Alfred Settings/Alfred.alfredpreferences/workflows/user.workflow.BF2D97CE-7A02-4111-AB84-0AF583D4C55D/main.php on line 56
PHP Notice: Undefined variable: currentArtistArtwork in /Users/preaves/Dropbox/Alfred Settings/Alfred.alfredpreferences/workflows/user.workflow.BF2D97CE-7A02-4111-AB84-0AF583D4C55D/main.php on line 56
PHP Notice: Use of undefined constant title - assumed 'title' in /Users/preaves/Dropbox/Alfred Settings/Alfred.alfredpreferences/workflows/user.workflow.BF2D97CE-7A02-4111-AB84-0AF583D4C55D/main.php on line 58
PHP Notice: Use of undefined constant subtitle - assumed 'subtitle' in /Users/preaves/Dropbox/Alfred Settings/Alfred.alfredpreferences/workflows/user.workflow.BF2D97CE-7A02-4111-AB84-0AF583D4C55D/main.php on line 59
PHP Notice: Use of undefined constant valid - assumed 'valid' in /Users/preaves/Dropbox/Alfred Settings/Alfred.alfredpreferences/workflows/user.workflow.BF2D97CE-7A02-4111-AB84-0AF583D4C55D/main.php on line 60
PHP Notice: Use of undefined constant icon - assumed 'icon' in
[ERROR: alfred.workflow.input.scriptfilter] Code 0: PHP Notice: Use of undefined constant title - assumed 'title' in /Users/preaves/Dropbox/Alfred Settings/Alfred.alfredpreferences/workflows/user.workflow.BF2D97CE-7A02-4111-AB84-0AF583D4C55D/main.php on line 41
PHP Notice: Use of undefined constant subtitle - assumed 'subtitle' in /Users/preaves/Dropbox/Alfred Settings/Alfred.alfredpreferences/workflows/user.workflow.BF2D97CE-7A02-4111-AB84-0AF583D4C55D/main.php on line 42
PHP Notice: Use of undefined constant arg - assumed 'arg' in /Users/preaves/Dropbox/Alfred Settings/Alfred.alfredpreferences/workflows/user.workflow.BF2D97CE-7A02-4111-AB84-0AF583D4C55D/main.php on line 43
PHP Notice: Use of undefined constant icon - assumed 'icon' in /Users/preaves/Dropbox/Alfred Settings/Alfred.alfredpreferences/workflows/user.workflow.BF2D97CE-7A02-4111-AB84-0AF583D4C55D/main.php on line 44
PHP Notice: Use of undefined constant title - assumed 'title' in /Users/preaves/Dropbox/Alfred Settings/Alfred.alfredpreferences/workflows/user.workflow.BF2D97CE-7A02-4111-AB84-0AF583D4C55D/main.php on line 46
PHP Notice: Use of undefined constant subtitle - assumed 'subtitle' in /Users/preaves/Dropbox/Alfred Settings/Alfred.alfredpreferences/workflows/user.workflow.BF2D97CE-7A02-4111-AB84-0AF583D4C55D/main.php on line 47
PHP Notice: Use of undefined constant autocomplete - assumed 'autocomplete' in /Users/preaves/Dropbox/Alfred Settings/Alfred.alfredpreferences/workflows/user.workflow.BF2D97CE-7A02-4111-AB84-0AF583D4C55D/main.php on line 48
PHP Notice: Use of undefined constant valid - assumed 'valid' in /Users/preaves/Dropbox/Alfred Settings/Alfred.alfredpreferences/workflows/user.workflow.BF2D97CE-7A02-4111-AB84-0AF583D4C55D/main.php on line 49
PHP Notice: Use of undefined constant icon - assumed 'icon' in /Users/preaves/Dropbox/Alfred Settings/Alfred.alfredpreferences/workflows/user.workflow.BF2D97CE-7A02-4111-AB84-0AF583D4C55D/main.php on line 50
PHP Notice: Undefined variable: currentAlbumArtwork in /Users/preaves/Dropbox/Alfred Settings/Alfred.alfredpreferences/workflows/user.workflow.BF2D97CE-7A02-4111-AB84-0AF583D4C55D/main.php on line 50
PHP Notice: Use of undefined constant title - assumed 'title' in /Users/preaves/Dropbox/Alfred Settings/Alfred.alfredpreferences/workflows/user.workflow.BF2D97CE-7A02-4111-AB84-0AF583D4C55D/main.php on line 52
PHP Notice: Use of undefined constant subtitle - assumed 'subtitle' in /Users/preaves/Dropbox/Alfred Settings/Alfred.alfredpreferences/workflows/user.workflow.BF2D97CE-7A02-4111-AB84-0AF583D4C55D/main.php on line 53
PHP Notice: Use of undefined constant autocomplete - assumed 'autocomplete' in /Users/preaves/Dropbox/Alfred Settings/Alfred.alfredpreferences/workflows/user.workflow.BF2D97CE-7A02-4111-AB84-0AF583D4C55D/main.php on line 54
PHP Notice: Use of undefined constant valid - assumed 'valid' in /Users/preaves/Dropbox/Alfred Settings/Alfred.alfredpreferences/workflows/user.workflow.BF2D97CE-7A02-4111-AB84-0AF583D4C55D/main.php on line 55
PHP Notice: Use of undefined constant icon - assumed 'icon' in /Users/preaves/Dropbox/Alfred Settings/Alfred.alfredpreferences/workflows/user.workflow.BF2D97CE-7A02-4111-AB84-0AF583D4C55D/main.php on line 56
PHP Notice: Undefined variable: currentArtistArtwork in /Users/preaves/Dropbox/Alfred Settings/Alfred.alfredpreferences/workflows/user.workflow.BF2D97CE-7A02-4111-AB84-0AF583D4C55D/main.php on line 56
PHP Notice: Use of undefined constant title - assumed 'title' in /Users/preaves/Dropbox/Alfred Settings/Alfred.alfredpreferences/workflows/user.workflow.BF2D97CE-7A02-4111-AB84-0AF583D4C55D/main.php on line 58
PHP Notice: Use of undefined constant subtitle - assumed 'subtitle' in /Users/preaves/Dropbox/Alfred Settings/Alfred.alfredpreferences/workflows/user.workflow.BF2D97CE-7A02-4111-AB84-0AF583D4C55D/main.php on line 59
PHP Notice: Use of undefined constant valid - assumed 'valid' in /Users/preaves/Dropbox/Alfred Settings/Alfred.alfredpreferences/workflows/user.workflow.BF2D97CE-7A02-4111-AB84-0AF583D4C55D/main.php on line 60
PHP Notice: Use of undefined constant icon - assumed 'icon' in
On Fri, Apr 4, 2014 at 4:44 PM, Ben Stolovitz notifications@github.comwrote:
OK— lemme see if I can learn anything from the script output. You'll need to mirror it into a .txt file like so:
- In Alfred Preferences → Workflows , make sure Spotifious is selected.
- Double click the square that says Script Filter.
- Look on the line that begins with php -f main.php.
- Add this text to the very end of that line: | tee ~/Desktop/spotifious_log.txt
- Try running a search again. It will generate a .txt file on your desktop.
- Post it here!
Let's fix this!
— Reply to this email directly or view it on GitHubhttps://github.com/citelao/Spotify-for-Alfred/issues/24#issuecomment-39609398 .
You might want to try my working copy of Spotifious— I fixed the undefined constant
issue. You can use the built code here or just checkout feature-starred
in the repo if you have it cloned.
And no worries— happy to help
It gives me a message to bind my hotkeys, install the helper app, and find my country code. I did the first and second message but I have no idea what my country code is (US).
On Tue, Apr 8, 2014 at 6:13 PM, Ben Stolovitz notifications@github.comwrote:
You might want to try my working copy of Spotifious— I fixed the undefined constant issue. You can use the built code herehttps://dl.dropboxusercontent.com/u/3770885/Spotifious.alfredworkflowor just checkout feature-starred in the repo if you have it cloned.
— Reply to this email directly or view it on GitHubhttps://github.com/citelao/Spotify-for-Alfred/issues/24#issuecomment-39908355 .
Weird— it should be showing a list of countries like this:
Can I see the PHP error reports or can you tee
the output again?
Hey again!
I did a major rewrite of the code, with a smaller feature set.
It's available here on the dev branch.
I recommend installing the .alfredworkflow
file within. It should no longer set off your E_ALL
error reporting, and if it does I included a much better debugger.
Hey! That fixed my search issue! :) Thanks!
On Sat, Apr 12, 2014 at 3:31 PM, Ben Stolovitz notifications@github.comwrote:
Hey again!
I did a major rewrite of the code, with a smaller feature set.
It's available here on the dev branchhttps://github.com/citelao/Spotify-for-Alfred/tree/dev .
I recommend installing the .alfredworkflow file within. It should no longer set off your E_ALL error reporting, and if it does I included a much better debugger.
— Reply to this email directly or view it on GitHubhttps://github.com/citelao/Spotify-for-Alfred/issues/24#issuecomment-40289461 .
Awesome! I'm glad we could get it working.
On Apr 13, 2014, at 8:46 AM, Pattie Reaves notifications@github.com wrote:
Hey! That fixed my search issue! :) Thanks!
On Sat, Apr 12, 2014 at 3:31 PM, Ben Stolovitz notifications@github.comwrote:
Hey again!
I did a major rewrite of the code, with a smaller feature set.
It's available here on the dev branchhttps://github.com/citelao/Spotify-for-Alfred/tree/dev .
I recommend installing the .alfredworkflow file within. It should no longer set off your E_ALL error reporting, and if it does I included a much better debugger.
— Reply to this email directly or view it on GitHubhttps://github.com/citelao/Spotify-for-Alfred/issues/24#issuecomment-40289461 .
— Reply to this email directly or view it on GitHub.
When I start to search, I never get any results. This is with /master and /0.82. Anyone else having as similar issue?