Refactor tagging and add library scanning
- Replace `Tag` class with utility helpers for hashing and file type parsing - Change `Track.artwork` from `std::string` to `TagLib::VariantMap` - Add `importArtwork`, rename `importFolder` to `scanFolder` - Add `scanLibrary`, `updateLibrary`, `editMetadata`, and `seek` methods to `Player` hierarchy - Remove obsolete `Tag.h`/`Tag.cpp` files
This commit is contained in:
@@ -31,7 +31,7 @@ struct Track {
|
||||
unsigned int length;
|
||||
unsigned int year;
|
||||
std::string filePath;
|
||||
std::string artwork;
|
||||
TagLib::VariantMap artwork;
|
||||
TagLib::String genre;
|
||||
std::string format;
|
||||
uint64_t hash;
|
||||
|
||||
Reference in New Issue
Block a user