AIMP Forum

AIMP for PC => Ошибки и замечания / Bugs => Topic started by: Disaster Sibling on May 25, 2026, 03:54:43

Title: [x] [3067] [Linux] KDE Media Player not recognizing AIMP
Post by: Disaster Sibling on May 25, 2026, 03:54:43
After upgrading to v6.00.3064, KDE Media Player do not recognize AIMP anymore.
(https://i.imgur.com/LmGOG4u.png)

Reverting back to v6.00.3060 brings it back.
(https://i.imgur.com/07shTRW.png)

-----------------------
v6.00.3064 Beta 3
GTK3-64-bit (21.05.2026)
Linux / Fedora Linux 44 (KDE Plasma Desktop Edition) / KDE on WAYLAND
Title: Re: [Linux] KDE Media Player not recognizing AIMP after v6.00.3064
Post by: adem on May 25, 2026, 06:30:57
It works as expected on my CachyOS:
(https://aimp.ru/forum/index.php?action=dlattach;topic=77764.0;attach=77706)
Title: Re: [3064] [Linux] KDE Media Player not recognizing AIMP after v6.00.3064
Post by: Artem on May 25, 2026, 09:29:20
Unfortunately, I failed to reproduce the issue. Media Controls are displayed correctly for AIMP. I've tried on: Manjaro 26 and Debian 13.3 (KDE)
Title: Re: [?] [3064] [Linux] KDE Media Player not recognizing AIMP
Post by: Disaster Sibling on May 27, 2026, 02:04:29
UPDATED: Even with the new 3065 version, it's still not displaying correctly for me.
Do you know where to find the log file or something similar to debug this? I'd like to see if I can find anything.

(https://i.imgur.com/MDhIeYh.png)
Title: Re: [?] [3064] [Linux] KDE Media Player not recognizing AIMP
Post by: Artem on May 27, 2026, 13:05:22
Do you know where to find the log file or something similar to debug this? I'd like to see if I can find anything.

Start app from the console via "aimp" command. All internal and external app events will be output to the console screen
Title: Re: [?] [3064] [Linux] KDE Media Player not recognizing AIMP
Post by: Disaster Sibling on May 28, 2026, 10:11:08
UPDATED:
After checking the log file, I realized there's a leftover file from previous installation that's messing up with the new install, causing KDE Media Player to not recognize it.
A complete removal and clean install of AIMP seems to fix the issue.
Thanks for the support!

(https://i.imgur.com/msELeAi.png)
Title: Re: [?] [3064] [Linux] KDE Media Player not recognizing AIMP
Post by: Artem on May 28, 2026, 10:14:09
leftover file from previous installation that's messing up with the new install

What the file?
Title: Re: [?] [3064] [Linux] KDE Media Player not recognizing AIMP
Post by: Disaster Sibling on May 29, 2026, 07:06:54
UPDATED:
After longer test, the issue came back.

At the time I didn't know what file. When I ran over the log via journalctl, I saw a strange crash so I thought leftover files are what caused the crash.
Code: [Select]
May 28 10:40:05 Smoocher-PC plasmashell[5247]: Service type not found: "application/x-aimppak"
May 28 10:40:05 Smoocher-PC plasmashell[5247]: Service type not found: "audio/x-wav"
May 28 10:40:05 Smoocher-PC plasmashell[5247]: Service type not found: "application/x-cdf"
May 28 10:40:05 Smoocher-PC plasmashell[5247]: Service type not found: "application/x-aimppl"
May 28 10:40:05 Smoocher-PC plasmashell[5247]: Service type not found: "audio/x-ofr"
May 28 10:40:05 Smoocher-PC plasmashell[5247]: Service type not found: "audio/x-w64"
May 28 10:40:05 Smoocher-PC plasmashell[5247]: Service type not found: "audio/x-opus"
May 28 10:40:05 Smoocher-PC plasmashell[5247]: Service type not found: "audio/x-umx"
May 28 10:42:11 Smoocher-PC plasmashell[5247]: corrupted double-linked list
May 28 10:42:11 Smoocher-PC plasmashell[5247]: KCrash: Application 'plasmashell' crashing... crashRecursionCounter = 2

Clean install does fix the crash, but turned out that's not the real bug.
I did test on my other machine and it works without any problems, so further troubleshooting points me toward race condition of D-BUS and MPRIS service.
Basically the Media Player widget didn't see AIMP when I first started it, and only able to see it after I restart plasmashell.
here's the log on not-working machine: https://pastebin.com/6xuC6fXS (runs AIMP, restart shell, media player sees AIMP but global media controller doesn't work)
here's the log on working machine: https://pastebin.com/6j9BJWVd (runs AIMP, media player sees AIMP and global media controller works)

So that got me thinking this might be KDE-related bugs.
However I still don't know why reverting back to 3060b works (3056b also works) and any version after that doesn't.
Title: Re: [?] [3064] [Linux] KDE Media Player not recognizing AIMP
Post by: Artem on May 29, 2026, 20:19:36
Please, try on build 3066 .
Title: Re: [?] [3064] [Linux] KDE Media Player not recognizing AIMP
Post by: kira42 on June 03, 2026, 14:21:31
I am having the same issue in 3067, system media player does not catch AIMP.

it is pretty random

noticed that if aimp is started from cli, it may be not connected to system player
but if player is restarted via itself (like "restart" button when you disable plugin), it attaches to system player

check attachment logs; you can see thee difference in loading org.mpris.MediaPlayer2.* actions at startup and at restart

v6.00.3067 Beta 3
GTK3-64-bit (03.06.2026)
Linux / Manjaro Linux 26.1.0-pre / NIRI on WAYLAND

upd works on gnome 50.1
Title: Re: [?] [3064] [Linux] KDE Media Player not recognizing AIMP
Post by: Artem on June 03, 2026, 15:56:34
What is your KDE version?
Title: Re: [?] [3064] [Linux] KDE Media Player not recognizing AIMP
Post by: Disaster Sibling on June 05, 2026, 05:58:28
Hi,

I tested build 3066 and 3067 and notice the following:
1. Unfortunately in 3067, the issue is still there. I still need to restart the plasmashell for the widget to see AIMP, but doing this won't hook the global media control to AIMP.
Here's the log for 3067: https://pastebin.com/raw/q30utefm
2. I noticed a change of behavior in right-click then Play/Pause menu action.
   (https://i.imgur.com/NfqGugW.png)
   - For build 3065 and prior, right-click then Play/Pause will play the song from the start, not where it was left from the last play. I've been using Play/Pause as a workaround to get Media Player widget to hook to AIMP.
   - Build 3066 and 3067 changes this behavior to actually start from where it was left from the last play. The above workaround is not possible anymore with build 3066 and 3067.
3. However, when I minimized it to system tray, Play/Pause again plays the song from the beginning. This behavior become the same as build 3065 and prior.
   So by using the old workaround by minimizing and open AIMP via Play/Pause, I can consistently get KDE Media Player widget to hook to AIMP.
   Global media control also works when the widget naturally hook to AIMP.
   Log for this: https://pastebin.com/raw/Uz6gk8Kb

Since the problem is random and not reproducible on every machine, I put the video below so you can better understand what's going on.

Video: https://www.youtube.com/watch?v=CYuhUoCt7zk
Timestamp:
0:00 - Start AIMP normally
0:10 - Start AIMP via right-click then Play/Pause
0:18 - Start AIMP normally while it's minimized to sytem tray
0:28 - Start AIMP via right-click then Play/Pause while it's minimized to sytem tray
Title: Re: [?] [3064] [Linux] KDE Media Player not recognizing AIMP
Post by: Artem on June 05, 2026, 09:01:23
Does the Playerctl utility see AIMP in this case (when KDE does not see)?
Title: Re: [?] [3064] [Linux] KDE Media Player not recognizing AIMP
Post by: Disaster Sibling on June 05, 2026, 11:11:58
Playerctl can still interact with AIMP even when the widget cannot see it.
Title: Re: [?] [3064] [Linux] KDE Media Player not recognizing AIMP
Post by: Artem on June 06, 2026, 22:40:50
Please, try this build:
https://disk.yandex.ru/d/m7VSro7en2bRlw
Title: Re: [?] [3064] [Linux] KDE Media Player not recognizing AIMP
Post by: Disaster Sibling on June 08, 2026, 03:47:27
Thanks.

I tried your build and the Media Player widget can see AIMP naturally now!
Title: Re: [?] [3064] [Linux] KDE Media Player not recognizing AIMP
Post by: Artem on June 08, 2026, 08:02:18
Good to listen that! Thanks you for testing