Description
Next track won't start if device screen is in sleep mode.
A more detailed description, using numbered steps
1. Open spotify
2. Start a playlist or a radio
3. Wait fro the screen to go off
4. Next song won't play
5. Wake the screen
6. Next song plays
Did you restart your device when troubleshooting in section B?
Yes, also tried to erase data and reinstall.
Wifi is set to always activated in sleep mode.
What I expected to happen
The next song is supposed to be played
What actually happened
The next song is not played
Device model
Asus Nexus 7
Device’s Operating System
4.1 Jelly Bean
Is your device rooted?
No
Are you using a custom ROM, if so which one, exactly?
No, stock.
My mobile Spotify version
0.5.2.87
My desktop Spotify version (if applicable)
N/A
My mobile provider and country
Device is Wifi Only
My username
semon1617
Do you have any screenshots you can attach to more clearly explain your issue?
I'll try to provide a video of the defect in the evening.
This has happened since my HTC Evo (and now I am on a Galaxy Nexus). If the playlist is not downloaded and I'm on wifi, it won't advance to the next song and often stops playing while in a song altogether. If I have wifi off, it works fine.
It's odd, because Spotify is the only app that seems to have trouble streaming with the screen off on wifi.
Hello,
Now that I've used the troubleshouting guide, that I created a new thread using template, that I've uploaded a video of the problem and that other users have confirmed that they have the same issue, would someone official acknowledge and actually help on solving this issue ?
Is there a way to activate traces/debug log that could help someone for support or developers to identify the defect ?
It also happens with my Galaxy Nexus on Jelly Bean !
Support, where are you ?
same issue, with CM10 Rom, seems to be a problem with Jelly Bean. and knowing Spotify will not be fixed untill just about the next version of Android is out.
@eatonjb wrote:same issue, with CM10 Rom, seems to be a problem with Jelly Bean. and knowing Spotify will not be fixed untill just about the next version of Android is out.
I am running Jelly Bean (stock rooted) and I do not have this issue. My app always advances to the next song.
I wanted to throw in that I have this problem on my nexus 7 too; my setup is exact to the OP.
One additional item that I experienced was that the song currently playing would start to skip if the screen was off for a prolonged period of time. The term "Prolonged" is a bit relative since the issue will start occuring during the same song that the screen went to sleep on, so I am really talking about a matter of a at most a couple of minuites.
Given that my setup is exact to the OP, you can be assured that I am talking about 'radio' mode, so I am talking about streaming, and that my Wifi is set to always on during sleep.
Same problem with my new google nexus 7.
Radio stop when tablet go to sleep mode.
Really boring.
Nexus 7 stock rom, bought 2 days ago, up to date.
after some test, in sleep mode, the next song is played by jerks, 2 or 3 s music all the white 20sec => streaming problem.
https://play.google.com/store/apps/details?id=com.ratcash.wifiperf in precedent message, temporary fix the problem, but I definitely DO NOT want my battery drain for spotify.
A real fix would be cool.
According to the app comments, it could be a problem with whatever wifi router you're using. Some of them - apparently - struggle with devices using power management. That app fixed the problem for me though. I was getting stuttering within tracks, sometimes pauses for as longer 10/15 seconds, and long pauses between tracks, within minutes of turning the screen off. That little app has fixed it for me, so thanks for the link!
Fair enough. Just thought I'd mention it since it's in the app description. Either way, a very frustrating problem! Weirdly, I don't get the same problem on my phone (Samsung Galaxy S2), but then again, i'm still using the old client so I can save offline tracks to the external SD. As a software developer, I find it frustrating and strange that software can go through a major version number change and lose some features, which is what seems to have happened here.
I have found a solution for this problem, or at least it works now on my HTC One V. I think this will help other HTC users as well.
You need to enable the "Best Wi-Fi performance" option. When it's on the wi-fi connection will really stay on even when the screen goes to sleep. It is weird that the actual "keep wifi on when screen is off" -setting isn't affecting Spotify, but you really need to force the connection to be active all the time by checking the "best wi-fi performance".
Was this any of assistance? I hope so 🙂
On the last three devices I've had (HTC Evo, Verison Galaxy Nexus, GSM Galaxy Nexus) my phone does the exact same thing. If I haven't downloaded the song and am running on wifi (even with the settings set to have wifi stay on when the phone is asleep, trust me, I've checked) the song will always stop at some point. I have to turn on the screen to get it working again. Super annoying, and has seemingly always ben a bug in both major versions of Spotify on Android.
@Deadpiece wrote:I have found a solution for this problem, or at least it works now on my HTC One V. I think this will help other HTC users as well.
You need to enable the "Best Wi-Fi performance" option. When it's on the wi-fi connection will really stay on even when the screen goes to sleep. It is weird that the actual "keep wifi on when screen is off" -setting isn't affecting Spotify, but you really need to force the connection to be active all the time by checking the "best wi-fi performance".
Was this any of assistance? I hope so 🙂
That just makes the phone disconnect from poor or fluctuating wifi sources, this should not keep wifi on.
I have a HTC sensation rooted with a custom JB rom and when the screen goes off the next track doesn't load, as soon as I turn the screen back on it its starts playing. I didnt have the problem with a rooted ICS rom. My "Keep Wi-Fi on during sleep" setting is "Always on".
I accidentally fixed this by running "fix permissions" with 4ext recovery and so far im upto 9 or 10 songs continuously without any problems.
This solution is only for rooted devices, I don't know if it was a problem with the app or the ROM
I'm having the same issue. Since the problem exactly resembles the orginal issue and device, I didn't want to create a new bug.
In reference to the WiFi setting, my device is set to "Keep WiFi on during sleep - Always"
Other streaming services including Google Play do not have this issue, this is a Spotify issue. If you want device logs, I can try to get them.
I took another look at the reccomendation above. It seems to have resolved the issue. I can now listen to albums and radio stations without requiring the screen to be woken up between tracks.
If you want to try it, these are the steps:
Settings > WiFi > Click the : icon in the top right corner > Advanced > Uncheck "Wi-Fi optimization"
Battery life has not suffered with any discernible capacity.
Could it be that Spotify releases its wake lock or wifi lock when switching tracks and for some reason fails to reaquire? Or perhaps there's some packet loss during this time causing the Spotify app to give up starting the next track.
Since other streaming services handles this just fine the problem is most likely in the Spotify app.
It is 100% reproducable on my Galaxy Nexus with Android 4.2.2 at least as long as the track switch occurs > 1-2 minutes after the screen went off.
Seeing the same issue with 4.1 (JellyBean) on the Samsung Galaxy Nexus. At times, the same song will repeat, even if the app is not on repeat. Happens for playlist and radio.