Commit Graph

44 Commits

Author SHA1 Message Date
Claudio Ortolina 7a0d017965 Support filtering by type 2024-10-14 22:30:14 +01:00
Claudio Ortolina 9d76f3dfb7 Display releases in localized date format 2024-10-14 16:36:41 +01:00
Claudio Ortolina aa120f674e Ignore invalid formats 2024-10-14 11:31:31 +01:00
Claudio Ortolina f2959081ba Implement safer format parsing 2024-10-14 10:52:42 +01:00
Claudio Ortolina e0095909eb Enable search by format 2024-10-14 09:01:51 +01:00
Claudio Ortolina 1451da1dee Don't fail import when cover fetch fails 2024-10-10 15:35:29 +01:00
Claudio Ortolina 21e773ff5e Formatting (line breaks) 2024-10-10 15:27:40 +01:00
Claudio Ortolina 1ff06bb178 Add disclaimer in search_parser module 2024-10-10 12:41:35 +01:00
Claudio Ortolina 201c2edc01 Enable tagged search 2024-10-10 10:02:26 +01:00
Claudio Ortolina e30ba5ef3f Implement basic parser 2024-10-10 10:02:26 +01:00
Claudio Ortolina fa0be0d740 Use fallback cover when not found 2024-10-07 10:28:49 +01:00
Claudio Ortolina be9dc37ed5 Use long labels for formats in stats page 2024-10-07 10:04:31 +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 3934fe1fb7 Update example in get_release_group/1 2024-10-07 08:23:21 +01:00
Claudio Ortolina a72236449d Extract musicbrainz behaviour and impl 2024-10-05 20:30:18 +01:00
Claudio Ortolina 6a1803ea06 Extract record types for readability 2024-10-03 18:51:05 +01:00
Claudio Ortolina 1e0d5486e0 Rename image* to cover* 2024-10-02 16:33:42 +01:00
Claudio Ortolina fb978406cd Remove year from records 2024-10-02 14:32:27 +01:00
Claudio Ortolina 024d95da7c Use release instead of year 2024-10-02 14:22:22 +01:00
Claudio Ortolina a3eaaef9d2 Move release group assembling logic into MB module 2024-10-01 17:22:31 +01:00
Claudio Ortolina 180224d381 Store image hashes in the db - part 1 2024-09-30 20:09:32 +01:00
Claudio Ortolina 64ea8fe3fa Extend import to support choosing format 2024-09-28 20:23:22 +01:00
Claudio Ortolina 82e5962c74 Add record format (defaulting to CD) 2024-09-28 19:16:15 +01:00
Claudio Ortolina d3ea26ed8f Improve importing visual feedback 2024-09-24 18:33:39 +01:00
Claudio Ortolina bcb70c9e1b Store artists when importing a record 2024-09-24 09:40:52 +01:00
Claudio Ortolina b6ae022a6a Move obsidian-related imports under Obsidian 2024-09-24 09:21:13 +01:00
Claudio Ortolina d97f21a8ef Can search and import records
Requires refactor and cleanup, along with integration tests
2024-09-23 20:27:40 +01:00
Claudio Ortolina 878a7d7326 Clean up importer and music_brainz modules
- Add missing docs
- Move around existing information for better documentation
- Rename some functions for consistency
2024-09-23 09:42:51 +01:00
Claudio Ortolina 15bc1816cf Add function to search the MusicBrainz API 2024-09-22 21:01:38 +01:00
Claudio Ortolina 5623a5239f Resize cover images to 400x400 2024-09-19 13:34:26 +01:00
Claudio Ortolina 74e7d27ba4 Run the image import sequentially
Changed this for debug as many images are huge and were tripping the
logic off - the whole importer logic needs to be
restructured for better parallelism.
2024-09-16 14:46:16 +01:00
Claudio Ortolina 04755eb5fe Removes boilerplate docs 2024-09-16 14:45:59 +01:00
Claudio Ortolina 6ac5a88c47 Raw importer for all cover images 2024-09-16 12:30:54 +01:00
Claudio Ortolina afc1802399 Serve local cover images 2024-09-16 09:50:07 +01:00
Claudio Ortolina 90e8022a77 Fix incorrect cast 2024-09-15 20:32:10 +01:00
Claudio Ortolina ce1ecf06a7 Import artists on top of existing records 2024-09-15 20:31:13 +01:00
Claudio Ortolina affa7a007e Simplify data model
Artists can be embedded inside records - given the projected size of the
dataset (a few 1000s in the worst case) relationships can be built in
memory without the need to be denormalized into separate tables.
2024-09-15 20:29:52 +01:00
Claudio Ortolina 988d311fef Add artist importer 2024-09-15 20:28:39 +01:00
Claudio Ortolina 170f195aae Fix edge cases with parser
- Remove front_matter dependency, and use a hand-rolled simpler parser
  which is suitable for the data to parse (which is well-formed).
- Fix a couple of edge cases with years and titles with commas
2024-09-15 20:28:37 +01:00
Claudio Ortolina 2c42f3ea32 Can parse an obsidian entry to retrieve correct metadata 2024-09-15 20:28:37 +01:00
Claudio Ortolina e4ae157275 Associate artists and records 2024-09-15 20:28:35 +01:00
Claudio Ortolina e08fbe3740 Generate schema and live_view scaffold for records
1. Records are not yet tied to artists
2. The generated edit route, along with related functionality, may be
   deleted as I don't think it's gonna be needed. Leaving it included in
   the commit for reference.
2024-09-12 14:51:58 +01:00
Claudio Ortolina 34111a44ba Generate basic artist schema 2024-09-12 14:51:58 +01:00