Commit Graph

27 Commits

Author SHA1 Message Date
64d98f5530 Use std::string_view where it makes sense 2021-01-30 21:53:06 +01:00
9a5d366ce0 Vorbis comment: Turn "YEAR" into "DATE" (unless "DATE" exists)
"DATE" is an official field and "YEAR" only an inofficial one but present
in some files. In consistency with MediaInfo and VLC player it is treated
like "DATE" here.
2020-11-25 01:39:57 +01:00
d26e594777 Deprecate 'Year' in favor of 'RecordDate' and 'ReleaseDate', fix handling in ID3v2
1. Convert TYER and related fields of old ID3v2 versions to the new TDRC
  field and only expose that via the generic accessors.
2. When writing an old ID3v2 tag, convert TDRC back to the old fields.
3. One can still manually unset the via 1. auto-populated TDRC to disable 2.
   and write the old fields directly. So the automatic handling does not
   reduce the flexibility of the library.
4. Deprecate 'Year'; it is replaced by the already existing 'RecordDate'
   which is now supposed to be used everywhere where 'Year' was used before
5. Introduce 'ReleaseDate' to support this field which is supported in
   ID3v2.4.0 and Matroska via the generic accessors.
6. Use ISO format when converting tag values of the type DateTime to/from
   string. This is closer to what's used in ID3v2 tags internally. (The
   library still allows the old format as fallback when parsing for
   compatibility.)
2020-04-24 23:15:13 +02:00
a7d359df81 Fix warnings about empty expression statements 2020-04-22 22:49:40 +02:00
b09e7535bc Support lyrics in Vorbis/FLAC 2019-08-12 00:29:08 +02:00
5ad00a083c Adapt to changes in c++utilities 2019-06-10 23:11:39 +02:00
7efa7a0d5a Adapt to c++utilities v5 2019-05-04 16:04:21 +02:00
6afcd0f8d3 Support album artist and fix/improve grouping 2019-01-01 23:47:18 +01:00
3265e0bea4 Fix documentation which was still using the old namespace 2018-06-03 20:38:32 +02:00
221409fdcf Make Vorbis Comments consistently case insensitive 2018-05-13 20:41:26 +02:00
59024a66a0 Don't clear field before parsing by default 2018-03-11 22:27:12 +01:00
c0336ed4bb Apply clang-format 2018-03-07 01:17:50 +01:00
0e15c74103 Move everything into namespace TagParser 2018-03-06 23:09:15 +01:00
36511fcc13 Add progress feedback and diagnostics replacing status provider 2018-03-06 22:44:01 +01:00
7a02e8a325 Uniform/simplify typedefs in templates
* Begin type names with capital letter
* Remove typedefs for implementation type
* Remove useless/obsolete comments
* Simplify relevant code
2018-03-06 22:44:01 +01:00
0daabba17a Use static polymorphism in FieldMapBasedTag 2018-03-06 22:44:01 +01:00
138fa32f29 Restructure FieldMapBasedTag to use CRTP 2018-03-06 22:44:01 +01:00
b97192abd3 Use std::make_unique provided by C++14 2017-02-05 21:02:40 +01:00
a84ac37dbe Add support for raw FLAC streams 2016-05-16 20:56:53 +02:00
bbafd16dcc Support FLAC in Ogg 2016-05-14 23:20:51 +02:00
b8e8dcd778 fixed some OGG/Vorbis related issues 2016-03-22 22:52:36 +01:00
240e7d0b42 support Opus in OGG 2016-01-17 19:32:58 +01:00
aa50c2d8b3 fixed includes 2015-09-06 19:57:33 +02:00
b1eb6faba6 fixed includes 2015-09-06 15:42:18 +02:00
8b91b41801 updated readme 2015-08-26 20:01:32 +02:00
87e3dd3184 field names of Vorbis Comments are now case insensitive 2015-07-27 23:13:03 +02:00
033e313c74 First commit 2015-04-22 19:22:01 +02:00