Commit Graph

47 Commits

Author SHA1 Message Date
Martchus 3924b5f56b Test more methods of MediaFileInfo 2017-08-17 18:44:11 +02:00
Martchus c79e0435fe Extend Size class
* Compute resolution
* Get abbreviation, eg. 1080p
2017-08-17 18:18:10 +02:00
Martchus 646fc4d302 Fix TagValue::toInteger() from Latin1/UTF-8 str 2017-06-08 00:48:10 +02:00
Martchus 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
Martchus 5e91661de3 Test TagValue 2017-06-03 21:00:26 +02:00
Martchus b88672e32f Fix compiling tests under 32-bit arch 2017-05-30 23:59:23 +02:00
Martchus 966c0edc2e Allow setting track ID 2017-05-27 02:59:47 +02:00
Martchus 32f4c7641c tests: Create cpp file for helper 2017-05-24 19:33:11 +02:00
Martchus 1f1fb4c302 tests: Check tag and index position 2017-05-23 00:52:56 +02:00
Martchus e925e15533 Improve handling of Unicode and BOM in ID3v2
* Convert UTF-8 text fields automatically to UTF-16
  when version is ID3v2.3 or below
  -> so conversion from ID3v2.4 to ID3v2.3 or below
     doesn't require manual conversion of possibly
     UTF-8 encoded fields
* Don't use magic numbers for ID3v2 encoding byte
* Don't warn about UTF-16 Big Endian with BOM
2017-05-20 23:34:45 +02:00
Martchus 2ed7ea800d Improve overall tests
* Move code for each format in an own file
* Use enum for test mode flags instead of magic
  numbers
2017-05-20 21:19:55 +02:00
Martchus bc306af88e Apply clang-format later 2017-05-01 03:19:44 +02:00
Martchus 1dc9071036 Make crypto optional and document it 2017-04-15 23:21:16 +02:00
Martchus 9a94d5480f Add test to verify testfiles via SHA-256 checksum 2017-04-08 18:40:27 +02:00
Martchus c3394acdb2 Fix typos 2017-03-01 18:21:00 +01:00
Martchus ecb64e0af6 Require latest c++utilities 2017-02-09 16:49:04 +01:00
Martchus b97192abd3 Use std::make_unique provided by C++14 2017-02-05 21:02:40 +01:00
Martchus 541f14039b Make use of string builder 2017-01-27 18:59:22 +01:00
Martchus b4e167bd71 Ease dealing with native field IDs
In particular, this allow conversion from native field IDs
to readible string representation and vice verca
2017-01-23 00:25:53 +01:00
Martchus 477ac9884b Use _wopen under Windows to support unicode filenames 2016-12-21 00:42:31 +01:00
Martchus e9166c19a5 Don't allow using UTF-8 in ID3v1 2016-12-21 00:41:53 +01:00
Martchus 6717062ca2 Allow checking tag position
Only implemented for MP4 so far
2016-11-15 22:48:38 +01:00
Martchus f6d0f3a003 Improve handling of extended MP4 fields 2016-11-14 22:59:19 +01:00
Martchus 66e12abdc2 Declare public dependencies 2016-11-08 20:01:28 +01:00
Martchus ed5dba0408 Add TagValue::operator!=(), improve doc for TagValue 2016-10-20 23:39:02 +02:00
Martchus 0541c08864 Fix detecting static 3rd party libs 2016-08-19 16:18:27 +02:00
Martchus 817a8e25e6 Improve documentation and consistency 2016-08-04 00:16:19 +02:00
Martchus 8663dedf8c Fix misc issues 2016-07-30 22:35:46 +02:00
Martchus 302fc76261 Generate config header in extra module 2016-07-27 21:39:21 +02:00
Martchus b8eb6bf8d7 Find 3rd party libs using new module 2016-07-22 01:36:54 +02:00
Martchus 2c5d463a9f Improve API doc 2016-06-10 23:08:01 +02:00
Martchus a84ac37dbe Add support for raw FLAC streams 2016-05-16 20:56:53 +02:00
Martchus bbafd16dcc Support FLAC in Ogg 2016-05-14 23:20:51 +02:00
Martchus 6c6ab0e301 improved file handling
- don't override backup files
- allow saving files at a different location
- reduce code duplication for restoring backups
2016-05-01 20:02:44 +02:00
Martchus 7010aee0e1 added version constraints 2016-04-25 22:20:35 +02:00
Martchus 1c4db09afa reduce code duplication in build system
- get rid of qmake project file
- provide CMake modules for common tasks
- provide templates for *.desktop files
2016-04-16 00:50:46 +02:00
Martchus b8e8dcd778 fixed some OGG/Vorbis related issues 2016-03-22 22:52:36 +01:00
Martchus 2af5ce997b added tests for Matroska parsing/making 2016-03-15 15:44:44 +01:00
Martchus 5f8a0f6fc2 mingw-w64: build both, shared and static libs 2016-02-27 01:30:21 +01:00
Martchus 488fce3ab8 parsing AVC config 2016-02-17 20:19:05 +01:00
Martchus 8ae2a8268a ensure custom install targets don't conflict
(required when building as subdirectory)
2016-01-21 16:30:47 +01:00
Martchus 240e7d0b42 support Opus in OGG 2016-01-17 19:32:58 +01:00
Martchus 098a0bdef8 added Opus 2016-01-16 17:41:52 +01:00
Martchus 9598ae1f7f removed creation of Windows icon 2016-01-05 17:19:27 +01:00
Martchus fa52b09b68 disable new ABI (can't catch ios_base::failure with new ABI) 2015-12-13 20:44:45 +01:00
Martchus d9c197dcf2 improved project files 2015-12-08 08:38:26 +01:00
Martchus 736f8fc9a7 added simple CMake project file 2015-12-05 22:53:30 +01:00