20c0f9744f
Replace Metadata.h with Containers.h, introducing a HashTable implementation with SIMD acceleration and specialized track tracking. Cleanup PlayerEngine logic by merging it into the playback flow and refactoring several internal API signatures.
27 lines
537 B
C++
27 lines
537 B
C++
#pragma once
|
|
|
|
#include "containers.h"
|
|
//#include "file.h"
|
|
|
|
#include <filesystem>
|
|
#include <memory>
|
|
#include <taglib/tstring.h>
|
|
#include <taglib/fileref.h>
|
|
#include <taglib/tvariant.h>
|
|
|
|
|
|
namespace fs = std::filesystem;
|
|
|
|
class tag {
|
|
public:
|
|
void readtag( TagLib::filename filename );
|
|
metadata getmetadata() const;
|
|
|
|
const std::string& getfilepath() const;
|
|
const auto getartwork() const;
|
|
private:
|
|
metadata metadata_;
|
|
std::string filepath_;
|
|
fs::path musicdir = music_folder;
|
|
};
|