diff options
author | Karol Kosek <krkk@krkk.ct8.pl> | 2021-07-18 18:47:33 +0200 |
---|---|---|
committer | Gunnar Beutner <gunnar@beutner.name> | 2021-07-19 10:27:36 +0200 |
commit | aa6028298e082a4de5b0b62fa1b6985d30ad40fa (patch) | |
tree | 5991109632b01d8b144b18f550581b2d1e7295ed | |
parent | 18eeb3db87ffc87757e887944afb113833dfff35 (diff) | |
download | serenity-aa6028298e082a4de5b0b62fa1b6985d30ad40fa.zip |
SoundPlayer: Clear M3U track metadata after parsed file
Before this change, the track metadata was duplicated over and over
until it was overwritten.
-rw-r--r-- | Userland/Applications/SoundPlayer/M3UParser.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Applications/SoundPlayer/M3UParser.cpp b/Userland/Applications/SoundPlayer/M3UParser.cpp index b8267ec624..b2067bf8d9 100644 --- a/Userland/Applications/SoundPlayer/M3UParser.cpp +++ b/Userland/Applications/SoundPlayer/M3UParser.cpp @@ -99,6 +99,7 @@ NonnullOwnPtr<Vector<M3UEntry>> M3UParser::parse(bool include_extended_info) entry.path = line; entry.extended_info = metadata_for_next_file; vec->append(entry); + metadata_for_next_file = {}; } } } else { |