Skip to content

"#" (hash/pound) character in file name causes playlist parse to fail

Description

When parsing a playlist, the app stops loading any additional songs if it encounters a song with a # in the file name. For example, if an M3U playlist has 150 songs in it, but the 11th song in the list has a # in the filename (e.g. "Some Song #1.mp3"), then VLC will show the playlist only has 10 songs in it, and it ends just before the problem song.

Expected behavior

VLC should show the actual number of songs in the playlist

Actual behavior

VLC fails to show the correct number of songs in the playlist, ending just before a song with a # in the name.

Steps to reproduce

  1. Rename a song to have a # in the name (not completely necessary, but just to show it isn't because the file is missing)
  2. Update the playlist to reflect the name change
  3. Open VLC Android
  4. Refresh data
  5. Note that VLC thinks the playlist now has fewer songs

Screenshot / video

While I had the "#" file in the playlist (a list of songs I have yet to give a star rating to): Screenshot_20230108-000349-151

After I removed the "#" file from the playlist and refreshed: Screenshot_20230108-000415-945

Context

Audio Playlist

App version

3.5.3

Android version

11

Device model

Moto G Power

App mode

Smartphone