AIMP Forum

AIMP for Android => Ошибки и замечания / Bugs => Обработано / Processed => Topic started by: koro on March 01, 2023, 10:22:43

Title: [x] [1246] track location URL is decode during importing xspf playlist
Post by: koro on March 01, 2023, 10:22:43
It seem that Android AIMP decodes track location URL of XSPF playlist, which might introduce space into URL and lead to "Unable to load and play the file Error: File was not found".

This issue only occurs in XSPF playlist importing. The M3U8 playlist is not affected. btw, there is no such problem on the desktop AIMP :-)

Here is a example playlist with encoded URL of track location, which follows the requirements of RFC-2396 URI and XSPF specification.

XSPF playlist
https://privatebin.net/?3cd076d09c2884b8#Ep19xDk1FCWthCmUZcnesZ75x1ybuTTzPhTJpJ2SNkJD

M3U8 playlist with the same URL
https://privatebin.net/?289efb014f78186f#GjwtQ4TyPM4napeQi3n2NNw5C3t63fb4M1L7U66hGXYT

(https://i.postimg.cc/s2VxN2zB/xspf-1.jpg)
(https://i.postimg.cc/9fJ05jXL/xspf-2.png)
(https://i.postimg.cc/Nj5V13LW/xspf-3.png)
(https://i.postimg.cc/cHFnmn84/m3u8-1.jpg)
(https://i.postimg.cc/Z5zC6cDx/m3u8-2.jpg)
Title: Re: # [1246] track location URL is decode during importing xspf playlist
Post by: Artem on March 01, 2023, 14:01:43
Thank you, fixed. For both platforms.