OxygenCobalt / Auxio

A simple, rational music player for android
GNU General Public License v3.0
1.82k stars 120 forks source link

widget that has cool audio analyzer #519

Closed RustoMCSpit closed 11 months ago

RustoMCSpit commented 11 months ago

Description

https://www.youtube.com/watch?v=7z2ppEhz4gE

this or something like it in a widget (btw this is https://github.com/yliniemi/AcidAnalyzer )

Problem solved

No response

Other implementations

they dont

Benefit

LOOKS VERY COOL

Duplicates

OxygenCobalt commented 11 months ago

This is not even possible with android widgets. I can't do this, sorry.

RustoMCSpit commented 11 months ago

This is not even possible with android widgets. I can't do this, sorry.

huh why not, again what google repo do i make an issue in

OxygenCobalt commented 11 months ago

Well, I need to get technical for this.

Android widgets are not fully controlled by the app. The app sends a layout that can only be composed of UI components provided by stock android, and a limited set of commands to change things like icons or tints. There is no way to update a widget in real-time in order to do something like this. This has been the widget system for ten years now and I seriously doubt you can change it.

RustoMCSpit commented 11 months ago

Well, I need to get technical for this.

Android widgets are not fully controlled by the app. The app sends a layout that can only be composed of UI components provided by stock android, and a limited set of commands to change things like icons or tints. There is no way to update a widget in real-time in order to do something like this. This has been the widget system for ten years now and I seriously doubt you can change it.

how abour you put in an issue in a repo! if you want you could pull request but yikes ancient code

RustoMCSpit commented 11 months ago

what repo is it

OxygenCobalt commented 11 months ago

how abour you put in an issue in a repo! if you want you could pull request but yikes ancient code

I think you underestimate how complicated this would be. Any issue would be ignored by the android team for more important tasks, and a PR would have to rip out the internals of the OS and entirely replace it. Google does not want to change the widget system. If they did, the "Widget Refresh" in Android 12 would be significantly better. If you really want to try in futility to get the attention of the team, go to issuetracker.google.com.

RustoMCSpit commented 11 months ago

how abour you put in an issue in a repo! if you want you could pull request but yikes ancient code

I think you underestimate how complicated this would be. Any issue would be ignored by the android team for more important tasks, and a PR would have to rip out the internals of the OS and entirely replace it. Google does not want to change the widget system. If they did, the "Widget Refresh" in Android 12 would be significantly better. If you really want to try in futility to get the attention of the team, go to issuetracker.google.com.

so does google even bother working on android or what, like im confused isnt it their job

OxygenCobalt commented 11 months ago

They do, I just doubt they will prioritize something like this.

RustoMCSpit commented 11 months ago

They do, I just doubt they will prioritize something like this.

i mean, idk what to write so could you do it, sorry

RustoMCSpit commented 11 months ago

They do, I just doubt they will prioritize something like this.

oh and if youre going to ask could you ask avout the two songs at once too

OxygenCobalt commented 11 months ago

i mean, idk what to write so could you do it, sorry

I dug around in the issue tracker, and I found a very similar issue that functionally asks what I would need for this: The ability to use my own custom visuals in the widget. It's at https://issuetracker.google.com/issues/36964103, and the response seems to be that this is not allowed since it would possibly allow exploits that could hack your phone.

oh and if youre going to ask could you ask avout the two songs at once too

I tried to do what you told me and a song and a cover of the song at once, and I don't get it. They don't harmonize at all and it's distracting. Honestly, I don't want to do it. Sorry.

RustoMCSpit commented 11 months ago

I tried to do what you told me and a song and a cover of the song at once, and I don't get it. They don't harmonize at all and it's distracting. Honestly, I don't want to do it. Sorry.

has to both be ai imo, the exact same song for reference and at the exact same time. i usually pan one left and one right

RustoMCSpit commented 11 months ago

I dug around in the issue tracker, and I found a very similar issue that functionally asks what I would need for this: The ability to use my own custom visuals in the widget. It's at https://issuetracker.google.com/issues/36964103, and the response seems to be that this is not allowed since it would possibly allow exploits that could hack your phone.

well i mean is this a visual or more so a custom interactive feature

RustoMCSpit commented 11 months ago

how would it allow exploits?

OxygenCobalt commented 11 months ago

has to both be ai imo, the exact same song for reference and at the exact same time. i usually pan one left and one right

I don't know what you mean by "AI cover".

well i mean is this a visual or more so a custom interactive feature

Can you clarify? An equalizer is 100% a custom visual.

how would it allow exploits?

It's arbitrary code specified by the app that is ran in a much more privileged area (the home launcher). That can easily be abused.

RustoMCSpit commented 11 months ago

has to both be ai imo, the exact same song for reference and at the exact same time. i usually pan one left and one right

I don't know what you mean by "AI cover".

well i mean is this a visual or more so a custom interactive feature

Can you clarify? An equalizer is 100% a custom visual.

how would it allow exploits?

It's arbitrary code specified by the app that is ran in a much more privileged area (the home launcher). That can easily be abused.

sounds like the home launcher should have a sandboxed widget area

RustoMCSpit commented 11 months ago

also ai cover like atritificsl intelligrbce

RustoMCSpit commented 11 months ago

also i thought the eq could have interactive functions lol

OxygenCobalt commented 11 months ago

It seems like we're getting nowhere with this. I'm locking this thread. Sorry.