Commit Graph

20 Commits

Author SHA1 Message Date
Claudio Ortolina bb72790be6 Include media in releases 2025-02-12 21:53:47 +00:00
Claudio Ortolina 027b3af547 Rename ReleaseGroup to ReleaseGroupSearchResult 2025-02-10 16:38:04 +00:00
Claudio Ortolina 4593b60da5 Always use @base_url 2025-02-08 13:20:49 +00:00
Claudio Ortolina 6ad28f1271 When importing a record, stream all its releases 2025-02-05 15:31:08 +00:00
Claudio Ortolina f29dd1f0ab Fetch 100 releases when importing a record
The release group contains only 25 releases, which breaks tracking
scrobble status. Albums like "Toto IV" or "Hounds of Love" end up
looking like they're not part of the collections because the individual
releases are not stored.

Still error prone, because this change doesn't paginate to more than 100
records, but that will be addressed in a future commit.
2025-02-05 10:12:27 +00:00
Claudio Ortolina 9dce1cacb9 Where possible, use built-in JSON instead of Jason
Note that it's not possible to replace any call where we encode and
pretty print, as JSON doesn't have such functionality.
2024-12-19 20:18:09 +00:00
Claudio Ortolina e1dc2bfc7f Make MusicBrainz user agent configurable 2024-12-04 10:44:31 +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 5cee7db630 Add comment around hardcoded limits in release group rels fetch 2024-11-24 21:24:12 +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 cc1d2e3b0f Increase stored cover size to 600px
Doesn't affect existing covers
2024-11-19 11:28:50 +00:00
Claudio Ortolina edd1339287 Extract MusicBrainz.ReleaseGroup 2024-11-14 19:11:19 +00:00
Claudio Ortolina 14f93583d3 Include release-group-rels 2024-11-14 13:46:17 +00:00
Claudio Ortolina f06aa3551f Add TODO around release group relations for inclusion in compilations 2024-11-13 12:32:14 +00:00
Claudio Ortolina 05d1d648b1 Streamline batch module, removing obsolete functions 2024-11-10 14:27:25 +00:00
Claudio Ortolina 24743fbc9a Follow redirects when fetching MusicBrainz json data 2024-11-09 19:15:00 +00:00
Claudio Ortolina 71b7eaea11 Fetch releases when fetching a release group 2024-11-09 18:49:35 +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 6d2d86a82f Move MusicBrainz code to top-level namespace 2024-10-20 15:38:17 +01:00