initial commit
This commit is contained in:
commit
fae3d30dbd
26 changed files with 18409 additions and 0 deletions
26
desktop/datalake/track.hpp
Normal file
26
desktop/datalake/track.hpp
Normal file
|
@ -0,0 +1,26 @@
|
|||
#pragma once
|
||||
#include <KFileMetaData/SimpleExtractionResult>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
class KotoTrack {
|
||||
public:
|
||||
KotoTrack(); // No-op constructor
|
||||
static KotoTrack * fromDb();
|
||||
static KotoTrack * fromMetadata(KFileMetaData::SimpleExtractionResult metadata);
|
||||
~KotoTrack();
|
||||
|
||||
private:
|
||||
std::string album;
|
||||
std::string album_artist;
|
||||
std::string artist;
|
||||
int disc_number;
|
||||
int duration;
|
||||
std::vector<std::string> genres;
|
||||
std::string lyrics;
|
||||
std::string narrator;
|
||||
std::string path;
|
||||
std::string title;
|
||||
int track_number;
|
||||
int year;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue