#pragma once #include #include struct Metadata { TagLib::String artist; TagLib::String title; TagLib::String album; TagLib::String albumArtist; unsigned int year; TagLib::VariantList artwork; TagLib::String genre; unsigned int trackNr; double length; std::string format; unsigned int sampleRate; unsigned int bitRate; }; struct Track { std::string_view artist; std::string_view title; std::string_view album; unsigned int trackNr; unsigned int length; const char *filePath; };