Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Widget fails to run if Spotify isn't installed #5

Closed
puzzledsam opened this issue Jul 6, 2020 · 5 comments
Closed

Widget fails to run if Spotify isn't installed #5

puzzledsam opened this issue Jul 6, 2020 · 5 comments

Comments

@puzzledsam
Copy link

I've been wanting to use this widget but every time I play something on Apple Music, nothing happens. Looking at the console, it seems that it's looking for a Spotify install. Since I don't have it installed on my Mac, the widget crashes and never pops up.

@ab9st8
Copy link

ab9st8 commented Aug 6, 2020

What error are you getting in the debug console?

@puzzledsam
Copy link
Author

puzzledsam commented Aug 6, 2020

What error are you getting in the debug console?

I see the following error message being repeated over and over:

[Error] Failed to load resource: the server responded with a status of 500 (Internal Server Error) (run, line 0)
[Log] Something happened!? Error: UeberPlayer.widget/getTrack.scpt:803:808: script error: Expected “then”, etc. but found identifier. (-2741) (UeberPlayer-widget-index-jsx, line 655)

By installing Spotify the error went away, and then once I uninstalled it, the error reappeared. The AppleScript which gets the currently playing track information works fine on its own according to the Script Editor's output (but it does ask me to locate the Spotify app on my system since it isn't installed), but fails to work properly in the widget.

EDIT: It actually doesn't even work in Script Editor anymore, and I get the same error as the one in the debug console.

@noatpad
Copy link
Owner

noatpad commented Aug 10, 2020

I think I managed to fix this problem. I completely forgot about people who don't have Spotify installed, and Applescript's very finicky sometimes, haha. Try downloading the zip again and see if it works!

@puzzledsam
Copy link
Author

With the new version I still get a similar error:
[Error] Failed to load resource: the server responded with a status of 500 (Internal Server Error) (run, line 0) [Log] Something happened!? Error: UeberPlayer.widget/getTrack.scpt:1290:1295: script error: Expected end of line but found identifier. (-2741) (UeberPlayer-widget-index-jsx, line 655)

@noatpad
Copy link
Owner

noatpad commented Oct 12, 2020

Gonna close this for now because I believe the update I made a bit ago should work fine without Spotify installed now, but feel free to reopen if the problem still persists

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants