fast4x / RiMusic

A multilingual Android application for streaming music from YouTube Music.
https://rimusic.xyz
GNU General Public License v3.0
1.85k stars 92 forks source link

Sound controller resets every app session. #2736

Open abrar-wadud opened 1 month ago

abrar-wadud commented 1 month ago

Steps to reproduce the bug

  1. Make any changes in the sound controller. (Specially in the 4th slider). Which comes up after holding down the play button in the player.
  2. Then pause the music and close the app. Also clear it from recent task and clear it's notification.
  3. Then go back to the app and play a song.

Expected behavior

The sound controller slider should be same and act like that across different app sessions.

Actual behavior

Although it shows that the slider is same as the previous app session but it doesn't work that way. It always resets to (1.0).

Screenshots/Screen recordings

No response

Logs

No response

RiMusic version

"0.6.43"

Android version

"Android 11"

Additional information

To notice the difference much more clearly set the slider value to less then (0.3). When you open the app second time it will show you like how you set it up before. For example if you set it to (0.3) before, then it will show you (0.3). But the actual value it works resets to is (1.0).

abrar-wadud commented 1 month ago

@fast4x you said that you fixed it in this version 😕

fast4x commented 1 month ago

For me it work now, explain better what you want!

abrar-wadud commented 1 month ago

I want the volume controller to be same even if I close the app and open again.

fast4x commented 1 month ago

In my dev devices it work...

abrar-wadud commented 1 month ago

Can you confirm that it works with headphones too?

fast4x commented 1 month ago

In my devices it work...

abrar-wadud commented 1 month ago

🙁🙁🙁

fast4x commented 1 month ago

Sorry, i haven't other to do for now

aneesh1122 commented 1 month ago

In my devices it work...

Working fine on my device too. I can't reproduce this bug.

Maybe uninstalling and then installing again will fix this.

abrar-wadud commented 1 month ago

In my devices it work...

Working fine on my device too. I can't reproduce this bug.

Maybe uninstalling and then installing again will fix this.

Nah, still got the bug. Maybe try bringing the slider almost down to 0 and then increase your mobile volume. Then maybe when you open the second time you will notice the difference?? I wouldn't have problem even if it were to reset to 0.5 which is it's default value. But it resets to 1.0 which is too much sound for me.

fast4x commented 1 month ago

Okay, it’s already better, you’re giving extra details, so I’m working on something else for now. As soon as I have time, I’ll look at exactly what you said.