I tried logging this issue as a bug.
Here is the correspondence:
Me
======================================================
Spotify prevents mac from sleeping.
For more information see:
https://getsatisfaction.com/spotify/topics/spotify_prevents_my_mac_from_sleeping
http://community.spotify.com/t5/Desktop-Mac/Spotify-prevents-Mac-from-going-to-sleep/m-p/61923/highl...
http://community.spotify.com/t5/Spotify-Ideas/Allow-OS-X-Lion-to-sleep-when-Spotify-is-open/idi-p/81...
======================================================
Spotify
======================================================
Thanks for contacting
Spotify. I'm sorry to hear you have been experiencing issues.
Lets get this fixed for you.
It's a simple procedure, but often effective. Have you performed a clean reinstallation following these instructions.
1. Quit
Spotify2. In the finder, locate and delete the following folders:
~/Library/Caches/com.
spotify.Client
~/Library/Application Support/
Spotify3. Locate and delete the
Spotify app (from the application folder)
4. Empty trash, then restart
5. Download and install
Spotify latest version:
https://www.spotify.com/download/OSX LION users:
Apple have masked the user "Library" folder to prevent accidental deletion. You can access it by choosing 'Go', from the top menu in the Finder. Hold down 'alt' key, and the library should appear as a folder you can now open.
What operating system are you running on your Mac?
What version of
Spotify are you running on your device?
Are you running any third party
Spotify software, like a remote program?
Does the issue occur when you have music playing via
Spotify, or just when the program open?
Do you have SIMBL running?
SIMBL can be hidden from view sometimes, so to be sure, can you perform this task for me please:
1. Delete the entire folders from the following locations:
- Macintosh HD/Library/Application Support/SIMBL
&
- [USER FOLDER]/Library/Application Support/SIMBL
2. Uninstall
Spotify3. Restart your computer
4. Install
Spotify*please take care to ensure the removal of the following as well as some users have reported issue continuing until removal of these
/Applications/SpotRemote Server.app
/Library/ApplicationSupport/SIMBL/Plugins/SpotifyRemotePlugin.bundle
To access hidden files please type the following in Terminal:
defaults write com.apple.Finder AppleShowAllFiles YES
to hide them again please type:
defaults write com.apple.Finder AppleShowAllFiles NO
OR
sudo rm -rf "/Library/Application
Support/SIMBL/Plugins/SpotifyRemotePlugin.bundle"
/private/var/db/receipts/com.axelmoller.spotremote.*
/private/var/db/receipts/com.rootateverything.spotifyremote.spotRemot*
Kind regards
Louis Napoletani
Spotify Customer Service - Cambridge
======================================================
Me
======================================================
Thank you. I can confirm I don't have spotify remote software or SIMBL installed or running. I am using OS X Lion (10.7.4).Spotify version is 0.8.3.222.
I do not want to uninstall Spotify because I have something like 1700 songs cached in offline playlists that I believe are deleted as part of your removal process.
Before I'm forced into re-downloading these playlists, can you please confirm you are offering this advice because you cannot reproduce the issue yourself?
The first link I included when originally logging the bug gives good instructions doing this:
1. Open Terminal and type "pmset -g assertionslog". This will display info about any processes that are preventing your Mac from sleeping. You should see something like this:
Logging all assertion changes.
9/27/11 12:41:43 PM EDT
Assertion status system-wide:
ChargeInhibit 0
PreventUserIdleDisplaySleep 0
PreventUserIdleSystemSleep 0
NoRealPowerSources_debug 0
CPUBoundAssertion 0
EnableIdleSleep 1
PreventSystemSleep 0
DisableInflow 0
DisableLowPowerBatteryWarnings 0
ExternalMedia 0
Kernel Assertions: None
2. Launch Spotify.
3. Start playing a song.
4. Go back to the Terminal window in step 1. You will see something like this:
9/27/11 12:42:57 PM EDT
Assertion status system-wide:
ChargeInhibit 0
PreventUserIdleDisplaySleep 0
PreventUserIdleSystemSleep 1
NoRealPowerSources_debug 0
CPUBoundAssertion 0
EnableIdleSleep 1
PreventSystemSleep 0
DisableInflow 0
DisableLowPowerBatteryWarnings 0
ExternalMedia 0
Listed by owning process:
pid 117: [0x0000012c00000075] PreventUserIdleSystemSleep named: "com.apple.audio.'AppleHDAEngineOutput:8,0,1,1:0'.noidlesleep"
5. Stop the song. Note that coreaudio is still preventing idle sleep.
6. Quit Spotify.
7. Go back to the Terminal window in step 1. You will see something like this:
9/27/11 12:44:05 PM EDT
Assertion status system-wide:
ChargeInhibit 0
PreventUserIdleDisplaySleep 0
PreventUserIdleSystemSleep 0
NoRealPowerSources_debug 0
CPUBoundAssertion 0
EnableIdleSleep 1
PreventSystemSleep 0
DisableInflow 0
DisableLowPowerBatteryWarnings 0
ExternalMedia 0
Kernel Assertions: None
8. Your Mac will now sleep.
My guess is Spotify wants to prevent the Mac from sleeping while it's playing music, but it continues to do so even when the music has stopped.
I eagerly await the results of your own tests. I can see with other media playing apps that pausing/stopping sets PreventUserIdleSystemSleep back to 0, so I really think it's an issue with Spotify.
======================================================
Spotify
======================================================
I have tested this here and also tested it with different preferences turned on and off to see if it's any of those causing this issue.
We have looked into this and have submitted it to our senior team to look in to as well.
Please bare with us while we figure this out.
Thank you very much for bringing this to our attention.
Kind regards
Oliver
======================================================
That is the last email I got,9 days ago. Fingers crossed it'll at least get recognised soon!