Commit Graph

66 Commits

Author SHA1 Message Date
Claudio Ortolina 9e57103842 Where possible, link scrobbled artists to artist page 2024-12-10 14:13:50 +03:00
Claudio Ortolina 06fd591e5f Use unicode extension to normalize sorting accented records 2024-12-07 19:38:10 +01:00
Claudio Ortolina 8350ffd3a4 To get artist info, try mbid and then artist name 2024-12-04 21:07:56 +00:00
Claudio Ortolina e1dc2bfc7f Make MusicBrainz user agent configurable 2024-12-04 10:44:31 +00:00
Claudio Ortolina 7575e5978a Extract config for MusicBrainz 2024-12-04 10:33:41 +00:00
Claudio Ortolina 9f2335cfa0 Use correct LastFm api module 2024-12-03 20:14:48 +00:00
Claudio Ortolina 2094c1cf7b Use LastFm.Config where needed 2024-12-03 09:18:55 +00:00
Claudio Ortolina 18df3683fc Render a minimal artist page 2024-12-02 17:35:47 +00:00
Claudio Ortolina 2d721774d6 Can fetch an artist info from Last.fm 2024-12-02 12:40:07 +00:00
Claudio Ortolina b63b3a633a Can fetch records by a specific artist 2024-12-02 10:55: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 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 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 659894aaee Materialize included release group ids 2024-11-17 11:52:47 +00:00
Claudio Ortolina 60b098785b Can refresh musicbrainz_data for collection records 2024-11-15 10:01:53 +00:00
Claudio Ortolina dbdb698ef3 Display count of child release groups 2024-11-14 15:16:19 +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 05d1d648b1 Streamline batch module, removing obsolete functions 2024-11-10 14:27:25 +00:00
Claudio Ortolina bd0336c4a2 Start extracting a Collection context 2024-11-10 13:38:50 +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 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 52a268851a Fix stats queries not to include wishlist 2024-10-22 18:27:44 +01:00
Claudio Ortolina 4213f24ab8 Enable edit/delete/import records in the wishlist 2024-10-21 18:51:26 +01:00
Claudio Ortolina 874fd921ec Fix collection search to include only purchased records 2024-10-21 16:43:41 +01:00
Claudio Ortolina 6d2d86a82f Move MusicBrainz code to top-level namespace 2024-10-20 15:38:17 +01:00
Claudio Ortolina 28609dcf87 Display latest purchase in stats page 2024-10-19 19:46:39 +01:00
Claudio Ortolina 54f8da81b6 Insert default purchased_at date when importing a record 2024-10-19 19:22:43 +01:00
Claudio Ortolina 7a0d017965 Support filtering by type 2024-10-14 22:30:14 +01:00
Claudio Ortolina e0095909eb Enable search by format 2024-10-14 09:01:51 +01:00
Claudio Ortolina fd03f9450a Make search via mbid:* match on artist mbid 2024-10-10 22:06:12 +01:00
Claudio Ortolina 201c2edc01 Enable tagged search 2024-10-10 10:02:26 +01:00
Claudio Ortolina 11a8149bcc Store MusicBrainz release group data on records 2024-10-07 08:36:56 +01:00
Claudio Ortolina 2c3babdf13 Normalize music_brainz -> musicbrainz spell 2024-10-07 08:27:47 +01:00
Claudio Ortolina a72236449d Extract musicbrainz behaviour and impl 2024-10-05 20:30:18 +01:00
Claudio Ortolina e7fc335251 Correctly return 404s in /images endpoint 2024-10-03 16:14:27 +01:00
Claudio Ortolina 8e881fb546 Fix missing artist names in record list 2024-10-03 13:18:38 +01:00
Claudio Ortolina 62d792a244 Show record count by format in stats dashboard 2024-10-02 21:26:21 +01:00
Claudio Ortolina 1e0d5486e0 Rename image* to cover* 2024-10-02 16:33:42 +01:00
Claudio Ortolina 024d95da7c Use release instead of year 2024-10-02 14:22:22 +01:00
Claudio Ortolina 82b1f12f99 Avoid loading image-related fields when not necessary
Image data and url are only necessary when loading the image, which is
done exclusively via the /images endpoint. Most other read queries can
safely exclude them, and rely only on the hash as a cache key.
2024-10-01 12:26:27 +01:00
Claudio Ortolina 9b7429dd9f Store image hashes in the db - part 2 2024-09-30 20:20:32 +01:00