anandnet / Harmony-Music

A cross platform App for streaming Music
GNU General Public License v3.0
1.04k stars 81 forks source link

Song is not playable due to server restriction! #295

Open 60d74 opened 1 month ago

60d74 commented 1 month 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 month ago

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

60d74 commented 1 month ago

yes, it works fine with the same song

60d74 commented 1 month ago

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

60d74 commented 1 month ago

in yt music, i mean

anandnet commented 1 month ago

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

60d74 commented 1 month ago

no, still the same with latest github ver

60d74 commented 1 month ago

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

andreatede2002 commented 1 month ago

I have the same issue!

jacobot1 commented 1 month 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 month 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 month 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 month 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 month 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 1 month ago

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

andreatede2002 commented 1 month 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 1 month 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 1 month 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 1 month 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 1 month 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 1 month ago

How to fix this bug?

anandnet commented 1 month 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 1 month ago

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

jacobot1 commented 1 month ago

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

kr0fff commented 1 month ago

The same issue as here

andreatede2002 commented 1 month 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 1 month ago

Ya he encontrado la solución

Adrielsoto22 commented 1 month 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 1 month ago

I solved it for now with VPN on Switzerland

anandnet commented 1 month ago

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

nettuno3 commented 1 month 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 1 month 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 1 month 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 1 month 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 1 month 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 1 month 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 1 month 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 1 month ago

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

shubhamsutar2 commented 3 weeks ago

This issue still exists for many songs. v1.10.31

anandnet commented 3 weeks ago

This issue still exists for many songs. v1.10.31

You should try now.