AIMP Forum

AIMP for Android => Вопросы / Questions => Topic started by: rmf on November 13, 2023, 21:20:09

Title: AIMP not saving playback state when closing app
Post by: rmf on November 13, 2023, 21:20:09
Happy Android AIMP user of several years here - never going back to anything else.

I'm on Android 10 and I've been stuck on AIMP 3.22 build 1199 (30.06.2022), as ever since the next update, AIMP can no longer hold on to the player state when I close the app with the back button on my navbar. I don't really mind not updating as this version works fine, but still, I wonder if there's no one else with this issue.

I hit the back button and if the player is in a paused state, I briefly see the albumart and playback position disappear and when I reopen, it shows a blank screen waiting for me to play something. In previous versions, the app would remember the state. I've enclosed a video (GIF) where I close and reopen the app a few times while music is playing (showing the expected behaviour) and when it's not playing (showing the unwanted behaviour).

Curious if anyone knows what's causing this. English or Russian are both fine; I can read Russian pretty well, but I won't offend anyone by trying to write it myself.
Title: Re: AIMP not saving playback state when closing app
Post by: Artem on November 13, 2023, 21:26:13
I hit the back button and if the player is in a paused state, I briefly see the albumart and playback position disappear and when I reopen, it shows a blank screen waiting for me to play something

Now, the back button close the app if it not playing, but it should not reset app state (with default settings).
What values are set for following settings?
1) Playback \ on app startup
2) Bookmarks \ auto bookmarks \ for playlists
Title: Re: AIMP not saving playback state when closing app
Post by: rmf on November 13, 2023, 21:44:05
1) Playback \ on app startup: Do nothing
2) Bookmarks \ auto bookmarks \ for playlists: Not checked
Title: Re: AIMP not saving playback state when closing app
Post by: Artem on November 14, 2023, 08:51:48
1) Playback \ on app startup: Do nothing
2) Bookmarks \ auto bookmarks \ for playlists: Not checked

So... what why it does not work.. all according your settings =)
Title: Re: AIMP not saving playback state when closing app
Post by: rmf on November 14, 2023, 10:11:59
I guess the newer version changed the way something in the app works - in the old version I can close the app without it losing its playback position, so I hit the back button, reopen and the playback position will be preserved. In the newer versions, when I listen to a podcast, I have to make a bookmark if I ever exit the app and if I pause while the app is in the background, it will immediately lose its place before I can even bookmark.

Maybe it's an Android 10 thing? But I guess I can just stick to an older AIMP version.
Title: Re: AIMP not saving playback state when closing app
Post by: Soolo on November 14, 2023, 10:24:09
1) Playback \ on app startup: Do nothing
2) Bookmarks \ auto bookmarks \ for playlists: Not checked
1 - pause playback
2 - on
Title: Re: AIMP not saving playback state when closing app
Post by: Artem on November 14, 2023, 10:28:26
I guess the newer version changed the way something in the app works

Yes, as I say before:

Now, the back button close the app if it not playing

Its mean that old version of app DOES NOT close on back pressed, but new one does it!

Upd: in old version you can got a same behavior, just close the app instead of minimize it by back key
Title: Re: AIMP not saving playback state when closing app
Post by: rmf on November 15, 2023, 01:02:07
1 - pause playback
2 - on

That did it! It works a bit differently from previous versions but I'm glad I have it figured out now. Thank you very much. Also thank you Artem for the quick answers, happy I can stay up to date now.