diff options
| author | jacqueline <me@jacqueline.id.au> | 2023-09-06 12:38:40 +1000 |
|---|---|---|
| committer | jacqueline <me@jacqueline.id.au> | 2023-09-06 12:38:40 +1000 |
| commit | 63215ccf1677ac2ea41cd6f64025d55f6f4918a0 (patch) | |
| tree | d4a4bf6b450c30dcd38a6e864388321b5b5e0882 /src/database/index.cpp | |
| parent | dad14baa73a9a46c450193da43bf960b436f7ec5 (diff) | |
| download | tangara-fw-63215ccf1677ac2ea41cd6f64025d55f6f4918a0.tar.gz | |
Fix missing track number issues
Diffstat (limited to 'src/database/index.cpp')
| -rw-r--r-- | src/database/index.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/database/index.cpp b/src/database/index.cpp index 6ec88622..9d77e530 100644 --- a/src/database/index.cpp +++ b/src/database/index.cpp @@ -5,10 +5,13 @@ */ #include "index.hpp" -#include <stdint.h> + +#include <cstdint> #include <variant> + #include "komihash.h" #include "leveldb/write_batch.h" + #include "records.hpp" namespace database { @@ -49,6 +52,7 @@ static auto missing_component_text(const Track& track, Tag tag) case Tag::kTitle: return track.TitleOrFilename(); case Tag::kAlbumTrack: + return "0000"; case Tag::kDuration: default: return {}; |
