Commit Graph

943 Commits

Author SHA1 Message Date
Claudio Ortolina f95843dae1 Serve apple-touch-icons 2025-06-11 09:19:02 +03:00
Claudio Ortolina d14587c120 Revert "Show confetti when adding a record"
Shows up too often
2025-06-11 08:42:41 +03:00
Claudio Ortolina a31d92bc9f Show confetti when adding a record 2025-06-09 18:40:03 +01:00
Claudio Ortolina 4da5a8d59b Fix error handling for adding a record to the collection from artist page 2025-06-09 18:32:27 +01:00
Claudio Ortolina 968b533a1d Wishlist show page listens to record updates 2025-06-08 20:07:35 +01:00
Claudio Ortolina 691bc84145 Fix section assignment in collection show page 2025-06-08 20:07:14 +01:00
Claudio Ortolina 2cc1d7ca8f Pick color extraction strategy from dropdown 2025-06-08 20:06:54 +01:00
Claudio Ortolina 2bbb91769d Generate better dominant colors async after record import 2025-06-08 07:50:07 +01: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 be8b7ead5f Load dominant colors from record 2025-06-07 20:41:39 +01:00
Claudio Ortolina 378992e632 Add functions to generate dominant colors 2025-06-07 20:13:19 +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 7efbbe0683 Show dominant colors in wishlisted record details page 2025-06-07 19:41:32 +01:00
Claudio Ortolina ccb3089ddf Experiment: show dominant colors in collected record details page 2025-06-07 14:36:29 +01:00
Claudio Ortolina 0aa0a19a00 Use live_toast instead of built-in flash
Precursor for building better notifications
2025-06-07 08:27:25 +01:00
Claudio Ortolina a005a3c203 Make sure release sheet tracks are correctly aligned 2025-06-06 21:24:25 +01:00
Claudio Ortolina a63f2de60b Use ->> instead of json_extract in queries
Improves readability of queries.
2025-06-06 21:05:44 +01:00
Claudio Ortolina 167f1df8cb Extract artist_links/1 component 2025-06-04 17:42:10 +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 c23260d03d Show last listen at for each collected record 2025-06-03 15:57:12 +01:00
Claudio Ortolina 46681deca9 Improve track refresh logic 2025-06-02 21:00:44 +01:00
Claudio Ortolina 3e9c719ce8 LastFm pull 100 tracks as a default 2025-06-02 20:53:04 +01:00
Claudio Ortolina 35bca44c9b Prevent multiple scrobbles for 3 seconds 2025-06-02 20:42:19 +01:00
Claudio Ortolina d7060697b2 Format dates in release summary and label 2025-06-01 16:58:04 +01:00
Claudio Ortolina e678d533f5 Mount BackgroundRepo in Ecto stats 2025-06-01 16:34:58 +01:00
Claudio Ortolina c4fa389e5d Remove obsolete HACK comment 2025-06-01 14:18:25 +01:00
Claudio Ortolina 1703f1cf70 Use stored scrobbled tracks 2025-05-31 21:44:54 +01:00
Claudio Ortolina 32956ca593 Backfill faster 2025-05-31 20:55:13 +01:00
Claudio Ortolina d3855d989a Tweak Last.Fm API timeouts for batch operations 2025-05-31 20:54:56 +01:00
Claudio Ortolina b191d87dfd Fix scrobble tracks schema
Remove the primary key, and just set a unique index on scrobbled time
and title, which allows skipping duplicates.
2025-05-31 20:54:37 +01:00
Claudio Ortolina 54ee77995a Avoid primary key clashes 2025-05-31 20:24:29 +01:00
Claudio Ortolina 750f0a74d1 Add logic to backfill scrobbled_tracks
Chokes on duplicate primary keys
2025-05-31 20:12:36 +01:00
Claudio Ortolina a27b38f192 Add logic to import a batch of Last.fm tracks 2025-05-31 16:16:24 +01:00
Claudio Ortolina d01d16f1ae Add infrastructure to persist scrobble tracks to database
Unused for now.
2025-05-31 08:16:32 +01:00
Claudio Ortolina 46ffa375af Use embedded schemas for LastFm track, artist and album
Preparation for persisting the scrobble activity to database
2025-05-30 17:01:12 +01:00
Claudio Ortolina 06511f89db Cache Last.fm tracks raw data when parsing api response 2025-05-30 16:52:07 +01:00
Claudio Ortolina 9100c6c04a Extract actions_menu 2025-05-29 22:15:34 +01:00
Claudio Ortolina b72bee709e Fix error when purchasing a record from the artist page 2025-05-29 17:19:40 +01:00
Claudio Ortolina 1f64c71efa Apply quokka blocks rule 2025-05-28 19:51:54 +01:00
Claudio Ortolina ae34909c1f Apply quokka single_node rule 2025-05-28 19:50:06 +01:00
Claudio Ortolina 774f1c82e5 Apply quokka pipes rule 2025-05-28 19:48:35 +01:00
Claudio Ortolina 676c2e4290 Enable quokka with :module_directives rule 2025-05-28 19:41:57 +01:00
Claudio Ortolina 681db7686b Add record menu dropdown to records in artist page 2025-05-28 17:41:50 +01:00
Claudio Ortolina cc40b5dab7 No unnecessary pipes 2025-05-27 15:13:09 +01:00
Claudio Ortolina d954a3f196 Move format_duration/1 inside the only component where it's used 2025-05-27 15:08:38 +01:00
Claudio Ortolina c0ef2038e7 Add tasks to update esbuild version 2025-05-27 14:49:24 +01:00