Audio file metadata and thumbnails

This commit is contained in:
Robin E. R. Davies
2025-05-31 21:06:34 -04:00
parent 13e2f6b5bb
commit c4e0b0ff46
44 changed files with 3490 additions and 661 deletions
+9
View File
@@ -20,6 +20,7 @@
#pragma once
#include "json.hpp"
#include "AudioFileMetadata.hpp"
namespace pipedal {
@@ -30,11 +31,19 @@ namespace pipedal {
:pathname_(pathname), displayName_(displayName), isDirectory_(isDirectory),isProtected_(isProtected)
{
}
FileEntry(const std::string&pathname,const std::string &displayName, bool isProtected,
std::shared_ptr<AudioFileMetadata> metadata
)
:pathname_(pathname), displayName_(displayName), isDirectory_(false),isProtected_(isProtected),metadata_(metadata)
{
}
std::string pathname_;
std::string displayName_;
bool isDirectory_ = false;
bool isProtected_ = false;
std::shared_ptr<AudioFileMetadata> metadata_;
DECLARE_JSON_MAP(FileEntry);