Commit Graph

150 Commits

Author SHA1 Message Date
Claudio Ortolina ea9f8ca9a3 Remove record notes 2025-09-07 15:07:01 +03:00
Claudio Ortolina 45134d3f96 Add notes field to records 2025-09-05 14:53:06 +03:00
Claudio Ortolina dc77d337c0 Migrate from embedded covers to assets 2025-09-01 16:20:41 +03:00
Claudio Ortolina 064ece03f3 Show how many years ago for "On this day" records 2025-08-29 13:09:27 +03:00
Claudio Ortolina eea0e63ea8 Account for single quotes in search strings
According to the SQlite docs:

Strings that include any other characters must be quoted. Characters
that are not currently allowed in barewords, are not quote characters
and do not currently serve any special purpose in FTS5 query expressions
may at some point in the future be allowed in barewords or used to
implement new query functionality. This means that queries that are
currently syntax errors because they include such a character outside of
a quoted string may be interpreted differently by some future version of
FTS5.
2025-08-28 09:44:00 +03:00
Claudio Ortolina df4ca83aeb Add ability to rotate dominant colors 2025-08-27 21:11:13 +03:00
Claudio Ortolina 2df5e7ee1d Show wishlisted date for wishlisted records 2025-06-14 12:58:47 +03:00
Claudio Ortolina 569f8b5340 Distinguish between color extraction strategies
By default, use fast color sampling. Run heavy edge weighted extraction
only on demand.
2025-06-08 07:43:07 +01:00
Claudio Ortolina 96ceb5c7f6 Switch to edge-weighted color extraction algo 2025-06-07 21:53:47 +01:00
Claudio Ortolina c5e47cbc8c Display dominant colors from the db 2025-06-07 20:07:23 +01:00
Claudio Ortolina 8a2fda5f73 Increase sample rate to get a more faithful set of colors 2025-06-07 19:43:54 +01:00
Claudio Ortolina ccb3089ddf Experiment: show dominant colors in collected record details page 2025-06-07 14:36:29 +01:00
Claudio Ortolina fd997e853f Update artists when refreshing MusicBrainz data 2025-06-04 15:57:25 +01:00
Claudio Ortolina 27c1cc0eda Import artist joinphrase 2025-06-03 18:16:47 +01:00
Claudio Ortolina 669b144c55 Find last listened track based on title and artist as well 2025-06-03 18:05:23 +01:00
Claudio Ortolina 676c2e4290 Enable quokka with :module_directives rule 2025-05-28 19:41:57 +01:00
Claudio Ortolina b6c554af34 Display rich release summary in form and details 2025-05-25 08:45:38 +01:00
Claudio Ortolina ee808fb041 Add ability to refresh musicbrainz data async 2025-05-24 18:04:20 +01:00
Claudio Ortolina b44693b022 Move Artist and ArtistInfo under Artists context 2025-05-23 20:11:57 +01:00
Claudio Ortolina d38fcd6fee Account for no artist country or area 2025-05-21 22:35:45 +01:00
Claudio Ortolina 051c6195b5 Harden release label display 2025-05-18 20:57:17 +01:00
Claudio Ortolina 083b245862 Fallback to country when areas have no country data 2025-05-16 10:25:22 +01:00
Claudio Ortolina 80ec4336f6 Account for artist info areas having iso-3166-2-codes 2025-05-09 11:27:47 +01:00
Claudio Ortolina ebaaa8d95b Sort releases in edit form select 2025-05-07 15:01:30 +01:00
Claudio Ortolina 0952bcd399 Use strftime to format date and datetimes 2025-05-04 17:23:33 +01:00
Claudio Ortolina cfe357239b Refactor to move record release helpers to better places 2025-05-01 20:21:18 +01:00
Claudio Ortolina 3e7341d4ca Support choosing a selected release 2025-05-01 17:42:40 +01:00
Claudio Ortolina e083950138 Rename record.release to record.release_date
Includes changes to dependent tables (i.e. the record search index) and
related functions.
2025-05-01 14:04:57 +01:00
Claudio Ortolina 9fc729d5e1 Support secondary Discogs images 2025-04-29 18:56:48 +01:00
Claudio Ortolina fa49e73385 When creating a record, queue a job to fetch artist info 2025-04-29 16:56:22 +01:00
Claudio Ortolina f1dd45e438 Show country flag for artist 2025-04-29 09:58:06 +01:00
Claudio Ortolina f3e2b0e68a Account for lack of images in discogs data 2025-04-28 20:11:56 +01:00
Claudio Ortolina 3d3e758a7a Add endpoint to display an artist image 2025-04-27 21:20:38 +01:00
Claudio Ortolina 9b7990c14c Account for absence of discogs id 2025-04-26 14:32:40 +01:00
Claudio Ortolina ece877086f Store artist infos 2025-04-26 13:57:43 +01:00
Claudio Ortolina 17c9098aba Consolidate usage of 'artist names' string 2025-04-20 14:29:53 +01:00
Claudio Ortolina 995773f673 Default covers to 2000px 2025-04-14 10:58:21 +01:00
Claudio Ortolina 7df136c890 Sort aliases 2025-02-20 15:27:01 +00:00
Claudio Ortolina 26297a8bb1 Avoid unnecessary module attributes 2025-02-20 15:08:39 +00:00
Claudio Ortolina ab2d1726bf Use Application.app_dir/2 instead of :code.priv_dir 2025-02-20 15:04:29 +00:00
Claudio Ortolina 17a1e87be5 Fix 'variable name before the pattern' consistency issue 2025-02-18 12:41:10 +00:00
Claudio Ortolina 4e77894783 Slow down batch refresh of metadata 2025-02-12 22:31:09 +00:00
Claudio Ortolina 219d39de00 Use correct method to batch refresh musicbrainz data 2025-02-12 21:55:28 +00:00
Claudio Ortolina 1ae77b512e Make released?/2 handle nil releases 2025-02-11 20:14:30 +00:00
Claudio Ortolina f8147a6f52 Do not require a record release date 2025-02-11 20:05:54 +00:00
Claudio Ortolina 86db563bd4 Rename MusicbrainzData -> ReleaseGroup 2025-02-10 16:41:21 +00:00
Claudio Ortolina 027b3af547 Rename ReleaseGroup to ReleaseGroupSearchResult 2025-02-10 16:38:04 +00:00
Claudio Ortolina f99a55fca7 Simplify included release groups logic
This makes the code slightly less efficient as it constructs
intermediate structures BEFORE filtering, but it makes it for simpler
code to maintain down the line.

Performance is not visible affected as the largest lists involved count
around 200 items.
2025-02-10 09:59:25 +00:00
Claudio Ortolina 224bcdba38 Extract MusicbrainzData module 2025-02-10 09:49:34 +00:00
Claudio Ortolina 791807c137 Fix issue with formatting of "" release dates 2025-02-10 09:33:26 +00:00