fast4x / RiMusic

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

Widgets didn't work #3575

Closed SharkyBeAre closed 3 days ago

SharkyBeAre commented 1 week ago

Steps to reproduce the bug

When placing the widget on the home screen, it shows me a message that the content could not be displayed.

Expected behavior

Since the widget is installed, it does not work

Actual behavior

.

Screenshots/Screen recordings

IMG-20240906-WA0011

Logs

No response

RiMusic version

0.6.51

Android version

Android 13

Additional information

No response

SharkyBeAre commented 1 week ago

IMG-20240906-WA0008

fast4x commented 1 week ago

Open RiMusic, play a song, it change?

twistios commented 1 week ago

I think it is supposed to look this way.

Example

![Screenshot_20240907_103046_One UI Home](https://github.com/user-attachments/assets/7e52eaaa-e208-42ba-93c2-39f86fcaf9a6)

SharkyBeAre commented 1 week ago

Open RiMusic, play a song, it change?

Nope, nothing change, I even force closed the app and re-played a song but it's still the same

SharkyBeAre commented 1 week ago

I think it is supposed to look this way.

Example Screenshot_20240907_103046_One UI Home

Yes, I have another phone and it does work on that one and looks like it does on yours.

twistios commented 1 week ago

I was testing how the widget can be improved and I got the same appearance as you SharkyBeAre. It happend when it contained code that is not compatible with widgets. In your case it maybe is something different.

twistios commented 1 week ago

@SharkyBeAre something that you can test is to remove the widget and add it again. The reason it might work is that restarting the app does not do much about the widget. I also saw that the widget did not get updated when I changed the code in my test.

SharkyBeAre commented 1 week ago

I tested it and it continues the same way, even if I remove and put the widget again it still doesn't show me anything.

Slawa79 commented 5 days ago

Screenshot_2024-09-13-01-41-36-58_3822ac0e29cfec8970059bb21d01f05e.jpg

widgets don't work on realme C25, android 13 either

fast4x commented 4 days ago

try to start app

Slawa79 commented 4 days ago

try to start app

I launch the app, the music is playing , but nothing is displayed on the widgets 🤷 https://github.com/user-attachments/assets/5db2a459-7892-44f0-ab1e-d9da6af82849

fast4x commented 4 days ago

Ok, I'll check it