AIMP Forum
AIMP for Android => Вопросы / Questions => Topic started by: Tom656516516 on November 17, 2021, 09:50:19
-
I have Android 11, memory card used as internal memory.
When I stop listening (pick up the phone) the track playback starts from the beginning. On Android 9 (or 10, can't remember), pause and play from bookmarks worked without issue. I have bookmarking and resuming playback set up.
What should I do to get back the most important function of the player for me (I listen to training and audiobooks)?
-
How you close the app?
-
What do you mean? Actually I don't turn it off at all when I stop listening (e.g. press pause), I switch to another app or put the phone away. When I start the app again, the track is set from the beginning and not where I stopped listening.
Another thing I remembered - when I noticed the problem, I changed the memory type to internal in the app settings.
-
Refer to the "About" dialog of the app, and check the "enable logging" option. Now, reproduce an issue and send the log file to me.
-
OK, see attachment
-
According to log, it seems that app was killed by OS as soon as it suspend the playback. So, app does not save it settings. MIUI is very aggressive firmware in cases like that (we does not yet support it officially, because I have no idea how to stable the app on it). I recommend you to try to add app to task dispatcher and battery optimization ignore list.
-
I understand, I did as you wrote and it didn't help. Tough luck. In the meantime, I changed the SD card settings to portable memory (I know apps have trouble setting SD card as internal memory), but that didn't help either.
However, I noticed that when I turn off the app deliberately, the bookmark is created correctly and turning the app back on correctly plays the auto bookmark track... However, if I "abandon" the app, it loses the bookmark.
I have a custom ROM (crDroid 7.12), I will write on their Telegram, maybe they will find a solution.
-
Please try this build:
https://disk.yandex.ru/d/T5jPgrDV6DqWPQ
I have improving my code to store the state as soon as app paused.
Additionally, I have added more logging (So, please send to me a new log if issue still happened);
-
So, on crDroid telegram group nobody understands what the problem is :)
But I think the problem is gone, I send the current log (there was recently an update to the application, it seems)
-
But I think the problem is gone, I send the current log (there was recently an update to the application, it seems)
Thank you for testing