25huizengek1 / ViTune

An Android application for seamless music streaming
https://vitune.app
GNU General Public License v3.0
319 stars 17 forks source link

Feature request: Widget #27

Closed 25huizengek1 closed 7 months ago

25huizengek1 commented 9 months ago

I got to know this fork, it's really good!❤️ And I would like to suggest a request to make a widget for this app like yt music turnable or any

Originally posted by @tanmaytez in https://github.com/25huizengek1/ViMusic/issues/26#issuecomment-1838555999


Thank you, @tanmaytez, for this suggestion. Can you please elaborate a bit further about what kind of widget you want and what it should look like?

tanmaytez commented 9 months ago

images (22).jpeg

The turntable widget like yt music or a unique widget inspired from Android 14 music player.

images (24).jpeg

images (23).jpeg

As I'm stuck in Android 12, I can't experience the a14 material you music player. You can go with the youtube music turntable one or A14 music player as I provided the images

tanmaytez commented 9 months ago

@25huizengek1 I've noticed that the songs in the playlists are limited to 77, as I've imported my liked songs which are over 1k. Is there any way to fix this?

25huizengek1 commented 9 months ago

I was not aware of this, what do you mean exactly with this limit of 77?

tanmaytez commented 9 months ago

I mean, I have the playlist of yt music in which the playlist has over 1k songs. When I imported it to vi music via opening links, it only got the 77 songs out of 1k+ songs.

IMG_20231207_005540.jpg

This playlist has over a thousand songs

IMG_20231207_005607.jpg

And here is the imported playlist of it to vi music, which only has 77 songs of the playlist.

25huizengek1 commented 9 months ago

I can't reproduce this: I cannot share my liked music on YouTube Music. Moving to a separate issue...

25huizengek1 commented 9 months ago

I think I'm going to implement this one: images (24).jpeg

I'm going to use Compose with remote views, but no guarantees that it will be the most stable thing ever as widgets are really inconsistent across vendors / widget hosts, for example on Samsung updating the widget is heavily restricted (just look at the performance of e.g. Smartspacer on Samsung)

tanmaytez commented 9 months ago

Oh great!

I have one more thing to know

Screenshot_2023-12-10-08-50-02-62_b783bf344239542886fee7b48fa4b892.jpg

My phone is Android 12 and the vi music notification looks like this. Is it possible to make it look like Android 14 build notification style

25huizengek1 commented 9 months ago

Thank you GitHub, it's just a commit that references an issue from another fork...

25huizengek1 commented 9 months ago

https://github.com/25huizengek1/ViMusic/issues/27#issuecomment-1848845242

Android doesn't provide any information about the notification player style, so no.

Also, while starting the implementation I've found that this particular use case of widgets can cause a lot of inconsistencies with player state, for example, which is why I'm reconsidering implementing this. There are already a lot of widgets that are compatible with ViMusic, so ViMusic doesn't neccesarily need a widget of it's own. I'll still work on this, but at a slower pace.

tanmaytez commented 9 months ago

U can prefer the widget styles from the repo Retro music, it has a lot of widget styles or make a widget similar to youtube music's turntable(circular) one

tanmaytez commented 9 months ago

Screenshot_2023-12-10-19-24-55-65_b783bf344239542886fee7b48fa4b892.jpg

Being in Android 12, The retro music player notification for playing music looks like this

Like, improving it in terms of background gradient with song cover something like that can be implemented in vimusic?

25huizengek1 commented 7 months ago

Closing because of inactivity. I personally think there are better solutions to this than dealing with creating a widget ourselves.

Maybe if folks still want to see this feature implemented and possibly with some reasoning behind why, I'll reconsider.