1457dec990
Map "popularity meter" of ID3v2 tags to the generic rating field
...
See https://github.com/Martchus/tageditor/issues/84
2022-06-15 23:50:15 +02:00
7a70a8e098
Apply clang-format
2022-05-23 19:55:50 +02:00
e40c1901e1
Fix crash when parsing FLAC header
2022-05-23 19:55:32 +02:00
b27c82ef8c
Bump patch version
2022-05-23 19:55:12 +02:00
72f56f4297
Set the OggIterator filter correctly when parsing tags
...
I suppose otherwise parsing will fail if there are multiple streams and the
tag spans multiple interleaved pages.
2022-05-03 23:52:18 +02:00
5106d94f2a
Add Ogg stream serial number to tag target when parsing Vorbis comments
...
So the stream the Vorbis comment belongs to is shown in the tag editor GUI.
Otherwise it shouldn't change the behavior.
2022-05-03 23:50:20 +02:00
84b4d06f53
Add stalebot config
2022-04-12 01:04:24 +02:00
87aea59735
Change mapping of publisher for ID3v2
...
TPUB is likely better be mapped to the recently added publisher field. Note
that MP4 and Matroska have a distinct record label field.
2022-04-10 00:06:20 +02:00
520a913b07
Fix field ID of original year in ID3v2.0
2022-04-09 23:37:13 +02:00
4da00f8b75
Add more field mappings
2022-04-09 23:36:39 +02:00
bf1eee45ba
Add field mappings for all fields mentioned in Matroska spec
2022-04-06 00:01:19 +02:00
26c88befda
Make dummy definition in supportsField() const
2022-04-05 23:30:06 +02:00
01813e7879
Add missing official Matroska tag field IDs
2022-04-05 21:54:04 +02:00
5c4f94de8e
Fix originalMediaType()
2022-04-05 21:48:02 +02:00
169760c996
Organize matroskatagid.h with sections in accordance to specification
2022-04-05 21:47:35 +02:00
a3dc63b677
Fix parsing flags of Matroska tracks
...
The default for the flags "default" and "enabled" is actually 1.
2022-04-05 21:27:58 +02:00
8e3055291e
Add copyright notice
2022-04-05 20:15:32 +02:00
a5830319b1
Avoid requiring OpenSSL package in CMake find module
...
as it is only required for unit tests
2022-04-03 23:20:43 +02:00
ff86df8e25
Use makeNativePath()
instead of u8path()
...
On non-Windows platforms the internal representation used for paths is the
configured native (narrow) character set. Most of the time that's UTF-8 but
only on Windows UTF-8 is *always* used for the internal representation.
2022-03-17 22:41:35 +01:00
b441860cc6
Fix one more occurance of wrong encoding handling with std::filesystem
2022-03-16 19:45:59 +01:00
1ac689392e
Apply clang-format
2022-03-16 19:24:14 +01:00
4f221798e9
Fix dealing with non-ASCII characters in backup helper on Windows
...
See https://github.com/Martchus/tageditor/issues/81
2022-03-16 19:13:09 +01:00
526352e016
Increment patch version
2022-03-15 21:51:38 +01:00
4140c07512
Clarify that license is "GPL-2-or-later"
2022-03-15 21:49:33 +01:00
ede94518d0
Add fields to AbstractTrack to support a few more Mkv specs in the future
2022-02-16 00:24:21 +01:00
28abe151fd
Avoid duplicating MP4 epoch
2022-02-16 00:04:09 +01:00
503fb725a2
Improve handling time values of MP4 files
...
* Cache result of `verifyPresentTrackHeader()` instead of running the code
unnecassarily multiple times
* Do not tamper with existing/raw values by default to avoid
inconsistencies through rounding errors and possibly fix
https://github.com/Martchus/tageditor/issues/80
* Avoid conversions to double (depending on the time scale rounding errors
might still occur)
2022-02-15 23:22:48 +01:00
d19a09db5b
Make startDate
static as it isn't used in any other units
2022-02-15 21:35:49 +01:00
eafe2fa997
Avoid constructor for TrackHeaderInfo
2022-02-15 21:23:29 +01:00
d390e8c9cf
Deduplicate code for computing timing values of MP4 track
2022-02-15 21:22:07 +01:00
41ddccb455
Avoid copying fields when making Vorbis comment
2021-12-31 01:18:45 +01:00
4e80c31e98
Avoid writing cleared-out Matroska tag fields
2021-12-31 01:16:21 +01:00
478b47d114
Improve documentation for TagValue::isNull()
/TagValue::isEmpty()
2021-12-31 01:15:50 +01:00
532a805254
Avoid adding empty values when setting values and field does not exist
2021-12-31 01:15:13 +01:00
9ca4c57c0e
Add TagTarget::matches()
2021-12-31 00:31:32 +01:00
b740d2c1e0
Simplify code
2021-12-31 00:30:11 +01:00
31c1bb47e6
Add missing TrackFlag…
Matroska IDs
2021-12-30 22:49:06 +01:00
330e67844d
Apply clang-format to example code
2021-12-21 01:08:10 +01:00
e4c9e9be31
Mention "Building this straight" instructions of tag editor
2021-12-20 23:31:58 +01:00
af325db8ab
Improve "Usage" documentation
...
* Move example code to a different file and build it as part of the tests
to make sure it actually compiles
* Add notes about the CMake find module and pkg-config module
2021-12-20 23:26:38 +01:00
def74db180
Prefer pixel size over display size when computing 'XXXXp' specification
2021-12-07 21:30:26 +01:00
ea8e70c807
Update/improve build instructions
2021-12-05 18:32:47 +01:00
18d054a600
Fix warnings about unused variables
2021-12-05 17:49:54 +01:00
cb52a1521e
Fix compilation with libc++
2021-12-05 17:49:36 +01:00
4900d7dc7e
Bump patch version
2021-12-05 17:42:50 +01:00
5e3fa563e1
Fix warning about shadowing variable
2021-10-26 15:54:57 +02:00
fd5e9bf950
Fix crashes due to wrong parameter passing
...
The refactoring to use `std::string_view`
(see 64d98f5530
) caused this regression
(see https://github.com/Martchus/tageditor/issues/75 ). We must specify the
size because the buffers used here are not null-terminated.
2021-10-26 15:54:30 +02:00
0ebad97a6d
Increase minor version
2021-09-11 23:58:30 +02:00
e277070e9c
Use std::filesystem
in backup helper code
...
* Fix applying changes to symlinks so that the target is modified in any
case (and not just if a rewrite isn't necessary)
* Avoid using `std::rename` and `std::remove` because they might not work
under Windows when the path contains non-ASCII characters
* Simplify code, remove `isRelative()`
2021-09-11 23:54:49 +02:00
8a48914bcc
Use std::filesystem
in createBackupFile
...
* Drop platform-specific code
* Avoid using ANSI WinAPI function
2021-09-11 21:52:49 +02:00