Commit Graph

123 Commits

Author SHA1 Message Date
Claudio Ortolina eda0245c2c Format code 2024-12-02 09:38:20 +00:00
Claudio Ortolina 3733ef74ba Add batch function to remove artist IDs 2024-12-02 09:37:00 +00:00
Claudio Ortolina 228b4bc440 Use musicbrainz_id as a key for embedded artists 2024-12-02 09:23:13 +00:00
Claudio Ortolina cf51cab7ce Add basic test for Records.Cover module 2024-11-29 22:08:40 +00:00
Claudio Ortolina 010c769b55 Stream 50 rows at a time for batch operations 2024-11-29 10:00:18 +00:00
Claudio Ortolina cb0e06d603 Add batch operation to resize covers with incorrect sizes 2024-11-28 17:15:12 +00:00
Claudio Ortolina 6339196b17 Search by genre
Can also click on genres in detail views.
2024-11-26 13:35:15 +00:00
Claudio Ortolina f0212eeb6f Consolidate cover resize logic
Moves resizing out of the MusicBrainz namespace to Records - which
improves division of responsibilities, and removes double resizing
during import.
2024-11-26 08:35:16 +00:00
Claudio Ortolina 148f68fbf3 Add function to resize cover data in place 2024-11-25 11:26:34 +00:00
Claudio Ortolina bbfafbe519 Document search index schema 2024-11-23 12:28:06 +00:00
Claudio Ortolina 2e2000fe01 Introduce separate search index
Uses a fts5 virtual table, kept up to date via triggers on the records
table.
2024-11-22 19:37:13 +00:00
Claudio Ortolina c97064fd70 Update fallback cover art
Track the file inside the Record module to aid recompilation
2024-11-21 18:33:44 +00:00
Claudio Ortolina 4581666282 Don't apply fallback cover when refreshing it
So that we don't accidentally override a user-uploaded cover with the
fallback one.
2024-11-21 17:57:49 +00:00
Claudio Ortolina 09f3563134 Can refresh cover for a record in the collection 2024-11-19 11:28:50 +00:00
Claudio Ortolina cc1d2e3b0f Increase stored cover size to 600px
Doesn't affect existing covers
2024-11-19 11:28:50 +00:00
Claudio Ortolina 87cd668a33 Populate release_ids and included_release_groups when record is created 2024-11-18 15:34:16 +00:00
Claudio Ortolina 659894aaee Materialize included release group ids 2024-11-17 11:52:47 +00:00
Claudio Ortolina e35e0894bf When refreshing MusicBrainz Data, update the relevant release IDs 2024-11-16 14:56:15 +00:00
Claudio Ortolina 60b098785b Can refresh musicbrainz_data for collection records 2024-11-15 10:01:53 +00:00
Claudio Ortolina ac6b398afc Improve ergonomics of batch operations on entire database
Use a stream for better memory management, and return IDs for records
which haven't been processed correctly.
2024-11-14 22:15:31 +00:00
Claudio Ortolina d7fd14c7ab Show included release groups in record show page 2024-11-14 19:11:41 +00:00
Claudio Ortolina dbdb698ef3 Display count of child release groups 2024-11-14 15:16:19 +00:00
Claudio Ortolina cd106fe34f Can refresh musicbrainz_data of a single record 2024-11-14 14:29:16 +00:00
Claudio Ortolina 96b1b47a4a Set default for record release_ids 2024-11-13 12:04:43 +00:00
Claudio Ortolina 80f945555c Add status for each track in the scrobble activity 2024-11-13 11:55:58 +00:00
Claudio Ortolina a0947b07f3 Add batch task to update release IDs 2024-11-12 15:01:17 +00:00
Claudio Ortolina 97c7be7b0c Store release ids when importing a record 2024-11-12 15:01:17 +00:00
Claudio Ortolina bd8f4cc979 Define essential record fields 2024-11-10 16:27:15 +00:00
Claudio Ortolina 0e05c3cfa9 Refactor record building into Record 2024-11-10 16:18:24 +00:00
Claudio Ortolina 6fa3e72a3f Use a map instead of 4 arguments 2024-11-10 16:10:38 +00:00
Claudio Ortolina dfe2f288ab Remove unused import 2024-11-10 14:28:54 +00:00
Claudio Ortolina 05d1d648b1 Streamline batch module, removing obsolete functions 2024-11-10 14:27:25 +00:00
Claudio Ortolina 5d5f9babe1 Use full module name for Clarity 2024-11-10 14:13:44 +00:00
Claudio Ortolina a9d139b243 Rename Importer to Batch 2024-11-10 14:13:00 +00:00
Claudio Ortolina f10f68839a Fix pool name in import function 2024-11-10 14:09:20 +00:00
Claudio Ortolina bd0336c4a2 Start extracting a Collection context 2024-11-10 13:38:50 +00:00
Claudio Ortolina f2698ff626 Add task to refresh musicbrainz data 2024-11-09 18:51:25 +00:00
Claudio Ortolina 47e738eeab Distinguish importing functions 2024-11-08 19:38:02 +00:00
Claudio Ortolina 0fd12ce44a Can wishlist a scrobbled record 2024-11-08 19:36:05 +00:00
Claudio Ortolina d8b7efeebc Use dedicated http client pool for MusicBrainz 2024-11-07 21:06:23 +00:00
Claudio Ortolina 18ae8b7866 Refactor last_fm configuration
Move all configuration outside of the LastFm module, so that it's not
polluted with references to the parent music_library application.
2024-11-06 12:09:38 +00:00
Claudio Ortolina 74a11ca10f Prevent importing the same record twice 2024-11-05 11:40:01 +00:00
Claudio Ortolina 7139e0ad8f Render recently scrobbled tracks in stats 2024-11-04 12:04:13 +00:00
Claudio Ortolina d818cdbae5 Don't run LastFm.Feed in tests 2024-11-04 09:45:05 +00:00
Claudio Ortolina 1abcc5e6ad Add LastFm feed for a given user 2024-11-04 09:17:01 +00:00
Claudio Ortolina 4c57f47bca Move sorting to db query 2024-11-01 19:04:40 +00:00
Claudio Ortolina 9f2acc4e5d Make records ordering case insensitive
So that "iamthemorning" gets slotted in the right place
2024-10-31 12:49:04 +00:00
Claudio Ortolina bd84e7e2b3 Remove unused functions 2024-10-31 08:31:01 +00:00
Claudio Ortolina 976169d6f5 Remove unused functions 2024-10-26 23:13:13 +01:00
Claudio Ortolina bb74057c31 Include wishlist count in stats page 2024-10-22 18:29:51 +01:00