Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Music stops playing when app is not in focus. #549

Open
mihnt81 opened this issue Dec 7, 2023 · 10 comments
Open

Music stops playing when app is not in focus. #549

mihnt81 opened this issue Dec 7, 2023 · 10 comments
Labels
awaiting response / stale Issue is possibly outdated or waiting for user feedback bug Something isn't working

Comments

@mihnt81
Copy link

mihnt81 commented Dec 7, 2023

Hi there. Using the finamp version from the play store on a pixel 7 pro. (So, android 14.)

Issue is as described in the title.
It doesn't do this consistently, but it never fails to stop playing when my car disconnects from the phone.
This wouldn't be a huge issue normally, but I use finamp while doing the whole delivery service thing so I am in and out of my car. Slows me down to have to open finamp each time and restart it playing.

@Chaphasilor
Copy link
Collaborator

Hi, thanks for the report. Could you explain a bit more in detail what is happening? I'm a bit confused when exactly the music stops...

@Chaphasilor Chaphasilor added the bug Something isn't working label Dec 13, 2023
@mihnt81
Copy link
Author

mihnt81 commented Dec 14, 2023

If I switch to another app, lock the phone, or anything where finamp isn't front and center, it stops.

@Chaphasilor
Copy link
Collaborator

In the settings, under "Audio Service" there is an option called "Enter Low-Priority State on Pause". Is that turned on for you? If yes, please try turning it off.

Another thing you can try is going into the app switcher, tapping the app icon of Finamp there, and tapping on "App Info". Then go to "Battery" and select "Unrestricted". More info at https://dontkillmyapp.com

@madskjeldgaard
Copy link

I have this same problem on pixel 8a, even with allowing it in the background.

Screenshot_20241110-202512.png

1 similar comment
@madskjeldgaard
Copy link

I have this same problem on pixel 8a, even with allowing it in the background.

Screenshot_20241110-202512.png

@Chaphasilor
Copy link
Collaborator

@mihnt81 @madskjeldgaard have you turned off "Enter Low-Priority Mode on Pause" in "Audio Service" settings? This should normally fix this issue.
There currently is a related issue (#956), but that's probably not the reason, since your issue is much older.

@Chaphasilor Chaphasilor added the awaiting response / stale Issue is possibly outdated or waiting for user feedback label Nov 23, 2024
@technomancer-101
Copy link

I also appear to be having this issue with similar specs.
Pixel 6
Android 14
Same settings as above, including disabling the one you suggested.

Same issue, where changing apps or locking the phone cuts off playback, but resumes immediately if I refocus it. I've also noticed the "mini player" that's normally present in my notifications list is missing now.

I've been using Finamp for a long time and never had an issue until now. Unfortunately, I'm unsure exactly when it started.

@madskjeldgaard
Copy link

@mihnt81 @madskjeldgaard have you turned off "Enter Low-Priority Mode on Pause" in "Audio Service" settings? This should normally fix this issue.
There currently is a related issue (#956), but that's probably not the reason, since your issue is much older.

Yes it's turned off here too and still no luck unfortunately.

@madskjeldgaard
Copy link

Switching to the beta version fixed this for me. With the beta it seems to work perfectly 🙂

@Chaphasilor
Copy link
Collaborator

Turns out this issue is probably related. Seems to be a permission issue, where on newer versions of Android a separate permission is required for offline playback. The beta was already requesting that, the stable version should also request it starting with the next release :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting response / stale Issue is possibly outdated or waiting for user feedback bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants