Commit Graph
501 Commits
Author SHA1 Message Date
emeric ed1be02aaf Added a scan tracker to speed up queries with high offset in very large database 2024-03-17 23:36:40 +01:00
emeric fef4a90ce0 Added build type in trace metadata 2024-03-15 23:23:12 +01:00
emeric 0f37daaa30 Completely removed the transaction checker in release (which was here but as a noop checker) 2024-03-15 16:26:59 +01:00
emeric 28405bb96e Added a scope around actual write transactions 2024-03-15 12:24:25 +01:00
emeric db692260a2 Do not process the metadata parsing results till the queue is empty, to avoid starvation of the workers 2024-03-15 00:02:28 +01:00
emeric 03425f3c94 Made the last scan step (checking for removed files) faster on big libraries 2024-03-14 23:21:30 +01:00
emeric 071b86602e Added an index on track(id) as it seems to speed up things when db is cold 2024-03-14 14:17:00 +01:00
emeric e4ad0a5406 Do not attempt extra data fetch when hitting the end of a query 2024-03-14 13:51:28 +01:00
emeric a769909ebc Removed useless new line 2024-03-14 00:18:36 +01:00
emeric a37b7a42da Fixed clang warnings 2024-03-14 00:16:18 +01:00
emeric 4c4bef266a Fixed clang warnings 2024-03-14 00:16:03 +01:00
emeric 63651de4bb Fixed clang warning 2024-03-13 23:56:08 +01:00
emeric 41992f235e Reworked internal namespaces 2024-03-12 23:11:29 +01:00
emeric 9da781cff6 Fixed badly reported offset when hitting the end of the collection 2024-03-12 13:40:32 +01:00
David Roman 4ea6d0dd09 use cmake lib dir instead of hardcoded name 2024-03-12 13:08:30 +01:00
emeric d876a2df0c Switched to LiteralString for keys in subsonic responses 2024-03-12 13:08:30 +01:00
emeric 4b7c4295ec Refactored namespaces 2024-03-12 08:32:08 +01:00
David Roman bc03408b99 Fix assertion
Closes: #431
2024-03-11 20:50:31 +01:00
emeric 487960b413 Switched to LiteralString for keys in subsonic responses 2024-03-10 15:28:16 +01:00
emeric c6ae3fe3fa Renamed profiling to tracing 2024-03-10 12:21:01 +01:00
emeric 47ef5f7cc7 Added some detailed profiling info into subsonic responses handlers 2024-03-09 22:39:07 +01:00
emeric fa9844810d Added some detailed profiling info for the http send queue 2024-03-09 22:23:41 +01:00
emeric 9c8844d866 Added some thread names 2024-03-09 22:23:02 +01:00
emeric 65d95060b0 Added a way to set thread name in profiling captures 2024-03-09 22:22:15 +01:00
emeric 88580a8903 Fixed race 2024-03-09 20:23:58 +01:00
emeric 15b4a4601e Removed unnecessary write access to the DB 2024-03-09 19:22:06 +01:00
emeric d6fd95ab44 Added some profiling events for subsonic API (media retrieval) 2024-03-09 19:14:13 +01:00
emeric f072f171d8 Added some profiling events for the subsonic API 2024-03-09 19:02:02 +01:00
emeric bdd678f168 Added some profiling events for scanner 2024-03-09 18:58:52 +01:00
emeric 3155be0732 Added some profiling events in DB 2024-03-09 18:57:45 +01:00
emeric f36f176a8b Added a simple profiler that uses trace event format 2024-03-09 18:45:00 +01:00
emeric 41b944040c Added LiteralString helper class 2024-03-09 18:35:36 +01:00
emeric 2e4947dd42 Always use the provided custom delimiters to split tags 2024-03-06 18:50:25 +01:00
emeric 8c3dfd7a2f Fixed moods parsed as genres, fixes #429 2024-03-04 16:32:05 +01:00
emeric a0344377d1 Fixed disc subtitle parsing (bad format used to parse) 2024-03-03 22:19:52 +01:00
emeric 1b8d4f2413 Added a way to play tracks per disc, fixes #423 2024-03-03 17:27:40 +01:00
emeric ba180ea847 Added release_group_mbid field to listenbrainz, fixes #416 2024-03-02 23:47:23 +01:00
emeric b45513a611 Added album sort name in subsonic responses, fixes #419 2024-03-02 23:05:20 +01:00
emeric f20db00417 Refresh only last login time when necessary (avoid hammering the db, ref #420) 2024-03-02 18:11:03 +01:00
emeric ca3ba749fe CodeFactor review 2024-03-02 00:23:23 +01:00
emeric 3a64f721f0 Restored Grouping tag parsing 2024-03-02 00:22:23 +01:00
emeric a6d11f4b4b Added a way to set custom tag delimiters for artists and for other fields, fixes #417 2024-03-01 23:58:49 +01:00
emeric 194b9981c1 Removed migration from v32 (badly implemented) 2024-02-11 15:29:10 +01:00
emeric d20b02fc33 Send display artist name for the scrobbled track (instead of the first artist) 2024-02-11 15:18:46 +01:00
emeric 6b1fd9c841 Significantly improved scanner performance (now have a dedicated pool of threads for scanning file metadata) 2024-02-10 18:39:55 +01:00
emeric a64a2de52e Fixed bad testU 2024-02-05 13:35:16 +01:00
emeric 889096190a Do not use DISTINCT on track queries, as this is useless and slowdowns queries 2024-02-05 11:22:58 +01:00
emeric 01538166ed Fixed bad MediaLibrary::getCount() 2024-02-05 11:21:15 +01:00
emeric c242b4c01e Fixed bad migrations due to NULL constraints. fixes #413 2024-02-04 20:35:46 +01:00
emeric 9090cc64a9 Merge branch 'benchmarks' into develop 2024-02-03 14:58:13 +01:00