1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 14:28:12 +00:00

SoundPlayer: Clear M3U track metadata after parsed file

Before this change, the track metadata was duplicated over and over
until it was overwritten.
This commit is contained in:
Karol Kosek 2021-07-18 18:47:33 +02:00 committed by Gunnar Beutner
parent 18eeb3db87
commit aa6028298e

View file

@ -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 {