Tracks missing from playlist after import

Issue description:

When I import playlists, certain tracks are often missing.

Example: I have a playlist that contains 20 tracks. I import into Symfonium by navigating to the playlist via Files . When I inspect or play the playlist via Playlists, it contains 17 tracks. The remaining three tracks are missing.

Playlists and music files live on my local device. The issue is repeatable. The problem seems specific to certain tracks: if I rename these tracks and change the reference to them in the playlist, they are still dropped if I try to import that new playlist.

The issue is not specific to a certain playlist format. It is reproducible for playlists in .m3u and .m3u8 format.

The dropped files can be played manually, so they are not corrupt. I can navigate to them in my Symfonium music library and play them normally.

Logs:

Upload description: nmjohn_debug_20250517.log

Additional information:

The provided log is a simple example with a five-track playlist. After import it contains three tracks. Two two dropped tracks are identical files with different names (suggesting the problem seems specific to something in the file itself).
 

Reproduction steps:

 
Move playlist (m3u or m3u8) to local device.
Move music tracks (various formats) to local device.
Import playlist using Files > Local Device > (navigate to playlist) > three dots > Import
Play playlist using Playlists > (select playlist)

 

Media provider:

Local device

Screenshots:

     

The files are indeed not found in Symfonium database with the name and path provided.

2025-05-17 06:24:40.841 Verbose LocalDevice  Playlist mapping: ../../tracks/mixed/foo/bar/02 baz.mp3 -> Music/Synced/playlists/playlist_manager/../../tracks/mixed/foo/bar/02 baz.mp3 = Music/Synced/tracks/mixed/foo/bar/02 baz.mp3
2025-05-17 06:24:40.842 Verbose LocalDevice  Playlist mapping: ../../tracks/mixed/War/The Best of War and More/02 Low Rider.mp3 -> Music/Synced/playlists/playlist_manager/../../tracks/mixed/War/The Best of War and More/02 Low Rider.mp3 = Music/Synced/tracks/mixed/War/The Best of War and More/02 Low Rider.mp3

Those 2 files do not exist with those exact names and path or are not imported in Symfonium and you need to sync the provider before.

Thank you! They exist with the given path and filename, but it turns out they were not synced in Symfonium. I didn’t realize resync was necessary for local storage.