Symfonium importing playlists missing a track?

Issue description:

I have a playlist of 1179 tracks, while inspecting the debug.log it properly read all the 1179 .opus tracks but for some reason after a query builder event it returned 1178 tracks.

Logs:

Upload description: azuriye log with playlist file.

Additional information:

 

 

Reproduction steps:

 
Place the playlist file into a folder which Symfonium scans and once recognised inside the Files sub-menu simply import the playlist and wait until it appears in the Playlists sub-menu with a toast notification indicating the process has finished.
 

Media provider:

Local device

Screenshots:

     

okay upon further inspection it looks like the 1st track from the playlist is the problem.

when I append a hashtag in line 1 it rectifies the problem, any idea what could be causing this issue?

Your m3u is UTF8 encoded with BOM header. m3u are not supposed to be utf with bom :slight_smile:

I’ll add support for those in next release but you should avoid BOM in such files.

Hello, that seemed to fix the issue. Looks like foobar2k exported playlists as UTF-8 BOM .m3u8 files. Probably why the hashtag was appended by foobar2k :thinking: but I always removed it thinking it wouldn’t pose an issue.