anandnet / Harmony-Music

A cross platform App for streaming Music
GNU General Public License v3.0
796 stars 64 forks source link

Song is not playable due to server restriction! #295

Open 60d74 opened 1 week ago

60d74 commented 1 week ago

Describe the bug Songs are not playing due to server restrictions. This happens with all songs, both with age restrictions and without.

To Reproduce Steps to reproduce the behavior:

  1. Try to play the song.
  2. See error

Expected behavior The song is playing.

Screenshots

Screenshot and recording ![Screenshot_20241007-115239](https://github.com/user-attachments/assets/2ff044ee-5e49-4de8-8bf2-09dd5d05a1cf) https://github.com/user-attachments/assets/0141b68f-6dd9-4555-9087-cfcbfcc1b917

Smartphone (please complete the following information):

Additional context This happens with all forks of ViMusic. I tried changing the streaming quality, change/disable VPN, but nothing worked.

anandnet commented 1 week ago

could you please check whether ytm is working fine for you or not?

60d74 commented 1 week ago

yes, it works fine with the same song

60d74 commented 1 week ago

also, the removed songs are played as well since i use a non-US VPN

60d74 commented 1 week ago

in yt music, i mean

anandnet commented 1 week ago

Then this app should work as well. Try new version once

60d74 commented 1 week ago

no, still the same with latest github ver

60d74 commented 1 week ago

i noticed that piped clients such as libre are not working too

andreatede2002 commented 1 week ago

I have the same issue!

jacobot1 commented 1 week ago

Same issue here. No songs whatsoever will play. I even tried Spotube. Same result. The weirdest thing is that it worked fine this morning. It still works with a VPN.

Elnachoenojado commented 1 week ago

Hola, tengo es mismo problema, podrían decirme cómo solucionarlo? Ahora no puedo reproducir ninguna canción en español, me gustaría también sacarle la restricción para menores ya que soy mayor.

Hagen77 commented 1 week ago

Good evening, I downloaded the newest version today. It worked for 10 minutes and now I get the SONG IS NOT PLAYABLE DUE TO SERVER RESTRICTION! message when I try to play any song.

Thank you.

andreatede2002 commented 1 week ago

Strangely, since this morning the application has started working again, and the music plays without any issues.

UPDATE (about 4 hours later): It stopped working again

A-J-Mortimer commented 1 week ago

Same here, Can´t play anything.

EDIT: ·30 secconds after posting this, I selected one of my playlists which was not playing and its playing as normal now.

SECOND EDIT: only 1/10 songs actually play

anandnet commented 6 days ago

Thanks all for reporting, Will release a new version with available solution.

andreatede2002 commented 6 days ago

Thanks all for reporting, Will release a new version with available solution.

Thanks for the quick response regarding the bug with the songs not playing due to server restrictions.

I’m curious about what might have caused this issue. Are there any ways to create self-correcting code or automatic fixes for problems like this? If that's feasible, I’d be interested to know how challenging or costly it might be to implement.

I don’t have a background in computer science, so I appreciate any insights you can share. Thank you for your work on this.

anandnet commented 6 days ago

if anyone can build and test, that would be be realy helpful for me. I am not able to test because this issue is not appearing/coming for me. i've made some changes that would probably prevent this error.

apk building steps:

Fork repo https://github.com/anandnet/build-HM and follow steps mentioned in description. or if https://github.com/anandnet/build-HM/actions/runs/11297116437 it is accessible to you, you can download artifacts and test.

Please take a backup of data if you have some playlists or bookmarks.

jacobot1 commented 6 days ago

if anyone can build and test, that would be be realy helpful for me. I am not able to test because this issue is not appearing/coming for me. i've made some changes that would probably prevent this error.

Building apk steps:

Fork repo https://github.com/anandnet/build-HM and follow steps mentioned in description. or if https://github.com/anandnet/build-HM/actions/runs/11297116437 it is accessible to you, you can download artifacts and test.

Please take a backup of data if you have some playlists or bookmarks.

It seems to be working now, though the song loading seems just slightly slower (not by much). Will continue to use throughout the day and confirm.

andreatede2002 commented 6 days ago

if anyone can build and test, that would be be realy helpful for me. I am not able to test because this issue is not appearing/coming for me. i've made some changes that would probably prevent this error.

apk building steps:

Fork repo https://github.com/anandnet/build-HM and follow steps mentioned in description. or if https://github.com/anandnet/build-HM/actions/runs/11297116437 it is accessible to you, you can download artifacts and test.

Please take a backup of data if you have some playlists or bookmarks.

Hi, i dont know how this testing process works, but as you probably know, the issue is not only on PC version but also on android, so if you release a temporary apk i can help you testing the app too! Thank you in advance

jacobot1 commented 6 days ago

Hi, i dont know how this testing process works, but as you probably know, the issue is not only on PC version but also on android, so if you release a temporary apk i can help you testing the app too! Thank you in advance

The android apk is included in the build as I was able to download it. Should be in the Artifacts section.

Adrielsoto22 commented 6 days ago

How to fix this bug?

anandnet commented 6 days ago

if anyone can build and test, that would be be realy helpful for me. I am not able to test because this issue is not appearing/coming for me. i've made some changes that would probably prevent this error.

apk building steps:

Fork repo https://github.com/anandnet/build-HM and follow steps mentioned in description. or if https://github.com/anandnet/build-HM/actions/runs/11297116437 it is accessible to you, you can download artifacts and test.

Please take a backup of data if you have some playlists or bookmarks.

@Adrielsoto22 , you can test it and let me know, if this works i'll release new version.

60d74 commented 6 days ago

sadly, this doesn't work for me, i'm still getting an error.

jacobot1 commented 5 days ago

@anandnet I have not had any issues since I installed the new test version you sent out yesterday.

kr0fff commented 5 days ago

The same issue as here

andreatede2002 commented 5 days ago

Hi, i dont know how this testing process works, but as you probably know, the issue is not only on PC version but also on android, so if you release a temporary apk i can help you testing the app too! Thank you in advance

The android apk is included in the build as I was able to download it. Should be in the Artifacts section.

Thank you! I installed the apk ok my redmi and it works fine for me now 😁😉 i'll keep using this version and if It stops working again i'll let you know

Adrielsoto22 commented 5 days ago

Ya he encontrado la solución

Adrielsoto22 commented 5 days ago

(funciona en Android) primero vas a descargar una aplicación llamada rar, después en estas publicaciones hay una publicación del usuario llamado anandet (el creador de la app) y tiene un apartado que dice pasos para crear el APK pulsa el segundo link y te va a llevar a otra página donde vas a descargar la app ya que descargues el archivo vas a ir a la aplicación rar y abres el archivo en esa aplicación ya que lo abras van a aparecer tres opciones de APK abres la que tiene más megabytes y después lo va a extraer esa aplicación sola el archivo y lo instalas y listo

nettuno3 commented 4 days ago

I solved it for now with VPN on Switzerland

anandnet commented 4 days ago

As per @jacobot1 and @andreatede2002 's confirmation. I've released a new version. Try this one.

nettuno3 commented 4 days ago

Perfect!! Works great even without VPN. Thanks

Il giorno 13 ott 2024, 11:16, alle ore 11:16, anandnet @.***> ha scritto:

As per @jacobot1 and @Adrielsoto22's confirmation. I've released a new version. Try this one.

-- Reply to this email directly or view it on GitHub: https://github.com/anandnet/Harmony-Music/issues/295#issuecomment-2408897370 You are receiving this because you commented.

Message ID: @.***>

60d74 commented 4 days ago

still getting the same error even with the latest version

Spoiler ![Screenshot_20241013-193705](https://github.com/user-attachments/assets/ed6b3489-624a-44ee-aa80-1a9f306d5d78) ![Screenshot_20241013-193713](https://github.com/user-attachments/assets/50a73562-d02e-4b7d-8c55-019a3f257494)
nettuno3 commented 4 days ago

Do you have VPN active?

Il giorno 13 ott 2024, 11:40, alle ore 11:40, mike oxmaul @.***> ha scritto:

still getting the same error even with the latest version

Spoiler ![Screenshot_20241013-193705](https://github.com/user-attachments/assets/ed6b3489-624a-44ee-aa80-1a9f306d5d78) ![Screenshot_20241013-193713](https://github.com/user-attachments/assets/50a73562-d02e-4b7d-8c55-019a3f257494)

-- Reply to this email directly or view it on GitHub: https://github.com/anandnet/Harmony-Music/issues/295#issuecomment-2408905117 You are receiving this because you commented.

Message ID: @.***>

anandnet commented 4 days ago

still getting the same error even with the latest version

Spoiler ![Screenshot_20241013-193705](https://github.com/user-attachments/assets/ed6b3489-624a-44ee-aa80-1a9f306d5d78) ![Screenshot_20241013-193713](https://github.com/user-attachments/assets/50a73562-d02e-4b7d-8c55-019a3f257494)

Please try without vpn.

60d74 commented 4 days ago

Please try without vpn.

I tried different protocols and locations, but I can't try without because YouTube is blocked in my country.

nettuno3 commented 4 days ago

I understand, I worked with VPN in Switzerland. With Windscribe VPN app

Il giorno 13 ott 2024, 12:15, alle ore 12:15, mike oxmaul @.***> ha scritto:

Please try without vpn.

I tried different protocols and locations, but I can't try without because YouTube is blocked in my country.

-- Reply to this email directly or view it on GitHub: https://github.com/anandnet/Harmony-Music/issues/295#issuecomment-2408916871 You are receiving this because you commented.

Message ID: @.***>

anandnet commented 4 days ago

Oh, okay. You may try other foss clients but i believe you will face the same problem with vpn. Seems yt has already tracked vpn IPs to prevent the misuse. Perhaps you have already felt the similar issues with the proxy based yt client ie..Piped

diogopessoa commented 3 days ago

With the new update (1.10.2) the bug has been fixed! 👏