Commit Graph
100 Commits
Author SHA1 Message Date
emeric 1f282c0517 Removed the database lib from services as it is still not a service 2023-11-26 17:38:44 +01:00
emeric 74a222ed54 Use the scrobbling service to get listen count rathen than querying the db directly 2023-11-26 17:28:15 +01:00
emeric d9c5072479 Docker image: Upgraded Wt to fix potential concurrency problems 2023-11-25 20:13:09 +01:00
emeric 66564f2d60 CodeQL review 2023-11-25 17:00:24 +01:00
emeric 3ac4b014f7 CodeFactor review 2023-11-25 16:17:33 +01:00
emeric acea515de5 Added playcount in track/release info windows ref #349 2023-11-25 16:11:35 +01:00
emeric ece1d4e3d2 Refactored how filter tags are handled in the scan settings 2023-11-25 15:52:21 +01:00
emeric b4107be599 Subsonic API: fixed getBookmarks 2023-11-24 17:30:48 +01:00
emeric 9060c0d925 Simplified logger configuration, it no longer depends on Wt 2023-11-24 16:23:31 +01:00
emeric 6f47c32ac2 Silent warnings 2023-11-20 22:31:07 +01:00
emeric b3acdbcb89 Fixed bad content type in case of uppercase file extension 2023-11-20 13:29:57 +01:00
emeric 6d4808d192 Added a missing escape statement that broke some album merges 2023-11-20 11:50:17 +01:00
emeric b02021ac8f Fallback on same album name only if in the same directory. fixes #370 2023-11-20 09:51:11 +01:00
emeric b68b3ce0a6 Scanner: fixed bad total step count 2023-11-19 23:22:34 +01:00
emeric 592ffea88c Merge branch 'scanner-shutdown' into db-locks 2023-11-19 18:01:44 +01:00
emeric 17a2a969e2 Reduced exclusive lock durations 2023-11-19 16:17:27 +01:00
emeric 575fec5727 Removed some useless intermediate queries 2023-11-17 20:43:04 +01:00
emeric f2515edc8b Optimized the way we count albums for artists 2023-11-17 08:57:08 +01:00
emeric 0cc73ca022 Config service may not be here (unit tests) 2023-11-17 08:44:41 +01:00
emeric 60bb6170e2 Added a param to show the underlying db queries 2023-11-17 08:36:20 +01:00
emeric d7451e5393 Added a param to set the release batch size 2023-11-17 08:35:33 +01:00
emeric b4e515f825 Made scanner abort faster when it has to clean a lot of stuff 2023-11-14 13:47:08 +01:00
emeric 9cfc47fc82 Fixed freebsd build 2023-11-14 13:25:17 +01:00
emeric 83347e82fa Added accept-ranges header, ref #367 2023-11-13 20:54:05 +01:00
emeric 53623f18bb Merge branch 'master' into develop 2023-11-13 16:07:59 +01:00
emeric d6fc923c4a CodeFactor review 2023-11-13 13:41:08 +01:00
emeric 28a80b3c9d Subsonic API: added a per-user setting to enable transcoding by default (breaking change: default is disabled). fixes #351, ref #367 2023-11-13 11:45:12 +01:00
emeric 9e2040b449 Some more renaming 2023-11-13 09:25:22 +01:00
emeric 87d70465e9 Renamed some transcoding stuff + now retrieve decoder codecs 2023-11-12 20:51:42 +01:00
emeric 53943c4118 Fixed bitrate detection for av parser 2023-11-12 14:46:44 +01:00
emeric 07949de20f Subsonic API: removed useless auth 2023-11-11 23:45:03 +01:00
emeric 6d50783511 Subsonic API: make use of the bitrate info in DB to check if transcoding is needed 2023-11-11 23:28:40 +01:00
emeric ebc59dd70c Subsonic API: added contentType and transcodedContentType fields, fixes #363 2023-11-11 22:54:27 +01:00
emeric 1d21ba41b7 Subsonic API: added bitrate support, ref #363 2023-11-11 15:13:46 +01:00
emeric afcb4d96ca Subsonic API: bumped server version 2023-11-10 23:25:18 +01:00
emeric 1b2cfb2f79 Raised internal buffers to speed up transfers 2023-11-10 23:08:27 +01:00
emeric e59660021a Merge branch 'fix-mimetype-subsonic-api' into develop 2023-11-10 21:00:57 +01:00
emeric 636b70450b Simplified the similarity engine loading (since there is no more the features-based engine) 2023-11-10 20:59:25 +01:00
emeric 8ea532fa26 Added a release generator tool to stress test everything 2023-11-10 18:11:24 +01:00
emeric b7a8bf85b8 Rework db range primitives + fixed bug when playing all in releases/tracks views + raised limit to 1000 for ranges in subsonic API 2023-11-10 16:17:18 +01:00
emeric bd61093898 Subsonic API: now returns 404 when the requested cover art is not found (but a client list has been added to serve them a default cover art) 2023-11-08 23:43:50 +01:00
emeric 475519f19e Subsonic API: improved error message 2023-11-08 23:31:13 +01:00
emeric b89dfba089 Subsonic API: limit size parameter to 500 for various methods 2023-11-08 22:47:41 +01:00
emeric 121d27b5cd Subsonic API: cached cluster stats for track and releases, in order to make the getGenre entrypoint efficient on large databases 2023-11-08 20:26:24 +01:00
emeric c2e1c5d9df Fixed bad optimize condition 2023-11-08 20:16:31 +01:00
emeric 6bb6dd6add Added some foreachSubRange 2023-11-08 13:53:27 +01:00
emeric 504dfa86a9 Subsonic API: fixed missing mimetype for raw files 2023-11-07 23:51:04 +01:00
emeric 4bc5aee986 Subsonic API: added a small utility to bench search3 endpoint 2023-11-07 23:20:47 +01:00
emeric 3bce54a764 Merge branch 'master' of github.com:epoupon/lms 2023-11-04 22:11:26 +01:00
emeric 89a98784b2 Merge branch 'develop' for release v3.43.0 2023-11-04 22:09:46 +01:00
emeric a04b6f5789 Fixed typo 2023-11-04 21:50:30 +01:00
emeric cc2e9dee45 Added more logs to track issue ref #355 2023-11-04 21:50:12 +01:00
emeric d9f3a16de0 Updated README 2023-11-04 21:49:05 +01:00
emeric 48ee8e3556 SubsonicAPI: optimized search for artists 2023-11-04 19:07:21 +01:00
emeric bd59dc3bc9 SubsonicAPI: optimized search for tracks 2023-11-04 17:36:59 +01:00
emeric c4d2d20447 SubsonicAPI: optimized search for albums 2023-11-04 16:15:39 +01:00
emeric 4089f07c16 Subsonic API: added playCount 2023-11-03 16:05:02 +01:00
emeric 083652e293 Speed up searches when one cluster filter is active 2023-11-03 12:43:56 +01:00
emeric 9ff1b215c2 Split the search view in order to workaround the scroll visibility issue 2023-11-03 09:12:19 +01:00
emeric e339a42883 Do not report OpenSubsonic extra fields for selected legacy clients. This made DSub behave badly. fixes #356 2023-11-02 23:13:41 +01:00
emeric 679d3d358c Subsonic API: bumped licence expiration 2023-11-02 23:09:22 +01:00
emeric 72ec58dd94 Switched from accurate to average to speed up scans 2023-11-02 19:04:09 +01:00
emeric 2acba9d0cc Remove unnecessary joins 2023-11-02 17:18:44 +01:00
emeric 8b35e61c7d Subsonic API: do not block the whole application while handling a getArtist. But this is really best effort as it is way too long 2023-11-02 16:10:12 +01:00
emeric fa11a1df9b Raised analysis_limit from 1000 to 2000 as 1k is not enough to speed up all queries (ex. sort artists by last write) 2023-11-02 15:03:05 +01:00
emeric 0801914290 Try to optimize when closing the sqlite connection 2023-11-02 14:56:31 +01:00
emeric e0ed182784 Optimize database during scan to ease very large DB imports 2023-11-02 14:55:27 +01:00
emeric 1be04b6e76 Remove duplicated index creation 2023-11-02 14:29:15 +01:00
emeric e78f436d9a Fixed search that may add infinite stuff 2023-11-02 14:27:14 +01:00
emeric 3697c809d3 Added missing index to speed up the recently added views 2023-11-02 13:43:38 +01:00
emeric ac556bb95a Added a way to disable the similarity engine 2023-11-02 09:57:51 +01:00
emeric 33140ed20f Added a debug log to help understand bottlenecks 2023-11-01 23:57:38 +01:00
emeric 3c9c7c6330 Removed useless debug log 2023-11-01 23:56:55 +01:00
emeric 414ad1862e Added UUID random generation 2023-11-01 23:56:13 +01:00
emeric 2910be8a9a Similarity by clusters: removed duplicates in the list of clusters to search 2023-11-01 23:55:24 +01:00
emeric 88004c01f2 Properly clone the sqlite3 connection 2023-11-01 23:53:44 +01:00
emeric 100192b126 Merge branch 'develop' into feedback-service 2023-10-31 13:48:41 +01:00
emeric 069470194b Separated feedback services (stars / love for LB) from scrobbling services, to ease last.fm integration 2023-10-31 13:37:14 +01:00
emeric c3e5cb4300 Merge branch 'develop' for release v3.42.1 2023-10-30 10:18:46 +01:00
emeric 383fbb8098 Fixed json output, fixes #348 2023-10-30 09:37:01 +01:00
emeric 421519cdc6 Merge branch 'develop' for release v3.42.0 2023-10-22 14:26:02 +02:00
emeric 3920c36896 Merge branch 'new-json-parser' into develop 2023-10-22 13:36:10 +02:00
emeric 43131d391e Set pragma analysis_limit per connection 2023-10-22 11:49:42 +02:00
emeric 73f7a75aa6 fixed build 2023-10-22 00:32:50 +02:00
emeric 17efc2759a Made database optimization faster using pragma analysis_limit 2023-10-22 00:26:11 +02:00
emeric 7d9b5a7084 More constness 2023-10-22 00:19:03 +02:00
emeric 61e0931a82 Fixed output bug for values, added some optims 2023-10-21 14:45:39 +02:00
emeric 07f58b3d10 Avoid a useless request 2023-10-21 00:00:36 +02:00
emeric d86260ba2d Replaced Json parser with a custom one (optims+compact output) 2023-10-20 15:22:00 +02:00
emeric 4562e0368a When max similarity count is set to 0, return nothing instead of everything 2023-10-18 13:41:09 +02:00
emeric c5d26a7647 OpenSubsonic API: bumped version since stream endpoint handling changed 2023-10-17 20:48:32 +02:00
emeric 079f7922b4 OpenSubsonic API: added support for 'played' fields 2023-10-16 23:27:29 +02:00
emeric 6a3783a4ba Subsonic API: try to not transcode if the requested format/max bitrate is compatible with the actual file 2023-10-15 20:49:34 +02:00
emeric fbdc15bd5c Subsonic API: put artist display name instead of a comma separated list 2023-10-15 18:44:41 +02:00
emeric 8780bbdffa Subsonic API: try to recognize some formats in stream endpoint (mp3, opus, vorbis) 2023-10-15 15:42:09 +02:00
emeric 806599dedb Do not display the original release date when the year is the same as the actual release date 2023-10-15 13:59:56 +02:00
emeric d2956df4cc Handle artist display names 2023-10-14 19:22:13 +02:00
emeric 76290768bb OpenSubsonic API: return OS fields on error 2023-10-12 22:38:06 +02:00
emeric 62655dd36c Merge branch 'develop' for release v3.41.0 2023-10-11 20:33:20 +02:00
emeric 961b52f124 Fixed CodeCL warnings 2023-10-11 11:29:37 +02:00