Commit Graph

540 Commits

Author SHA1 Message Date
5aa5ccb6eb Add method to generate short track description 2017-08-17 19:08:54 +02:00
267bd62879 media format: Add method for short abbreviation
The current abbreviation is still a little bit too
verbose for some use cases.
2017-08-17 19:08:44 +02:00
cb46cac637 backup helper: Don't remove previous backup
The backup helper is no longer supposed to override
previous backups.
2017-08-17 18:46:15 +02:00
1b96ab15fd Test utilities 2017-08-17 18:44:34 +02:00
3924b5f56b Test more methods of MediaFileInfo 2017-08-17 18:44:11 +02:00
b9fb3c9695 Move test helper in its own namespace 2017-08-17 18:40:34 +02:00
fd98c5b968 Fix invalidating notifications 2017-08-17 18:19:07 +02:00
c79e0435fe Extend Size class
* Compute resolution
* Get abbreviation, eg. 1080p
2017-08-17 18:18:10 +02:00
78ceef49fb Replace 'inline constexpr' with only 'constexpr' 2017-08-17 18:15:03 +02:00
e9c923471b Fix ambigious function call 2017-08-11 21:48:39 +02:00
555fb53ab8 Improve documentation of MediaFileInfo::createAppropriateTags() 2017-07-28 21:01:28 +02:00
66532353c7 Read track statistics from Matroska tags 2017-06-27 00:36:32 +02:00
c120b117c0 Fix tests 2017-06-19 13:54:23 +02:00
99b177a9ff Handle invalid language for MP4 track better 2017-06-17 00:32:38 +02:00
f323061767 Apply MP4 track meta-data also when not writing chunk-by-chunk 2017-06-17 00:31:35 +02:00
03383a18b9 Add GenericFileElement::copyPreferablyFromBuffer() 2017-06-17 00:29:49 +02:00
6741e9ca0f Set Matroska track meta-data when element not present 2017-06-14 22:46:33 +02:00
9b0d74b6ad Implement applying changed track meta-data for Mkv 2017-06-11 22:57:28 +02:00
b4de493b56 Prevent warning about unused variable 2017-06-11 01:22:30 +02:00
8d08314e3b Introduce MatroskaTrackHeaderMaker
First step to implement applying changed track
meta-data for Matroska
2017-06-11 01:21:56 +02:00
f7ce96f4f9 Add convenience method to find tracks by ID 2017-06-11 01:17:13 +02:00
2beb4b02aa Prevent some warnings 2017-06-10 21:47:07 +02:00
2a808df3f5 Use argsToString() avoiding numberToString() 2017-06-08 01:26:34 +02:00
646fc4d302 Fix TagValue::toInteger() from Latin1/UTF-8 str 2017-06-08 00:48:10 +02:00
381d8db895 Fix check for removed tests in Mkv tests 2017-06-07 23:40:02 +02:00
b03273da44 Allow setting track meta-data
Currently applying is only implemented for
MP4 tracks (only ID, name and language).
2017-06-06 23:26:20 +02:00
4e59ed2742 Mind encoding in TagValue::toStandardGenreIndex() 2017-06-03 21:00:36 +02:00
8ae3dd6f6f Specify behaviour of Id3Genres::indexFromString() in error case 2017-06-03 21:00:36 +02:00
e1d14ad61b Allow conversion of DateTime in TagValue::toString() 2017-06-03 21:00:36 +02:00
6c1a0b9126 Fix TagValue::toDateTime() 2017-06-03 21:00:36 +02:00
6b705d5652 Mind encoding when converting TagValue to pos 2017-06-03 21:00:26 +02:00
b76d35acfd Mind encoding when converting TagValue to int 2017-06-03 21:00:26 +02:00
39b63c84cb TagValue equality: Actually ignore encoding if not relevant 2017-06-03 21:00:26 +02:00
5e91661de3 Test TagValue 2017-06-03 21:00:26 +02:00
b88672e32f Fix compiling tests under 32-bit arch 2017-05-30 23:59:23 +02:00
79845b96dc Remove friend class from Id3v2Frame 2017-05-29 14:36:22 +02:00
98fc83af6a Make error skipping in EBML parser configurable 2017-05-29 14:33:28 +02:00
0d39a70b5f Improve making picture/comment frames 2017-05-29 14:05:15 +02:00
d8d3fbd487 Enable code for parsing MP4 chunk-offsets from fragments 2017-05-29 00:58:44 +02:00
4faef55906 Fix writing MP4 chunk-by-chunk
This also involves finally implementing
Mp4Track::makeTrack(). Mp4Track::makeSampleTable()
which would enable modifying stbl atom is still not
fully implemented yet, though.
2017-05-29 00:58:08 +02:00
527fcb694e Ensure MP4 ID strings only contain printable chars
Prevents tag editor from generating invalid XHTML
2017-05-29 00:57:42 +02:00
58ddba4178 Ensure the track ID is unique 2017-05-29 00:57:05 +02:00
f849c22bad Test writing MP4 chunk-by-chunk
This feature was only implemented to play
around with MP4 a little bit and is not actually
used by the tag editor and hence was not tested
very well.
2017-05-29 00:56:26 +02:00
966c0edc2e Allow setting track ID 2017-05-27 02:59:47 +02:00
4e9a28aee3 Test linked Matroska files (manually)
Editing linked Matroska files works. The linked
files are treated as individual files. When saving
segment linking is retained and the files aren't
otherwise broken.
2017-05-24 20:01:29 +02:00
32f4c7641c tests: Create cpp file for helper 2017-05-24 19:33:11 +02:00
ae6bd9522c tests: Do not check files converted via ffmpeg 2017-05-24 19:24:09 +02:00
1f1fb4c302 tests: Check tag and index position 2017-05-23 00:52:56 +02:00
9c3f596699 doc: Cross-reference methods for tag/index pos 2017-05-22 23:53:38 +02:00
8f5f61c85e Fix finding termination in ID3v2 description
This check is only to prevent writing bad frame
when given description contains termination
2017-05-21 00:09:09 +02:00