Commit Graph

97 Commits

Author SHA1 Message Date
e8db0e98d5 Don't be verbose if not needed 2024-09-14 22:57:48 +02:00
20f36bcb0e Do state tracking via types 2024-09-14 22:10:02 +02:00
8acf208968 Input no longer a state 2024-09-14 20:55:17 +02:00
09e1cb7fda Visuals good enough 2024-09-14 15:49:39 +02:00
664950d5a3 Proof of concept works 2024-09-14 14:50:22 +02:00
cba1f2dff6 Skeleton of new manual input state 2024-09-14 13:04:39 +02:00
8b008292cb Use more verbose type names for clarity (#214)
All checks were successful
Cargo CI / Build and Test (push) Successful in 2m0s
Cargo CI / Lint (push) Successful in 1m6s
PR 1 for #188

Reviewed-on: #214
2024-09-13 21:28:12 +02:00
9d1caffd9c Handle idle time between fetch results (#212)
All checks were successful
Cargo CI / Build and Test (push) Successful in 1m52s
Cargo CI / Lint (push) Successful in 1m7s
Closes #211

Reviewed-on: #212
2024-09-08 23:23:53 +02:00
8e48412282 Make fetch asynchronous (#210)
All checks were successful
Cargo CI / Build and Test (push) Successful in 1m51s
Cargo CI / Lint (push) Successful in 1m5s
Closes #187

Reviewed-on: #210
2024-09-01 17:47:39 +02:00
fd9d3677ec Separate metadata from collections (#209)
All checks were successful
Cargo CI / Build and Test (push) Successful in 1m59s
Cargo CI / Lint (push) Successful in 1m6s
Part 1 of #187

Reviewed-on: #209
2024-08-31 22:55:25 +02:00
ebd63cc80b Add a "cannot-have-an-mbid" entry to possible matches (#208)
All checks were successful
Cargo CI / Build and Test (push) Successful in 2m0s
Cargo CI / Lint (push) Successful in 1m6s
Closes #190

Reviewed-on: #208
2024-08-31 16:29:36 +02:00
6333b7a131 Use a queue to communicate matches from browse to matches (#207)
All checks were successful
Cargo CI / Build and Test (push) Successful in 2m0s
Cargo CI / Lint (push) Successful in 1m10s
Closes #202

Reviewed-on: #207
2024-08-31 14:42:46 +02:00
cda1487734 The tui feature is missing a dependence on musicbrainz (#206)
All checks were successful
Cargo CI / Build and Test (push) Successful in 2m4s
Cargo CI / Lint (push) Successful in 1m9s
Closes #205

Reviewed-on: #206
2024-08-31 13:19:28 +02:00
398963b9fd Make fetch also fetch artist MBID if it is missing (#201)
All checks were successful
Cargo CI / Build and Test (push) Successful in 2m4s
Cargo CI / Lint (push) Successful in 1m6s
Closes #191

Reviewed-on: #201
2024-08-30 17:58:44 +02:00
c38961c3c1 Split ui.rs into modules based on UI element (#200)
All checks were successful
Cargo CI / Build and Test (push) Successful in 1m59s
Cargo CI / Lint (push) Successful in 1m5s
Closes #135

Reviewed-on: #200
2024-08-29 17:21:52 +02:00
0fefc52603 For the database serde implementation use Mbid rather than MbRef (#199)
All checks were successful
Cargo CI / Build and Test (push) Successful in 1m54s
Cargo CI / Lint (push) Successful in 1m7s
Closes #198

Reviewed-on: #199
2024-08-29 13:37:47 +02:00
f82a6376e0 Use the Deserialize trait for JSON just like for MusicBrainz (#197)
All checks were successful
Cargo CI / Build and Test (push) Successful in 1m53s
Cargo CI / Lint (push) Successful in 1m5s
Closes #195

Reviewed-on: #197
2024-08-28 23:02:14 +02:00
43961b3ea1 Decide carefully where external::musicbrainz belongs (#196)
All checks were successful
Cargo CI / Build and Test (push) Successful in 1m57s
Cargo CI / Lint (push) Successful in 1m5s
Closes #193

Reviewed-on: #196
2024-08-28 18:21:13 +02:00
b70499d8de Replace MH: IMusicHoard generic with a trait object (#194)
All checks were successful
Cargo CI / Build and Test (push) Successful in 1m56s
Cargo CI / Lint (push) Successful in 1m8s
Closes #192

Reviewed-on: #194
2024-08-27 18:45:03 +02:00
cf7e23c38c Provide a keyboard shortcut to sync all existing albums with MusicBrainz (#167)
All checks were successful
Cargo CI / Build and Test (push) Successful in 1m56s
Cargo CI / Lint (push) Successful in 1m5s
Cargo CI / Lint (pull_request) Successful in 1m4s
Cargo CI / Build and Test (pull_request) Successful in 1m58s
Closes #166

Reviewed-on: #167
2024-08-27 17:55:52 +02:00
d8fd952456 Add CLI option for setting binary (#184)
All checks were successful
Cargo CI / Build and Test (push) Successful in 1m57s
Cargo CI / Lint (push) Successful in 1m3s
Cargo CI / Build and Test (pull_request) Successful in 1m54s
Cargo CI / Lint (pull_request) Successful in 1m3s
Closes #183

Reviewed-on: #184
2024-08-24 23:10:59 +02:00
871aeb8436 Update beets to 2.0.0 in CI (#182)
All checks were successful
Cargo CI / Build and Test (push) Successful in 1m57s
Cargo CI / Lint (push) Successful in 1m3s
Cargo CI / Build and Test (pull_request) Successful in 1m53s
Cargo CI / Lint (pull_request) Successful in 1m6s
Closes #181

Reviewed-on: #182
2024-08-24 15:43:48 +02:00
8ff09e66ba Update rust toolchain to 1.80 (#180)
All checks were successful
Cargo CI / Build and Test (push) Successful in 1m55s
Cargo CI / Lint (push) Successful in 1m5s
Closes #179

Reviewed-on: #180
2024-08-24 15:10:54 +02:00
f395433343 Update rust toolchain to 1.79 (#176)
All checks were successful
Cargo CI / Build and Test (push) Successful in 1m49s
Cargo CI / Build and Test (pull_request) Successful in 1m51s
Cargo CI / Lint (push) Successful in 1m5s
Cargo CI / Lint (pull_request) Successful in 1m6s
Closes #174

Reviewed-on: #176
2024-06-16 16:38:35 +02:00
d9d5945422 Display all the extra album info (#173)
All checks were successful
Cargo CI / Build and Test (push) Successful in 1m58s
Cargo CI / Lint (push) Successful in 1m3s
Closes #172

Reviewed-on: #173
2024-03-17 20:17:41 +01:00
a062817ae7 The MusicBrainz API search call should use the MBID if available (#171)
All checks were successful
Cargo CI / Build and Test (push) Successful in 1m57s
Cargo CI / Lint (push) Successful in 1m3s
Cargo CI / Build and Test (pull_request) Successful in 1m59s
Cargo CI / Lint (pull_request) Successful in 1m4s
Closes #169

Reviewed-on: #171
2024-03-17 17:18:06 +01:00
3ed13ca0e9 Create examples of using the MusicBrainz API (#170)
All checks were successful
Cargo CI / Build and Test (push) Successful in 1m57s
Cargo CI / Lint (push) Successful in 1m7s
Cargo CI / Build and Test (pull_request) Successful in 1m58s
Cargo CI / Lint (pull_request) Successful in 1m4s
Closes #168

Reviewed-on: #170
2024-03-17 14:19:30 +01:00
a75dd46a40 Add a MusicBrainz API (#163)
All checks were successful
Cargo CI / Build and Test (push) Successful in 1m48s
Cargo CI / Lint (push) Successful in 1m8s
Cargo CI / Build and Test (pull_request) Successful in 1m56s
Cargo CI / Lint (pull_request) Successful in 1m5s
Closes #158

Reviewed-on: #163
2024-03-16 16:57:50 +01:00
c53ba8f35f Break down the musichoard files (#165)
All checks were successful
Cargo CI / Build and Test (push) Successful in 1m45s
Cargo CI / Lint (push) Successful in 1m14s
Cargo CI / Build and Test (pull_request) Successful in 1m46s
Cargo CI / Lint (pull_request) Successful in 1m16s
Closes #164

Reviewed-on: #165
2024-03-09 22:52:03 +01:00
8550f7d6da Move database and library implementations out of core (#162)
All checks were successful
Cargo CI / Build and Test (push) Successful in 1m43s
Cargo CI / Lint (push) Successful in 1m14s
Cargo CI / Build and Test (pull_request) Successful in 1m40s
Cargo CI / Lint (pull_request) Successful in 1m17s
Closes #159

Reviewed-on: #162
2024-03-09 19:11:59 +01:00
bd7e9ceb4d Connect release groups to musicbrainz id (#157)
All checks were successful
Cargo CI / Build and Test (push) Successful in 1m42s
Cargo CI / Lint (push) Successful in 1m15s
Cargo CI / Build and Test (pull_request) Successful in 3m9s
Cargo CI / Lint (pull_request) Successful in 1m15s
Closes #46

Reviewed-on: #157
2024-03-08 23:28:52 +01:00
b70711d886 Add a field that indicates album ownership (#156)
All checks were successful
Cargo CI / Build and Test (push) Successful in 1m41s
Cargo CI / Lint (push) Successful in 1m14s
Cargo CI / Build and Test (pull_request) Successful in 3m2s
Cargo CI / Lint (pull_request) Successful in 1m14s
Closes #47

Reviewed-on: #156
2024-03-07 23:12:41 +01:00
c015f4c112 Sort albums by month if two releases of the same artist happen in the same year (#155)
All checks were successful
Cargo CI / Build and Test (push) Successful in 1m41s
Cargo CI / Lint (push) Successful in 1m13s
Cargo CI / Build and Test (pull_request) Successful in 3m8s
Cargo CI / Lint (pull_request) Successful in 1m15s
Closes #106

Reviewed-on: #155
2024-03-05 23:24:18 +01:00
4dc56f66c6 Make Selection fields private (#154)
All checks were successful
Cargo CI / Build and Test (push) Successful in 1m39s
Cargo CI / Lint (push) Successful in 1m13s
Cargo CI / Build and Test (pull_request) Successful in 1m40s
Cargo CI / Lint (pull_request) Successful in 1m15s
Closes #153

Reviewed-on: #154
2024-03-01 22:31:12 +01:00
42d1edb69c Extend incremental search to albums and tracks (#152)
All checks were successful
Cargo CI / Build and Test (push) Successful in 1m39s
Cargo CI / Lint (push) Successful in 1m14s
Closes #145

Reviewed-on: #152
2024-03-01 22:04:26 +01:00
fd19ea3eb3 Rescanning library does not update the database (#151)
All checks were successful
Cargo CI / Build and Test (push) Successful in 1m40s
Cargo CI / Lint (push) Successful in 1m13s
Cargo CI / Build and Test (pull_request) Successful in 1m38s
Cargo CI / Lint (pull_request) Successful in 1m14s
Closes #150

Reviewed-on: #151
2024-03-01 15:34:20 +01:00
4d2ea77da9 Ensure consistency between in-memory and database state (#146)
All checks were successful
Cargo CI / Build and Test (push) Successful in 1m41s
Cargo CI / Lint (push) Successful in 1m13s
Closes #120

Reviewed-on: #146
2024-03-01 09:00:52 +01:00
3bb8fb03ab Bump version (#140)
All checks were successful
Cargo CI / Lint (push) Successful in 1m15s
Cargo CI / Build and Test (push) Successful in 1m42s
Cargo CI / Build and Test (pull_request) Successful in 3m1s
Cargo CI / Lint (pull_request) Successful in 1m13s
Closes #104

Reviewed-on: #140
2024-02-19 21:02:30 +01:00
dcc33d62b1 Benchmark a custom string normalisation function (#139)
All checks were successful
Cargo CI / Build and Test (push) Successful in 1m40s
Cargo CI / Lint (push) Successful in 1m14s
Closes #138

Reviewed-on: #139
2024-02-19 20:56:03 +01:00
84a2cc83ca Provide search functionality through the TUI (#134)
All checks were successful
Cargo CI / Build and Test (push) Successful in 1m43s
Cargo CI / Lint (push) Successful in 1m16s
Cargo CI / Build and Test (pull_request) Successful in 1m42s
Cargo CI / Lint (pull_request) Successful in 1m16s
Closes #24

Reviewed-on: #134
2024-02-18 22:12:41 +01:00
c4dc0d173b Bump dependencies (#133)
All checks were successful
Cargo CI / Build and Test (push) Successful in 1m40s
Cargo CI / Lint (push) Successful in 1m13s
Cargo CI / Build and Test (pull_request) Successful in 3m0s
Cargo CI / Lint (pull_request) Successful in 1m12s
Closes #132

Reviewed-on: #133
2024-02-10 23:47:26 +01:00
6a18c5d9cc Add a minibuffer (#131)
All checks were successful
Cargo CI / Build and Test (push) Successful in 1m43s
Cargo CI / Lint (push) Successful in 1m15s
Closes #125

Reviewed-on: #131
2024-02-10 23:25:59 +01:00
de564eb1a0 Remove serde feature from uuid and url dependencies (#130)
All checks were successful
Cargo CI / Build and Test (push) Successful in 1m43s
Cargo CI / Lint (push) Successful in 1m17s
Cargo CI / Build and Test (pull_request) Successful in 1m41s
Cargo CI / Lint (pull_request) Successful in 1m16s
Closes #129

Reviewed-on: #130
2024-02-10 20:58:40 +01:00
fad49a48b8 Make serde dependency optional (#128)
All checks were successful
Cargo CI / Build and Test (push) Successful in 1m1s
Cargo CI / Lint (push) Successful in 42s
Cargo CI / Build and Test (pull_request) Successful in 1m1s
Cargo CI / Lint (pull_request) Successful in 45s
Closes #127

Reviewed-on: #128
2024-02-10 20:38:14 +01:00
36b4918a44 Limit the information stored in the database (#126)
All checks were successful
Cargo CI / Build and Test (push) Successful in 1m2s
Cargo CI / Build and Test (pull_request) Successful in 1m4s
Cargo CI / Lint (pull_request) Successful in 41s
Cargo CI / Lint (push) Successful in 42s
Closes #118
Closes #68

Reviewed-on: #126
2024-02-10 20:28:52 +01:00
87de8d2b4e Add critical error state (#124)
All checks were successful
Cargo CI / Lint (push) Successful in 42s
Cargo CI / Build and Test (push) Successful in 1m2s
Closes #123

Reviewed-on: #124
2024-02-09 20:07:48 +01:00
c2506657c3 Streamline adding new URL types (#122)
All checks were successful
Cargo CI / Build and Test (push) Successful in 1m0s
Cargo CI / Lint (push) Successful in 43s
Closes #117

Reviewed-on: #122
2024-02-09 18:41:20 +01:00
9e9c6a1a4b Add support for PgUp and PgDn scrolling (#121)
All checks were successful
Cargo CI / Build and Test (push) Successful in 1m4s
Cargo CI / Lint (push) Successful in 44s
Cargo CI / Build and Test (pull_request) Successful in 2m41s
Cargo CI / Lint (pull_request) Successful in 44s
Closes #119

Reviewed-on: #121
2024-02-05 23:44:30 +01:00
e7413ed885 Add shortcut to reload database and/or library (#116)
All checks were successful
Cargo CI / Build and Test (push) Successful in 1m3s
Cargo CI / Lint (push) Successful in 44s
Cargo CI / Build and Test (pull_request) Successful in 2m22s
Cargo CI / Lint (pull_request) Successful in 43s
Closes #105

Reviewed-on: #116
2024-02-03 14:32:13 +01:00
ba85505c9a Split lib.rs into smaller files (#115)
All checks were successful
Cargo CI / Build and Test (push) Successful in 1m2s
Cargo CI / Lint (push) Successful in 44s
Cargo CI / Build and Test (pull_request) Successful in 2m23s
Cargo CI / Lint (pull_request) Successful in 44s
Closes #110

Reviewed-on: #115
2024-01-22 23:01:34 +01:00