Skip to content

Speep Timer interrupts playback only briefly #235

Description

@no1984

Hello,

since the update to AudioAnchor 2.6.0 the Sleep Timer no longer works
properly.

Just before the set time, playback will fade out and stop at the right
time, but after about a second, playback will resume.

The error only occurs when the screen is locked. But for falling asleep,
the screen should of course be dark.

The error only occurs if "Autoplay" is active in the settings under
"Playback", but of course this is also intentional, otherwise the
playback stops at the end of the track, and that is often too early.

Operating system is: LineageOS 22.2-20260907-microG-enchilada

Activity

no1984 commented on Sep 24, 2026

@no1984
Author

I downgraded to 2.5.0, and now everything works fine again. The Sleep Timer really ends the playback, and AudioAnchor does not start the playback directly after fading it out.

(Does anyone read these issues?? It's unusual for me not to get any reaction when I report a bug.)

flackbash commented on Sep 26, 2026

@flackbash
Owner

I suspect this has something to do with the fix for #220 which was implemented between 2.5.0 and 2.6.0. I tried to reproduce it, but was unable to do so so far. Does this occur only if the screen was locked for a longer period of time or does it happen if you e.g., set the sleep timer to 1min and then lock the screen?

no1984 commented on Sep 26, 2026

@no1984
Author

The error also occurred when I set the sleep timer to 1 and then locked the screen.

no1984 commented on Oct 1, 2026

@no1984
Author

I tried version 2.7.0, I still had the same problem with it, so I switched back to 2.5.0.

added a commit that references this issue on Oct 5, 2026

flackbash commented on Oct 5, 2026

@flackbash
Owner

I still wasn't able to reproduce this, but found something that could potentially cause this. The potential fix will be in the next release (the one after 2.7.0). Feel free to reopen this if the issue persists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions