AIMP Forum
AIMP for PC => Ошибки и замечания / Bugs => Обработано / Processed => Topic started by: RyzenFromFire on January 10, 2026, 11:31:00
-
Hello,
I am happy to see that there is now a native (?) build of AIMP for Linux. However, I have encountered a strange issue. I am running Endeavour OS (Arch Linux-based) with KDE Plasma 6.5.4, using Wayland, with Linux kernel 6.18.3-arch1-1, 64-bit. AIMP version is 6.00.3029-1, installed from AUR.
When importing playlists, specifically .xspf format (I have not tried others), in most cases, it seems that AIMP flips the slashes in the path to the MP3 file. Specifically, it seems like this happens any time that the path to the file does not contain a ~ (tilde) character. The same one that is used for abbreviating the Linux home directory. But this shorthand is not used in the .xspf playlist file; I see absolute paths (e.g., /home/ryzenfromfire/media/music/category/song.mp3). I noticed this because some of my category folders, and some of my MP3 files, have ~ in the path. Only those MP3 files in a folder with ~ in its name, or with ~ in their filename, seem to play. For all other files, it seems the direction of the slashes gets reversed. When trying to play these files, I get an error like the following:
```
File: \\home\ryzenfromfire\media\music\category\song.mp3
Code: -1 (FFFFFFFF)
Message: File was not found.
```
The double slash at the beginning is strange, but seems normal, as songs that do play also display this in the File Info menu. What is strange is that the forward slashes are turned into backward slashes. This persists when exporting a playlist (after the first time), and I can see it if I look at the playlist file directly. For example, affected entries look like this:
```
<track>
<location>file:///\\home\ryzenfromfire\media\music\category\song.mp3</location>
...
</track>
```
I also notice an added forward slash before /home even in the entries that do work. Additionally, if I try to open File Location for the working songs, it fails with the message "The file or folder smb://home/ryzenfromfire/media/music/~Best does not exist." I'm not familiar with this protocol or how AIMP uses it.
TL;DR to reproduce:
1. Create a playlist with some songs. They should work within the "session" that you add them.
2. Export the playlist to .xspf format. If you look at the playlist file at this time, it will appear normal.
3. Import the playlist. If the songs do not have a ~ in the path, they will not be found, and you should see the slashes in the path reversed (except file:///) with an error message like the one I described above.
4. Optionally, export the newly imported playlist to .xspf format (again). Here you should see the strange things I noted in the playlist file.
Thanks Artem for creating AIMP. It has been incredibly useful thus far. Hopefully this issue can be resolved soon.
-
The double slash at the beginning is strange, but seems normal
Double slash is used in Windows in paths inside the Windows Network (Samba protocol). This paths cannot be converted in native paths in Linux. AIMP has no built-in samba protocol support in Linux. So, you need to mount remote storage manually to able to play files from Windows Share.
-
That makes sense. However, I'm not (to my knowledge) using Samba, remote storage, or Windows Share (or Windows at all) unless AIMP uses it internally. Do you have any ideas as to how I might troubleshoot the issue, and/or were you able to replicate it?
Edit: I'm guessing AIMP does use Samba internally since I see the smb:// in the File Location for songs in the playlist?
-
AIMP does use Samba internally since
No.
Mounting the Samba-share:
https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/5/html/deployment_guide/s1-samba-connect-share
https://www.linode.com/docs/guides/linux-mount-smb-share/
-
I'm sorry, I don't understand why this would be needed. Is it normal to have to configure this to use AIMP on Linux?
I'm not adding files from any special location. They're just in a subdirectory of my home directory. The issue I am trying to convey is that I'm confused as to why saving and re-loading the playlist causes all the files that don't have a '~' in the path to no longer be detected, because it is looking for the same path but with backslashes instead of forward slashes.
-
I'm sorry, I don't understand why this would be needed. Is it normal to have to configure this to use AIMP on Linux?
Sure, Linux doesn't support Windows-like network paths
-
Why would I need Windows-like network paths if I am playing a local file on Linux?
-
\\home\ryzenfromfire\media\music\category\song.mp3
because following is Windows network path:
\\home\ryzenfromfire\media\music\category\song.mp3
-
This is why I am confused. Such a path should not exist on my machine. The actual file is /home/ryzenfromfire/media/music/category/song.mp3.
If I add a song to a playlist directly in AIMP, it plays as expected. But then, if I export the playlist and import it again, it transforms to \\home\ryzenfromfire\media\music\category\song.mp3. It seems this always happens unless the file path contains '~'.
For instance, /home/ryzenfromfire/media/music/~Best/song.mp3 will be found by AIMP after re-importing the .xspf playlist. But /home/ryzenfromfire/media/music/category/song.mp3 will not be found, and AIMP is looking for \\home\ryzenfromfire\media\music\category\song.mp3.
-
I reproduced the issue in a clean virtual machine. It is definitely a bug. It does not occur with .aimppl4, only .xspf.
I tried posting a detailed message with screenshots and steps to reproduce, but the post was automatically removed, apparently due to linking to image hosting site. As administrator I assume you can see it if you want, and I don't want to type out the same thing again. I have attached the images that I attached to the deleted post, hopefully it will be enough to follow along. It is the same steps as I posted in the "TL;DR" of the original post, just more detailed.
-
If I add a song to a playlist directly in AIMP, it plays as expected. But then, if I export the playlist and import it again, it transforms to \\home\ryzenfromfire\media\music\category\song.mp3. It seems this always happens unless the file path contains '~'.
Oh, it seems I missunderstand you. Let me some time for reaseach.
-
That makes more sense. The language barrier does not help. Let me know if you can reproduce the issue, or if you need any other details.
-
That makes more sense. The language barrier does not help. Let me know if you can reproduce the issue, or if you need any other details.
Yes, I've reproduced it.
-
Just tested latest build (3030) and the issue seems to be resolved. Thanks for the fix.