Spotify reopens immediately after quitting
Closed this issue · 14 comments
When running Playbox.widget
, Spotify.app reopens directly after quitting the application.
I've just pushed some updates which stop this from happening on my system. Check it out and let me know what happens!
https://github.com/Pe8er/Sidebar.Widget/blob/master/Sidebar.widget.zip?raw=true
That works, tyvm.
One more question, does the progress bar work for you with Spotify? I can't get it to work, always seems to be stuck at 100%.
Ha, nice catch! Just fixed it, please redownload.
GREAT … everythin is fine now!
Thanks for the work ..
Am 12.03.2016 um 02:01 schrieb Piotr Gajos notifications@github.com:
Ha, nice catch! Just fixed it, please redownload.
—
Reply to this email directly or view it on GitHub #7 (comment).
Progress bar is still stuck at 100% for me.
@dominiklohmann please do the following:
- Make sure you have the latest version of the widget.
- Restart Ubersicht.
- Open
Sidebar.widget/Playbox.widget/as/Get Current Track.applescript
in Script Editor. - Make sure there is a song playing.
- Hit ⌘ + R to run the Applescript.
- Copy output from Result area at the bottom of the window.
- Wait a few seconds.
- Run it again and copy output again.
- Paste both outputs here.
❯ osascript Get\ Current\ Track.applescript
Zhu ~ In the Morning ~ In the Morning ~ ★★★☆☆ ~ 246495 ~ 4,242 ~ http://img2-ak.lst.fm/i/u/174s/7a424d57923b933ee4466a5d09f328ec.png
❯ osascript Get\ Current\ Track.applescript
Zhu ~ In the Morning ~ In the Morning ~ ★★★☆☆ ~ 246495 ~ 28,143 ~ http://img2-ak.lst.fm/i/u/174s/7a424d57923b933ee4466a5d09f328ec.png
I think I've fixed it. Please try the latest version and let me know.
Nope.
❯ osascript Get\ Current\ Track.applescript
Zhu ~ Working For It ~ Genesis Series ~ ★★★★☆ ~ 231813 ~ 46,668 ~ http://img2-ak.lst.fm/i/u/174s/58133fd85084c763dda6ceec9dd2b1ef.png
❯ osascript Get\ Current\ Track.applescript
Zhu ~ Working For It ~ Genesis Series ~ ★★★★☆ ~ 231813 ~ 56,725 ~ http://img2-ak.lst.fm/i/u/174s/58133fd85084c763dda6ceec9dd2b1ef.png
Please run this in Script Editor:
set oValues to {}
tell application "Spotify"
repeat 3 times
set aDuration to duration of current track
set aPosition to player position
copy aPosition & aDuration to the end of oValues
delay 1
end repeat
end tell
return oValues
And let me know the output.
{{137.622, 231813}, {138.623, 231813}, {139.625, 231813}}
seems to work.
Alright. I fixed number formatting in the latest version. It looks like we managed to miss each other — I probably pushed the latest update seconds after you downloaded it. Try downloading it again.
Completely forgot to close this, sorry for leaving it open so long.
No worries @dominiklohmann 😄