[Q] Music stop playing on CM10

Husi10

Senior Member
Feb 25, 2012
112
56
0
Hi,
I have an annoying issue on the latest Quarx's CM10 (18/03). I have this problem since November I think. When I'm playing music from my SD card on any music app (usually I use Play music or PowerAMP) it stop randomly after some music when screen is off.
I think it happen because of RAM management which kill running app on IDLE to increase battery life. But I tried tweak RAM setting and it didn't change nothing.

I think I'm not the one with this issue. I'll take every idea to try to fix this.
Thank you.
 

hackergnome

Senior Member
Apr 21, 2011
2,610
869
0
Mumbai
Keep your app in foreground.
And if your player has notification thingy, the atk can't kill that app. I think both apps you mentioned has a notification control, SDL it can't be memory management!

Sent from my MB526 using xda premium
 
  • Like
Reactions: Husi10

Husi10

Senior Member
Feb 25, 2012
112
56
0
Thank you for your reply.

I can keep the app in foreground but it take approximately 30-45mo of RAM so my phone will become very laggy.

I think you're right when you say it can't kill the app because of the notification. But I think android system kill an other background service which is necessary to the music be played correctly. I'll trying to investigate when I'll have more time.
I have an other app called Deezer (French Spotify service). This app never stop or less frequently. I think it's because it use it own decode system (music file are encrypted on the server or memory card). The app don't use external services to decode music so the app continue playing after hours.

Btw I find strange that I'm the only one to complain about this. I will make a clean install in some day.
 
  • Like
Reactions: woodman

joke19

Senior Member
Feb 23, 2012
1,011
170
93
AW: [Q] Music stop playing on CM10

Hi, you test supercharger script? With this you can look apps in memory or under general I saw a post how to look apps in memory.

Gesendet von meinem MB526
 
  • Like
Reactions: Husi10

Husi10

Senior Member
Feb 25, 2012
112
56
0
Yes in know how to do it. But if I lock music player in memory, it will take about 40mo all the time. My Defy will become very laggy.
 

woodman

Senior Moderator / RC-RT & Moderator Committees
Staff member
Jul 21, 2012
12,431
22,951
263
40
France
Thank you for your reply.

I can keep the app in foreground but it take approximately 30-45mo of RAM so my phone will become very laggy.

I think you're right when you say it can't kill the app because of the notification. But I think android system kill an other background service which is necessary to the music be played correctly. I'll trying to investigate when I'll have more time.
I have an other app called Deezer (French Spotify service). This app never stop or less frequently. I think it's because it use it own decode system (music file are encrypted on the server or memory card). The app don't use external services to decode music so the app continue playing after hours.

Btw I find strange that I'm the only one to complain about this. I will make a clean install in some day.
Hi Husi10,
I have the same issue as you about music playback.
My problem is the following :
When I'm using Deezer app with CM10 or CM10.1, music playback is frequently laggy (always in the very begenning of the tracks) and sometimes it stops playing in some unknown situations (as you described on this thread).

This issue doesn't occur on CM7.

Did you, as me, notice this playback lags in the begenning of the tracks ?
Did you find a fix or a workaround for this issue on CM10.x since March (date of your post) ?

Thanks
 

Husi10

Senior Member
Feb 25, 2012
112
56
0
Hi,
Yeah, music playback on Deezer's app is laggy in the beginning of every track. I think there's no workaround because it's a bug with the app itself. It happens also with my tablet (Nexus 10). But playback never stop by itself.

After my post, I did a clean install (wipe data) and also format my SD card. It helped a lot, I never experimented this kind of bug again.
 
  • Like
Reactions: woodman

woodman

Senior Moderator / RC-RT & Moderator Committees
Staff member
Jul 21, 2012
12,431
22,951
263
40
France
Hi,
Yeah, music playback on Deezer's app is laggy in the beginning of every track. I think there's no workaround because it's a bug with the app itself. It happens also with my tablet (Nexus 10). But playback never stop by itself.

After my post, I did a clean install (wipe data) and also format my SD card. It helped a lot, I never experimented this kind of bug again.
Thanks for your reply.
In my experience, music lags issue only occur in CM10.x. Did you already test Deezer on CM7 ?

[EDIT] So, do you think that Deezer is buggy like this only since Android 4.1 ?
On which ROM your Nexus 10 runs ?
 
Last edited:

woodman

Senior Moderator / RC-RT & Moderator Committees
Staff member
Jul 21, 2012
12,431
22,951
263
40
France
Yes, there are lags at the beginning of each songs.
Hi,
I'm just (re)testing Deezer on my Defy running Quarx CM10.1 build (2013-06-26).
I've changed I/O scheduler to "cfq" (before my change, it was "sio") and it seems to work better, I don't notice lags at the beginning of each songs for the moment. :fingers-crossed:
Is it the same for you ? Could you test it in order to confirm my potential finding ?
Thanks
 
  • Like
Reactions: Husi10

woodman

Senior Moderator / RC-RT & Moderator Committees
Staff member
Jul 21, 2012
12,431
22,951
263
40
France
Oh yeah that's really better with cfq scheduler. Thank you for the tips.
After one more day of tests with cfq i/o scheduler, I've noticed that lags at the beginning of a song still occur BUT only after launching Deezer and only with the first song. The next songs playback is smooth.