Skip to content

[Bug] Next song doesn't play if screen is locked #402

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

Closed
1 task done
passthesh3ll opened this issue Feb 4, 2023 · 5 comments
Closed
1 task done

[Bug] Next song doesn't play if screen is locked #402

passthesh3ll opened this issue Feb 4, 2023 · 5 comments
Assignees
Labels
bug Something isn't working deployed This issue has been fixed/implmented and has been released

Comments

@passthesh3ll
Copy link

passthesh3ll commented Feb 4, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

If I play a song of an artist from the top songs at the beginning of the artist page (or from an album) and I lock the screen, when the song ends any other song is played.

Expected Behavior

The next song in the top song of the artist should play after the last ends

Steps To Reproduce

  1. open an artist page
  2. play a song of the top song in the top page
  3. lock the screen and wait the song ends
  4. then no songs are played
  5. if you unlock the screen, the next song starts (it seems like the lock of the screen prevents the loading of the next song)

Spotube Version

2.6.0

Operating System

Android

Linux Distribution (if applicable)

No response

Operating System Version

Android 10

Installation Source

F-Droid (Android)

Additional information

the green loading icon doesn't start if the screen is locked, it starts 1sec after the screen is unlocked

@srjmas
Copy link

srjmas commented Feb 9, 2023

Same here, Android 12

@KRTirtho
Copy link
Owner

This is probably happening due to your device vendor's battery optimization. Spotube always has high priority Audio Focus while playing. So the only thing that stops Spotube from executing is vendor specific modification in that Audio Focus area. I don't know how they're doing it exactly but I'll work on finding a solution

@passthesh3ll
Copy link
Author

I found that using the latest nightly version of the app, it doesn't happen anymore

@srjmas
Copy link

srjmas commented Feb 10, 2023 via email

@KRTirtho
Copy link
Owner

I found that using the latest nightly version of the app, it doesn't happen anymore

Great! I will mark it as done

@KRTirtho KRTirtho moved this to Done in Spotube Board Feb 10, 2023
@KRTirtho KRTirtho added the deployed This issue has been fixed/implmented and has been released label Mar 8, 2023
@KRTirtho KRTirtho closed this as completed Mar 8, 2023
@KRTirtho KRTirtho moved this from Done to Deployed in Spotube Board Mar 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working deployed This issue has been fixed/implmented and has been released
Projects
Status: Deployed
Development

No branches or pull requests

3 participants