AMWin-RP icon indicating copy to clipboard operation
AMWin-RP copied to clipboard

I can't scrobble

Open Guzt-JF opened this issue 6 months ago • 2 comments

Version Info State the Apple Music version and the AMWin-RP version. - 1.5.1 Include the Apple Music region configured in AMWin-RP (e.g. US) PT-BR

Describe the bug I can't scrobble, no idea why, the log might help, also i already executed as admin, and it didn't worked

Log Files

[07:41:52] Application started [07:41:52] Using region br [07:41:52] No AMWin-RP updates available. [07:41:52] No ListenBrainz user token found [07:41:53] Something went wrong while scraping: System.ComponentModel.Win32Exception (5): Acesso negado. at System.Diagnostics.ProcessManager.OpenProcess(Int32 processId, Int32 access, Boolean throwIfExited) at System.Diagnostics.NtProcessManager.GetModules(Int32 processId, Boolean firstModuleOnly) at System.Diagnostics.NtProcessManager.GetFirstModule(Int32 processId) at FlaUI.Core.WindowsAPI.WindowsApiTools.GetMainModuleFilepath(Process process) at FlaUI.Core.Application.Attach(Process process) at FlaUI.Core.Application.Attach(Int32 processId) at AMWin_RichPresence.AppleMusicClientScraper.GetAppleMusicInfo() in C:\Users\Vincent Liu\source\repos\AMWin-RP\AMWin-RichPresence\AppleMusicClientScraper.cs:line 145 at AMWin_RichPresence.AppleMusicClientScraper.Refresh(Object source, ElapsedEventArgs e) in C:\Users\Vincent Liu\source\repos\AMWin-RP\AMWin-RichPresence\AppleMusicClientScraper.cs:line 122 [07:41:53] Last.FM authentication succeeded [07:41:58] Something went wrong while scraping: System.ComponentModel.Win32Exception (5): Acesso negado. at System.Diagnostics.ProcessManager.OpenProcess(Int32 processId, Int32 access, Boolean throwIfExited) at System.Diagnostics.NtProcessManager.GetModules(Int32 processId, Boolean firstModuleOnly) at System.Diagnostics.NtProcessManager.GetFirstModule(Int32 processId) at FlaUI.Core.WindowsAPI.WindowsApiTools.GetMainModuleFilepath(Process process) at FlaUI.Core.Application.Attach(Process process) at FlaUI.Core.Application.Attach(Int32 processId) at AMWin_RichPresence.AppleMusicClientScraper.GetAppleMusicInfo() in C:\Users\Vincent Liu\source\repos\AMWin-RP\AMWin-RichPresence\AppleMusicClientScraper.cs:line 145 at AMWin_RichPresence.AppleMusicClientScraper.Refresh(Object source, ElapsedEventArgs e) in C:\Users\Vincent Liu\source\repos\AMWin-RP\AMWin-RichPresence\AppleMusicClientScraper.cs:line 122 [07:46:58] Previous message repeated 59 times [07:46:58] Something went wrong while scraping: System.ComponentModel.Win32Exception (5): Acesso negado. at System.Diagnostics.NtProcessManager.GetModules(Int32 processId, Boolean firstModuleOnly) at FlaUI.Core.WindowsAPI.WindowsApiTools.GetMainModuleFilepath(Process process) at FlaUI.Core.Application.Attach(Process process) at AMWin_RichPresence.AppleMusicClientScraper.GetAppleMusicInfo() in C:\Users\Vincent Liu\source\repos\AMWin-RP\AMWin-RichPresence\AppleMusicClientScraper.cs:line 145 at AMWin_RichPresence.AppleMusicClientScraper.Refresh(Object source, ElapsedEventArgs e) in C:\Users\Vincent Liu\source\repos\AMWin-RP\AMWin-RichPresence\AppleMusicClientScraper.cs:line 122 [09:39:26] Previous message repeated 1293 times [09:39:26] Application finished [09:39:51] Application started [09:39:52] Using region br [09:39:52] No AMWin-RP updates available. [09:39:52] No ListenBrainz user token found [09:39:52] Something went wrong while scraping: System.Exception: Could not find process with id: 22476 ---> System.ArgumentException: Process with an Id of 22476 is not running. at System.Diagnostics.Process.GetProcessById(Int32 processId, String machineName) at FlaUI.Core.Application.FindProcess(Int32 processId) --- End of inner exception stack trace --- at FlaUI.Core.Application.FindProcess(Int32 processId) at FlaUI.Core.Application.Attach(Int32 processId) at AMWin_RichPresence.AppleMusicClientScraper.GetAppleMusicInfo() in C:\Users\Vincent Liu\source\repos\AMWin-RP\AMWin-RichPresence\AppleMusicClientScraper.cs:line 145 at AMWin_RichPresence.AppleMusicClientScraper.Refresh(Object source, ElapsedEventArgs e) in C:\Users\Vincent Liu\source\repos\AMWin-RP\AMWin-RichPresence\AppleMusicClientScraper.cs:line 122 [09:39:52] Last.FM authentication succeeded [09:39:57] Something went wrong while scraping: System.Exception: Could not find process with id: 22476 ---> System.ArgumentException: Process with an Id of 22476 is not running. at System.Diagnostics.Process.GetProcessById(Int32 processId, String machineName) at FlaUI.Core.Application.FindProcess(Int32 processId) --- End of inner exception stack trace --- at FlaUI.Core.Application.FindProcess(Int32 processId) at FlaUI.Core.Application.Attach(Int32 processId) at AMWin_RichPresence.AppleMusicClientScraper.GetAppleMusicInfo() in C:\Users\Vincent Liu\source\repos\AMWin-RP\AMWin-RichPresence\AppleMusicClientScraper.cs:line 145 at AMWin_RichPresence.AppleMusicClientScraper.Refresh(Object source, ElapsedEventArgs e) in C:\Users\Vincent Liu\source\repos\AMWin-RP\AMWin-RichPresence\AppleMusicClientScraper.cs:line 122

Guzt-JF avatar Jul 03 '25 12:07 Guzt-JF

also not sure if it's relevant, but the apple music pid is not 22476 here

Image

Guzt-JF avatar Jul 03 '25 12:07 Guzt-JF

What does the name of the Apple Music process display as under the details section?

Image

PKBeam avatar Oct 26 '25 12:10 PKBeam