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

Critical bug: music never plays #396

Open
boasbakker opened this issue Dec 30, 2024 · 24 comments
Open

Critical bug: music never plays #396

boasbakker opened this issue Dec 30, 2024 · 24 comments
Labels
bug Something isn't working

Comments

@boasbakker
Copy link

boasbakker commented Dec 30, 2024

Describe the bug
Whenever I try to play a song that isn't downloaded yet, it doesn't work and keeps on loading forever. And why I try downloading it manually, it gives the error "Downloading failed due to network error"
I've given it all rights and no restrictions on battery or network usage, and I am online.

To Reproduce
Steps to reproduce the behavior:

  1. Click on a song
  2. It doesn't play

Expected behavior
It should play

Screenshots

Smartphone (please complete the following information):

  • Device: Samsung S20 FE
  • OS: Android 13

Additional context
If did previously work.

@boasbakker boasbakker added the bug Something isn't working label Dec 30, 2024
@boasbakker
Copy link
Author

It seems it broke in version 1.10.31

@anandnet
Copy link
Owner

Is it happening in v1.10.4?

@SamRai89008
Copy link

Is it happening in v1.10.4?

Yes

@boasbakker
Copy link
Author

Is it happening in v1.10.4?

Yeah, 1.10.4 and 1.10.31

@Kar-stoker

This comment was marked as off-topic.

@Kar-stoker

This comment was marked as off-topic.

@Kar-stoker

This comment was marked as off-topic.

@Kar-stoker

This comment was marked as off-topic.

@Kar-stoker
Copy link

#Bicho

@anandnet
Copy link
Owner

anandnet commented Jan 1, 2025

@Kar-stoker I'm not sure what you are trying say here, if you have anything specific, could you please explain here? because your every comment triggering unnecessary git notification.

@Shubham315417
Copy link

When first song end the second song not play automatically I have to click on play button and battery optimisation also in unrestricted I have latest version 1.10.4

@anandnet
Copy link
Owner

anandnet commented Jan 1, 2025

When first song end the second song not play automatically I have to click on play button and battery optimisation also in unrestricted I have latest version 1.10.4

Does it always happen or on playing any specific song?

@boasbakker
Copy link
Author

When first song end the second song not play automatically I have to click on play button and battery optimisation also in unrestricted I have latest version 1.10.4

That sounds like a different problem, so maybe make a different GitHub issue for that?

@aaksama
Copy link

aaksama commented Jan 2, 2025

Same, i am also having the same issue,, song not playing

@neoapps-dev
Copy link

When first song end the second song not play automatically I have to click on play button and battery optimisation also in unrestricted I have latest version 1.10.4

Does it always happen or on playing any specific song?

all of the songs. from what i have tried, it works on "Low" quality only.

@Shubham315417
Copy link

It always happens in songss

@boasbakker
Copy link
Author

@anandnet Any progress on reproducing and fixing the issue? Need any more information?

@anandnet
Copy link
Owner

anandnet commented Jan 8, 2025

Yt is somehow detecting the request which made from opensource clients and returns streams url which is not playable (returns 403 error). I have checked some times changing ip it seems app starts working(turning on and off flight mode changes the device public ip or rebooting the router) meaning yt is imposing ip ban, but on the other hand their official clients works without any issue, which makes this assumption false. So for now i am experimeting on rotating clients in the request. Soon i will share a build here for testing, post that will release a new version if that will work.

@anandnet anandnet pinned this issue Jan 8, 2025
@anandnet
Copy link
Owner

Anyone who is facing this issue or song is not playable due to server restriction!, could you please test this? let me know if it is working.
Android: https://github.com/anandnet/build-HM/actions/runs/12726417338/artifacts/2417338555
Windows: https://github.com/anandnet/build-HM/actions/runs/12726689946/artifacts/2417354582
Linux: https://github.com/anandnet/build-HM/actions/runs/12726689526/artifacts/2417352133

Important: Please create backup file in Android before installing this test apk, you may face package mismatch or any other issue

@mkr-infinity
Copy link

Anyone who is facing this issue or song is not playable due to server restriction!, could you please test this? let me know if it is working. Android: https://github.com/anandnet/build-HM/actions/runs/12726417338/artifacts/2417338555 Windows: https://github.com/anandnet/build-HM/actions/runs/12726689946/artifacts/2417354582 Linux: https://github.com/anandnet/build-HM/actions/runs/12726689526/artifacts/2417352133

Important: Please create backup file in Android before installing this test apk, you may face package mismatch or any other issue

working bro thank you so much.

@boasbakker
Copy link
Author

I used the generic Android APK. For uncached&not downloaded songs it takes very long to to load a song, way longer than in previous versions. For other songs it doesn't work at all (see error in screenshot). So it seems there is still another issue.
Screenshot_20250113_150948

@boasbakker
Copy link
Author

Oh wait I didn't make a backup file in Android? Idk if that's relevant. I created a backup in my downloads folder and then deleted the app and installed it from the APK

@fxghesa
Copy link

fxghesa commented Jan 14, 2025

Anyone who is facing this issue or song is not playable due to server restriction!, could you please test this? let me know if it is working. Android: https://github.com/anandnet/build-HM/actions/runs/12726417338/artifacts/2417338555 Windows: https://github.com/anandnet/build-HM/actions/runs/12726689946/artifacts/2417354582 Linux: https://github.com/anandnet/build-HM/actions/runs/12726689526/artifacts/2417352133

Important: Please create backup file in Android before installing this test apk, you may face package mismatch or any other issue

hi, i have tried it for a day. i think it is working for me

@neoapps-dev
Copy link

Anyone who is facing this issue or song is not playable due to server restriction!, could you please test this? let me know if it is working.
Android: https://github.com/anandnet/build-HM/actions/runs/12726417338/artifacts/2417338555
Windows: https://github.com/anandnet/build-HM/actions/runs/12726689946/artifacts/2417354582
Linux: https://github.com/anandnet/build-HM/actions/runs/12726689526/artifacts/2417352133

Important: Please create backup file in Android before installing this test apk, you may face package mismatch or any other issue

It works!
thank you bud,
but it's a bit slower than usual but still okay, at least it works lol

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

9 participants