https://bugs.kde.org/show_bug.cgi?id=438562
Bug ID: 438562 Summary: A space at the end of a filename leads to erroneous importation of meta-data Product: kid3 Version: 3.8.x Platform: Archlinux Packages OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: uflei...@users.sourceforge.net Reporter: oliviergut...@orange.fr Target Milestone: --- SUMMARY A file containing a space at the end of its name and before the last dot and extension leads to errors when importing tags from filename STEPS TO REPRODUCE 1. Open a directory with music files 2. One of those files is named as "filename .ext" rather than "filename.ext" 3. Set the import filter as "%{discnumber}.%{track} %{title}" 4. Import the tags using the Label 2 button. OBSERVED RESULT - The Title field contains the track number and the title - The Artist field contains the parent/parent directory of the files - The Album field contains the parent directory - The Tracknumber field contains the disc number - Other fields are empty, as expected EXPECTED RESULT - The Title field should only contain the title of the track - The Artist and Album fields should be empty SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: 5.22.0 KDE Frameworks Version: 5.82.0 Qt Version: 5.15.2 ADDITIONAL INFORMATION -- You are receiving this mail because: You are watching all bug changes.