Commit Graph

384 Commits

Author SHA1 Message Date
Claudio Ortolina 4a5ed2de1a Enable artists maintenance tasks 2025-11-07 17:14:45 +00:00
Claudio Ortolina ade6aebb87 Add Worker to prune dangling assets 2025-11-07 12:16:10 +00:00
Claudio Ortolina fcd558066e Can filter collection records by purchase year 2025-10-31 12:25:10 +00:00
Claudio Ortolina 33dfbd607c Add artist information to record embeddings 2025-10-28 08:57:02 +00:00
Claudio Ortolina af8ca54d3e Run Repo vacuum via Oban scheduled job
This way if there's any resource contention to obtain a db connection,
Oban can manage retries.
2025-10-25 10:21:21 +01:00
Claudio Ortolina 9229805311 Don't scrobble media with zero duration 2025-10-23 10:28:19 +01:00
Claudio Ortolina 7b697827fd Don't scrobble releases with zero duration 2025-10-23 10:27:08 +01:00
Claudio Ortolina 135ed72b73 Consolidate batch operations on all records
- Only use async
- Include generation of embeddings
2025-10-19 21:52:33 +01:00
Claudio Ortolina 901a6b1c93 Update dependencies
credo 1.7.12 => 1.7.13
usage_rules 0.1.24 => 0.1.25
2025-10-15 09:57:13 +01:00
Claudio Ortolina 7a1061a783 Update embeddings when populating genres 2025-10-12 22:45:12 +02:00
Claudio Ortolina 61ee5693ab Remove unsupported option documentation 2025-10-12 21:58:34 +02:00
Claudio Ortolina d38089d82d Show similarity in % points 2025-10-12 20:46:01 +02:00
Claudio Ortolina e17a445574 Add runtime tasks to regenerate embeddings 2025-10-12 13:47:28 +02:00
Claudio Ortolina ee199272b1 Use sqlite vector 2025-10-12 13:36:42 +02:00
Claudio Ortolina 9cae972bc5 Add similar records
Initial stab by Claude
2025-10-11 21:39:59 +02:00
Claudio Ortolina 07218d16ca Removes useless docs 2025-10-10 14:21:20 +02:00
Claudio Ortolina d7cc300265 Fix ordering of top albums and top artists 2025-10-08 20:30:19 +02:00
Claudio Ortolina 61aeef4de1 Fix top artists and top album counts
Before, each track count would be multiplied by the number of collected
records. Not a problem when there's just one, but if I have more than
one then it would get weird quickly.
2025-10-07 15:56:17 +03:00
Claudio Ortolina ac750d8a91 Refactor essential_fields via search index 2025-10-06 13:48:01 +03:00
Claudio Ortolina 57dfd3d33d Remove ErrorTracker
Doesn't work with recent LiveView releases, and seems to be maintained
very slowly despite incoming PRs to fix the issues.
2025-10-03 10:15:23 +03:00
Claudio Ortolina 23c36e2521 Extract ExternalLink module 2025-10-02 11:51:44 +03:00
Claudio Ortolina d1efc90925 Extract favicon_url to CoreComponents 2025-10-02 11:48:19 +03:00
Claudio Ortolina b6f47fd986 Move external links definition to context 2025-10-02 09:02:13 +03:00
Claudio Ortolina 21997d5e14 Refactor Favicon out 2025-10-02 09:00:11 +03:00
Claudio Ortolina 9b8d8c7fdf Show artist external links 2025-10-02 08:55:45 +03:00
Claudio Ortolina 4c33d3f0aa Enable Sentry 2025-10-01 13:48:30 +03:00
Claudio Ortolina 621fe385e3 Show record status markers in scrobbled tracks index 2025-09-29 11:04:35 +03:00
Claudio Ortolina 5f5b66d037 Add telemetry for scrobble rule application 2025-09-28 08:25:01 +03:00
Claudio Ortolina 36bc9266b3 Extract queries 2025-09-26 15:32:50 +03:00
Claudio Ortolina cc84c3a429 Remove unused functions 2025-09-26 15:26:44 +03:00
Claudio Ortolina aca5c80e4d Resolve all data in one query in top albums 2025-09-26 15:21:42 +03:00
Claudio Ortolina 08bf53910b Resolve all data in one query in Scrobble Activity
Aim is to avoid having to do this in multiple rounds with in-memory
operations which are harder to follow
2025-09-26 15:21:27 +03:00
Claudio Ortolina c3a0819248 Stabilize order of records on this day 2025-09-26 11:33:34 +03:00
Claudio Ortolina 03a57823dc Add stats for last 7 days 2025-09-23 16:01:35 +03:00
Claudio Ortolina f5c60d2cd1 Tighten notes content logic
- Notes can have empty content (no harm)
- Always default to "" instead of nil
2025-09-23 08:45:51 +03:00
Claudio Ortolina 4e24bfe966 Populate genres via Oban with generous retries
This is due to OpenAI erroring or timing out incredibly frequently.
2025-09-22 08:22:36 +03:00
Claudio Ortolina a3f2c75f69 Remove dns_cluster 2025-09-20 12:56:05 +03:00
Claudio Ortolina 6853299865 Show application version in console banner 2025-09-20 10:44:18 +03:00
Claudio Ortolina dd09fb907b Track both content and cache size 2025-09-20 09:49:06 +03:00
Claudio Ortolina 68a2159d7d Track total assets cache size in Live Dashboard 2025-09-20 08:24:15 +03:00
Claudio Ortolina a1b5842148 Prune asset cache every 12 hours 2025-09-20 08:17:16 +03:00
Claudio Ortolina 772de1751e Track asset cache inserted_at 2025-09-20 08:05:30 +03:00
Claudio Ortolina 90b3fa1fdc Refactor Records.Cover to Assets.Image 2025-09-20 07:42:38 +03:00
Claudio Ortolina c5d856fdd8 Add Transform.new/1 2025-09-19 23:58:09 +03:00
Claudio Ortolina 932289ed3b Extract artist_image component 2025-09-19 13:52:59 +03:00
Claudio Ortolina f57424d610 Store and edit artist images as assets 2025-09-18 21:26:26 +03:00
Claudio Ortolina 83151a125b Remove unused artist functionality 2025-09-18 21:26:26 +03:00
Claudio Ortolina 455c3a8b53 Serve artist images via assets 2025-09-18 21:26:20 +03:00
Claudio Ortolina e0ecafadd5 Join top artists with respective artist infos to get image hashes 2025-09-18 21:26:16 +03:00
Claudio Ortolina aa72692eaf Cache transformations 2025-09-17 16:54:47 +03:00