Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot replay from history #135

Closed
Donkey-Doug opened this issue Jan 1, 2023 · 9 comments
Closed

Cannot replay from history #135

Donkey-Doug opened this issue Jan 1, 2023 · 9 comments
Labels
bug Something isn't working

Comments

@Donkey-Doug
Copy link

Device: Xiaomi Mi 9T Pro running LineageOS based on android 12 without google play services.

I was able to listen once when I first installed ambient music mod, but after that it crashes every time. See video below:

210178214-87d4e455-43a2-4614-8144-9453f8633634.mp4
@KieronQuinn
Copy link
Owner

Here's an article on making logs: https://www.xda-developers.com/how-to-take-logs-android/

A system log is needed in this case

@Donkey-Doug
Copy link
Author

Hi, let me know if this is the good log:

log for Ambient Music Mod.txt

@KieronQuinn
Copy link
Owner

That's absolutely perfect, thank you

01-03 12:19:45.276  5507  5507 E AndroidRuntime: FATAL EXCEPTION: main
01-03 12:19:45.276  5507  5507 E AndroidRuntime: Process: com.kieronquinn.app.pixelambientmusic, PID: 5507
01-03 12:19:45.276  5507  5507 E AndroidRuntime: java.lang.IllegalArgumentException: Unknown component: ComponentInfo{com.google.android.googlequicksearchbox/com.google.android.apps.gsa.staticplugins.opa.EnterOpaActivityFromDeeplink}
01-03 12:19:45.276  5507  5507 E AndroidRuntime: 	at android.os.Parcel.createExceptionOrNull(Parcel.java:2430)
01-03 12:19:45.276  5507  5507 E AndroidRuntime: 	at android.os.Parcel.createException(Parcel.java:2410)
01-03 12:19:45.276  5507  5507 E AndroidRuntime: 	at android.os.Parcel.readException(Parcel.java:2393)
01-03 12:19:45.276  5507  5507 E AndroidRuntime: 	at android.os.Parcel.readException(Parcel.java:2335)
01-03 12:19:45.276  5507  5507 E AndroidRuntime: 	at android.content.pm.IPackageManager$Stub$Proxy.getComponentEnabledSetting(IPackageManager.java:7204)
01-03 12:19:45.276  5507  5507 E AndroidRuntime: 	at android.app.ApplicationPackageManager.getComponentEnabledSetting(ApplicationPackageManager.java:2814)
01-03 12:19:45.276  5507  5507 E AndroidRuntime: 	at nij.c(PG:3)
01-03 12:19:45.276  5507  5507 E AndroidRuntime: 	at nnf.a(PG:54)
01-03 12:19:45.276  5507  5507 E AndroidRuntime: 	at abd.l(PG:4)
01-03 12:19:45.276  5507  5507 E AndroidRuntime: 	at abd.c(PG:4)
01-03 12:19:45.276  5507  5507 E AndroidRuntime: 	at abd.j(PG:2)
01-03 12:19:45.276  5507  5507 E AndroidRuntime: 	at abe.j(Unknown Source:0)
01-03 12:19:45.276  5507  5507 E AndroidRuntime: 	at aba.run(PG:90)
01-03 12:19:45.276  5507  5507 E AndroidRuntime: 	at android.os.Handler.handleCallback(Handler.java:938)
01-03 12:19:45.276  5507  5507 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:99)
01-03 12:19:45.276  5507  5507 E AndroidRuntime: 	at android.os.Looper.loopOnce(Looper.java:201)
01-03 12:19:45.276  5507  5507 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:288)
01-03 12:19:45.276  5507  5507 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:7870)
01-03 12:19:45.276  5507  5507 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
01-03 12:19:45.276  5507  5507 E AndroidRuntime: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
01-03 12:19:45.276  5507  5507 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
01-03 12:19:45.276  5507  5507 E AndroidRuntime: Caused by: android.os.RemoteException: Remote stack trace:
01-03 12:19:45.276  5507  5507 E AndroidRuntime: 	at com.android.server.pm.PackageManagerService.getComponentEnabledSettingInternal(PackageManagerService.java:24595)
01-03 12:19:45.276  5507  5507 E AndroidRuntime: 	at com.android.server.pm.PackageManagerService.getComponentEnabledSetting(PackageManagerService.java:24578)
01-03 12:19:45.276  5507  5507 E AndroidRuntime: 	at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:3307)
01-03 12:19:45.276  5507  5507 E AndroidRuntime: 	at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:8903)
01-03 12:19:45.276  5507  5507 E AndroidRuntime: 	at android.os.Binder.execTransactInternal(Binder.java:1184)

You don't have the Google app installed, that's why. The Now Playing History screen assumes you do, because Google never expects you to uninstall it. I can probably patch something to default to not showing the button.

@KieronQuinn KieronQuinn added the bug Something isn't working label Jan 16, 2023
@Donkey-Doug
Copy link
Author

The strange thing is that it worked for the first few days after installing.

Since the files are all stored locally, I assume playback using any media player should be doable.

@KieronQuinn
Copy link
Owner

It usually offers other apps like YouTube, YouTube Music, Spotify, Deezer etc. Local playback isn't possible since it doesn't make the link between a recognised track and those on the device, although that might be possible with some ID3 trickery (maybe a good idea for the custom history UI if I ever built that)

@Donkey-Doug
Copy link
Author

By the way, this log is only for com.kieronquinn.ambientmusicmod.com.

Do you also need a full log? Or maybe also a log for com.kieronquinn.pixelambientmusic?

@KieronQuinn
Copy link
Owner

No, that's sufficient since it shows the crash.

@KieronQuinn
Copy link
Owner

This should be fixed in 2.1, let me know if it still happens.

@Donkey-Doug
Copy link
Author

It was solved for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants