Album title interferes with Cover Art
Bug description
On Windows, the VLC player fails to display an embedded cover art when the album metadata field ends on two or more dots with nothing but whitespace in between. Notably, adding whitespace after the final dot makes the cover art be displayed correctly. Tested extensively with FLAC, but also seen with MP3.
As far as I can tell, the other metadata fields do not trigger this bug. It seems to be specific to the Album field.
Steps to reproduce
- Open VLC player with any FLAC audio file with an embedded cover art
- Edit
Albumfield - Double-click audio file in playlist to reload the song
- Observe the cover art display:
- Album:
[anything]→ Cover: displayed correctly✔ - Album:
[anything].→ Cover: displayed correctly✔ - Album:
[anything]..→ Cover: fails to display❌ - Album:
[anything]...→ Cover: fails to display❌ - Album:
[anything]. .→ Cover: fails to display❌ - Album:
[anything]. .→ Cover: fails to display❌ - Album:
[anything]...→ Cover: displayed correctly✔
- Album:
Tested on ("C:\Program Files\VideoLAN\VLC\vlc.exe" --version -vv)
VLC version 3.0.21 Vetinari (3.0.21-1-0-g9c4768291e)
Compiled by videolan on runner-sgapdqg-project-435-concurrent-1 (Jun 8 2024 21:20:21)
Compiler: gcc version 6.4.0 (GCC)
That
VLC version 4.0.0-dev Otto Chriek (4.0.0-dev-33627-gd0d9ba3e60)
Compiled by videolan on runner-yykwduqh-project-435-concurrent-0 (Apr 13 2025 04:10:15)
Compiler: gcc version 12-posix (GCC)