I'm running android 4.4.2. When I play music via the Pandora or Slacker apps, it works fine. But if I stop using the phone while its playing, then the music stops playing once the current song ends.
So if a song is already playing when the screen goes dark, it will keep playing, but once it ends, it doesn't fetch the next song.
If I keep my display active, then the songs keep playing without any problem.
My research in this indicates that this is an issue with the wifi being cut off once the phone is inactive, which prevents the app from getting the next song. But I already have the setting 'Keep wifi on during sleep' set to 'always', but it has no effect.