KieronQuinn / AmbientMusicMod

Port of Now Playing from Pixels to other Android devices
GNU General Public License v3.0
1.87k stars 41 forks source link

External Access not working #201

Closed mjain234 closed 12 months ago

mjain234 commented 1 year ago

As I tried to use this External Access function, I am facing this issue. I read whole wiki of how to use it but still not working for me. Am i doing something wrong here?

KieronQuinn commented 1 year ago

Assuming your token is set up correctly (consider sending an unblurred version and then just resetting your token after), it should work. Do normal recognitions (not online) work?

mjain234 commented 1 year ago

Yup, that's what the problem I have faced, it doesn't work with External Access but when click on Device Recognition through widget, it works. https://github.com/KieronQuinn/AmbientMusicMod/assets/70900505/843e80bb-f5a3-4146-b19f-494e74614767

KieronQuinn commented 1 year ago

Running recognition via Tasker does not trigger the widget, this is how it is intended. Enable verbose logging and check the log, it should show

I AmbientMusicDetector: Running on-device song recognition.

mjain234 commented 1 year ago

How should I check the log? Like if I am not rooted, is it possible to see the log?

KieronQuinn commented 1 year ago

https://www.xda-developers.com/how-to-take-logs-android/

System log will show it.

mjain234 commented 1 year ago

Yaa, I just saw the log and it is showing what you told but when I try to recognise through Tasker, i don't know how much time it takes but through widget it recognises fast as you can see here

KieronQuinn commented 12 months ago

It's working fine then.