tagparser/matroska
Martchus c3c525c352 Scale rating automatically when serializing popularity/rating field
* Allow one to get a `Popularity` where `.rating` is always between 1 and 5
  via `TagValue::toScaledPopularity()` (or a "raw" scale by specifying the
  corresponding tag format)
* Allow one to assign a `Popularity` with `.scale = TagType::Unspecified`
  and `.rating` between 1 and 5 (or a "raw" scale by specifying the
  corresponding tag format). It will then be converted internally to
  the required scale (whatever the tag format internally uses)
    * Ensure all tag formats with popularity/rating field use
      `TagValue::toScaledPopularity()` internally when a `Popularity`
      object is assigned
* Ensure all tag formats with popularity/rating field store the rating as
  popularity object to preserve the scaling information
* Keep passing raw strings around working
    * `TagValue::toString()` still does *no* scaling
    * `TagValue::toScaledPopularity()` does *no* scaling for text values
      and instead just assigns the specified scale
* See https://github.com/Martchus/tagparser/issues/23
2022-07-20 23:23:51 +02:00
..
ebmlelement.cpp Fix spelling and typos 2021-07-02 11:12:39 +02:00
ebmlelement.h Fix warnings 2021-03-20 21:26:25 +01:00
ebmlid.h Adapt to c++utilities v5 2019-05-04 16:04:21 +02:00
matroskaattachment.cpp Fix warnings 2021-03-20 21:26:25 +01:00
matroskaattachment.h Mark all "final" tag, track and container classes as such 2020-12-18 21:13:52 +01:00
matroskachapter.cpp Fix warnings 2021-03-20 21:26:25 +01:00
matroskachapter.h Add API to allow aborting overall/expensive parsing functions 2021-02-04 23:21:50 +01:00
matroskacontainer.cpp Simplify code 2021-12-31 00:30:11 +01:00
matroskacontainer.h Add API to allow aborting overall/expensive parsing functions 2021-02-04 23:21:50 +01:00
matroskacues.cpp Fix warnings 2021-03-20 21:26:25 +01:00
matroskacues.h Improve performance of Matroska writer 2021-01-27 21:24:53 +01:00
matroskaeditionentry.cpp Fix spelling and typos 2021-07-02 11:12:39 +02:00
matroskaeditionentry.h Add API to allow aborting overall/expensive parsing functions 2021-02-04 23:21:50 +01:00
matroskaid.cpp Use std::string_view where it makes sense 2021-01-30 21:53:06 +01:00
matroskaid.h Add missing `TrackFlag…` Matroska IDs 2021-12-30 22:49:06 +01:00
matroskaseekinfo.cpp Fix spelling and typos 2021-07-02 11:12:39 +02:00
matroskaseekinfo.h Remove unused functions of MatroskaSeekInfo 2019-06-17 19:11:20 +02:00
matroskatag.cpp Add field mappings for all fields mentioned in Matroska spec 2022-04-06 00:01:19 +02:00
matroskatag.h Normalize known Matroska tag fields so they can be recognized despite different casing 2021-08-25 18:53:20 +02:00
matroskatagfield.cpp Scale rating automatically when serializing popularity/rating field 2022-07-20 23:23:51 +02:00
matroskatagfield.h Normalize known Matroska tag fields so they can be recognized despite different casing 2021-08-25 18:53:20 +02:00
matroskatagid.cpp Apply clang-format 2020-11-14 22:58:55 +01:00
matroskatagid.h Add field mappings for all fields mentioned in Matroska spec 2022-04-06 00:01:19 +02:00
matroskatags.dtd Test parsing and rewriting nested Mkv tags 2017-05-19 00:05:57 +02:00
matroskatrack.cpp Fix parsing flags of Matroska tracks 2022-04-05 21:27:58 +02:00
matroskatrack.h Add API to allow aborting overall/expensive parsing functions 2021-02-04 23:21:50 +01:00