AIMP Forum

AIMP for Android => Вопросы / Questions => Topic started by: Cascassus on November 23, 2022, 12:26:09

Title: AIMP playlist change relative path
Post by: Cascassus on November 23, 2022, 12:26:09
Hello,

is it possible to change the relative path playlists are based on when exporting/importing settings? I want to import my old playlists on a new device with all the files being the same inside the folder, but the filepath of the folder itself has changed. As far as I can tell, AIMP just looks for the same absolute path and obviously fails.

I wanted to edit the playlist paths myself in the aimpbpl files, however I can't seem to open them with any standard encoding(UTF-8, UTF-16 etc.).

Thanks in advance!
Title: Re: AIMP playlist change relative path
Post by: Artem on November 23, 2022, 14:44:23
In v3.30, we have introduced the "find misplaced files" function. It should help to recover file references in playlist after import it
Title: Re: AIMP playlist change relative path
Post by: Cascassus on November 23, 2022, 22:08:48
Thanks, I joined the beta branch and found the feature. However, it seems to just empty the playlist despite claiming that the operation was successfully completed. I selected the parent folder of all the individual albums. Does it have a delay, or maybe I need to be more specific? Maybe it's a bug I should report?
Title: Re: AIMP playlist change relative path
Post by: Artem on November 24, 2022, 08:23:22
No, it does not deleted items that were not found. Please, can you share your playlist and provide to me step-by-step instruction to reproduce an issue?
Title: Re: AIMP playlist change relative path
Post by: Cascassus on November 24, 2022, 10:37:48
It seems that the playlist is cleared as soon as I try to play one of the displaced files.

I attached some screenshots about the order of things (I double checked that the folder with the files is not empty)
Title: Re: AIMP playlist change relative path
Post by: Cascassus on November 24, 2022, 10:39:33
(Sorry, forgot the playlist at first)

Title: Re: AIMP playlist change relative path
Post by: Artem on November 27, 2022, 21:36:45
It seems that the playlist is cleared as soon as I try to play one of the displaced files.

As I see on IMG_20221124_082039 picture, the playlist is already empty (before you've selected the action). Its looks so strange.
Please, can you record the video with all action that you have made?
Title: Re: AIMP playlist change relative path
Post by: Cascassus on November 28, 2022, 00:00:37
Well, it looks like the playlist entries disappear as soon as I try to play one of them.
I attached a zipped video.

I imported the above playlist file beforehand.
Title: Re: AIMP playlist change relative path
Post by: Artem on November 28, 2022, 09:45:56
Please, try on this build:
https://disk.yandex.ru/d/s95pr1dpbrGoKg
Title: Re: AIMP playlist change relative path
Post by: Cascassus on November 28, 2022, 15:47:02
Thx a lot, that seems to have fixed it!

One thing I noticed is that when I imported my old settings now, it briefly closes/minimizes and then reopens the application. Not sure if that was intended or not, so I think I should mention it.

But I can now import all the songs with the Find automatically feature, so that works perfectly!