Commit Graph

122 Commits

Author SHA1 Message Date
Jonas Kvinge 3ab86543ad Add support for saving playcounts and ratings to tags 2021-10-24 16:08:17 +02:00
Jonas Kvinge ddfc9d911b Extend unit tests 2021-09-26 01:15:17 +02:00
Jonas Kvinge d2d7f32c45 Add new method for updating songs based on song ID
Show status updating database.

Fixes #750
2021-09-19 15:43:36 +02:00
Jonas Kvinge d35d3aabc3 Show error dialog for failed SQL queries 2021-09-09 21:45:46 +02:00
Jonas Kvinge 6ede400f3a CMakeLists.txt formatting 2021-08-07 03:02:36 +02:00
Jonas Kvinge 7ce922b084 Simplify CMake by using macros 2021-07-30 21:17:50 +02:00
Jonas Kvinge fc8ec6d7fa Replace INSTANTIATE_TEST_CASE_P with INSTANTIATE_TEST_SUITE_P 2021-07-12 05:51:01 +02:00
Jonas Kvinge c6da0864f2 Use std::make_shared 2021-07-11 19:57:18 +02:00
Jonas Kvinge 10fc6b4562 Fix tagreader test compile error with tagparser 2021-07-11 19:56:21 +02:00
Jonas Kvinge 2a7312f2b4 Fix tagreader test 2021-07-07 23:46:21 +02:00
Jonas Kvinge cd82b0a669 Fix spelling and typos 2021-07-02 18:45:53 +02:00
Jonas Kvinge b9f3f80d50 Use std::make_unique / std::make_shared 2021-07-01 02:02:02 +02:00
Jonas Kvinge 32729174bb Make CollectionModelTest constructor public 2021-07-01 02:02:02 +02:00
Jonas Kvinge 2cf6fe8da7 Fix ConcurrentRunTest 2021-07-01 02:02:02 +02:00
Jonas Kvinge 215057ce6f Remove unneeded get() 2021-06-22 14:04:42 +02:00
Jonas Kvinge 8c2b907ff5 Make static 2021-06-22 14:04:42 +02:00
Jonas Kvinge ed09627fdb Use std::make_unique 2021-06-21 15:40:44 +02:00
Jonas Kvinge 589bdf5dcd Use default 2021-06-21 15:40:44 +02:00
Jonas Kvinge e1bf4347ab Fix uninitialized variables 2021-06-20 23:53:28 +02:00
Jonas Kvinge 1295033fae Clang-Tidy and Clazy fixes 2021-06-20 19:04:08 +02:00
Jonas Kvinge 8699790e78 Always call QFutureWatcher::setFuture after connects 2021-06-16 00:30:21 +02:00
Jonas Kvinge e0c57e77a9 Disable failed tagreader checksum test 2021-03-13 15:28:51 +01:00
Jonas Kvinge 9723c3606a Remove BUILD_TESTS cmake option 2021-03-13 15:18:38 +01:00
Jonas Kvinge 32b94555c3 Remove 3rdparty taglib 2021-02-27 16:55:41 +01:00
Jonas Kvinge 133f094d72 Add support for saving embedded album covers
Fixes #286
2021-02-26 21:03:51 +01:00
Jonas Kvinge 193cf1c750 Rename protobuf namespace
Fixes #654
2021-02-20 17:06:55 +01:00
Jonas Kvinge 88874f0dcd Remove NewClosure 2021-01-30 21:53:53 +01:00
Jonas Kvinge bf7c8df353
Connection syntax migration (#637) 2021-01-26 16:48:04 +01:00
Jonas Kvinge 4dcd3e95df Append album ID to collection model container nodes 2021-01-08 22:35:07 +01:00
Jonas Kvinge 335ba1a5b0 Disable tagreader checksum tests
These don't match anymore because tags are now removed.
2020-11-15 12:17:35 +01:00
Jonas Kvinge 23ee17594d Simplify CMake Qt 2020-10-27 20:54:25 +01:00
Jonas Kvinge f7c666584e Remove debug line 2020-10-21 21:33:26 +02:00
Jonas Kvinge 6834324de2 Add more unit tests for organizeformat 2020-10-21 21:32:30 +02:00
Jonas Kvinge 6c50077409 Fix concurrentrun test 2020-10-19 22:33:08 +02:00
Jonas Kvinge 06746449a1 Disable TestContainerNodes 2020-10-19 22:32:50 +02:00
Jonas Kvinge b6693a71f9 Rename initialise to initialize 2020-10-17 17:29:09 +02:00
Jonas Kvinge ae6a50626d Change Qt 5/6 option 2020-10-01 19:43:39 +02:00
Jonas Kvinge 0b7b4c12e4 Add test for collection model container nodes 2020-09-10 22:13:20 +02:00
Jonas Kvinge 4056f00169 Only initialize translations in test when compiled with translations 2020-09-10 22:11:40 +02:00
Jonas Kvinge ba89e0f4e3 Fix MockPlaylistItem 2020-08-12 20:03:45 +02:00
Jonas Kvinge 459404e3f0 Rename organise to organize
Prefer US spelling
2020-08-04 21:18:14 +02:00
Jonas Kvinge 3ff4885973 Fix reading ASF comment tag 2020-08-03 21:03:14 +02:00
Jonas Kvinge f9d45f7657 Fix reading and saving MP4 lyrics tag 2020-08-03 20:44:25 +02:00
Jonas Kvinge 0b7b7656b2 Replace use of QRegExp 2020-07-20 00:57:42 +02:00
Jonas Kvinge f5b245c72d Add option to compile with Qt 6 2020-07-18 04:47:54 +02:00
Jonas Kvinge 4307183817 Fix utilities test 2020-07-18 04:32:37 +02:00
Jonas Kvinge 89b15e3b57 Add taglib include dirs to unit test CMake file 2020-07-13 22:53:32 +02:00
Jonas Kvinge c5ae64070e Add some include and link directories to unit test CMake
Fixes unit tests compile on macOS
2020-07-13 22:28:39 +02:00
Jonas Kvinge 5b5f048faf Add missing taglib test files 2020-07-13 00:12:15 +02:00
Jonas Kvinge 5f54cdee0f Add new tagreader tests 2020-07-10 20:41:37 +02:00
Jonas Kvinge c2bd452391 Fix playlist shuffle test, current index will never be at the end 2020-07-10 17:06:20 +02:00
Jonas Kvinge e143a6d126 Enable playlist model tests 2020-07-08 20:52:50 +02:00
Jonas Kvinge aba7d2b6a4 Fix mock_playlistitem.h 2020-07-08 18:22:12 +02:00
Jonas Kvinge 2fc6f835a8 Update sqlite test to use FTS5 instead of FTS3 2020-07-08 17:46:04 +02:00
Jonas Kvinge 5f71a558b9 Adapt most changes from taglib2 2020-06-26 23:30:30 +02:00
Jonas Kvinge f1115ba706 Remove explicit twice 2020-06-26 22:43:46 +02:00
Jonas Kvinge dc36aee7ff Change some explicit usage 2020-06-26 22:41:38 +02:00
Jonas Kvinge 740f9581e6 Change 0 to nullptr 2020-06-26 22:06:23 +02:00
Jonas Kvinge 651020388d Use override 2020-06-15 21:55:05 +02:00
Jonas Kvinge bfa9a1eb8a Fix tests
Fixes #440
2020-05-16 19:17:06 +02:00
Jonas Kvinge a1eadecdef Fix compile warnings in tests 2020-04-23 21:01:34 +02:00
Jonas Kvinge ac40094d37 Update CMakeLists.txt files 2020-04-23 20:59:09 +02:00
Jonas Kvinge c69fff52cc Remove useless using std 2020-04-20 17:49:06 +02:00
Jonas Kvinge fd6afdf5f3 Extend url test 2019-11-25 22:30:33 +01:00
Jonas Kvinge 7039234471 Fix compile collection model test 2019-11-25 00:35:16 +01:00
Jonas Kvinge f7f9333d91 Add collection backend url tests 2019-11-25 00:34:59 +01:00
Jonas Kvinge 793901b319 Revert accidental change to flac test file 2019-10-28 00:05:29 +01:00
Jonas Kvinge e800b236aa Simplify the pipeline
Fix issue where bitrate is updated incorrectly by stream discoverer
Fixes issue #282
Also make it possible to enable stereo balancer without enabling the
equalizer
2019-10-27 23:48:54 +01:00
Jonas Kvinge 04898a3b01 Add Ogg Vorbis test audio file 2019-09-09 21:47:39 +02:00
Jonas Kvinge c5b78dde04 Convert remaining foreach to C++11 for loops 2019-09-09 00:53:05 +02:00
Jonas Kvinge d199a2be0d Fix typos and spelling 2019-08-22 18:45:32 +02:00
Jonas Kvinge 60bd90848b
Add tests (#193) 2019-06-28 01:33:22 +02:00