diff options
author | Uwe Klotz <uwe_klotz@web.de> | 2017-12-06 18:21:38 +0100 |
---|---|---|
committer | Uwe Klotz <uwe_klotz@web.de> | 2017-12-06 18:21:38 +0100 |
commit | db2f063a4c61535b412244237dff6c61e1bb3e04 (patch) | |
tree | aca3612a0e915a0aa3a819a824c5b4d49c1c04f3 /src/track/trackmetadata.h | |
parent | 1cca6706fbb9c62f06bcb31f51bfc6f6071184fb (diff) |
Re-enable new metadata properties
...with much less TODOs and excluded code lines than before.
Diffstat (limited to 'src/track/trackmetadata.h')
-rw-r--r-- | src/track/trackmetadata.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/track/trackmetadata.h b/src/track/trackmetadata.h index f17743da3b..956b6c7107 100644 --- a/src/track/trackmetadata.h +++ b/src/track/trackmetadata.h @@ -33,6 +33,12 @@ public: TrackMetadata& operator=(TrackMetadata&&) = default; TrackMetadata& operator=(const TrackMetadata&) = default; + // TODO(XXX): Remove after all new fields have been added to the library + void resetUnsupportedValues() { + refAlbumInfo().resetUnsupportedValues(); + refTrackInfo().resetUnsupportedValues(); + } + // Adjusts floating-point values to match their string representation // in file tags to account for rounding errors. void normalizeBeforeExport() { |