Commit Graph

71 Commits

Author SHA1 Message Date
ad7ffdc5b7 Remove reqwest binary
All checks were successful
Cargo CI / Build and Test (pull_request) Successful in 1m51s
Cargo CI / Lint (pull_request) Successful in 1m5s
2024-03-16 16:50:29 +01:00
473825b396 First draft of musicbrainz interface
Some checks failed
Cargo CI / Build and Test (pull_request) Failing after 1m37s
Cargo CI / Lint (pull_request) Failing after 16s
Some reorganisation

Remove unnecessary trait

Basic example working

Handle errors

Handle dates

Expand scope of MusicBrainz reference

Type the musicbrainz refs

Explicit constructors for str

Handle MBIDs for albums

Add search to the API

Handle primary and secondary types

Simplify AlbumDate

Passing unit tests

Tests pass

Prevent compiler/clippy warnings

Finish unit tests

Clippy

Remove old deserialize version
2024-03-16 16:49:26 +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
6e9249e265 Separate the collection from beets output in tests (#114)
All checks were successful
Cargo CI / Build and Test (push) Successful in 1m4s
Cargo CI / Lint (push) Successful in 42s
Cargo CI / Build and Test (pull_request) Successful in 1m3s
Cargo CI / Lint (pull_request) Successful in 42s
Closes #113

Reviewed-on: #114
2024-01-21 15:29:37 +01:00
267f4a5461 Help message for musichoard-edit artist sort are not showing (#112)
All checks were successful
Cargo CI / Build and Test (push) Successful in 1m3s
Cargo CI / Lint (push) Successful in 43s
Cargo CI / Build and Test (pull_request) Successful in 1m5s
Cargo CI / Lint (pull_request) Successful in 43s
Closes #111

Reviewed-on: #112
2024-01-14 15:57:18 +01:00
d876b75d14 Artists with a _sort field show up twice (#109)
All checks were successful
Cargo CI / Build and Test (push) Successful in 1m5s
Cargo CI / Lint (push) Successful in 44s
Closes #108

Reviewed-on: #109
2024-01-14 15:46:33 +01:00
3109e576e3 Sort by <field>_sort from tags if it is available (#107)
All checks were successful
Cargo CI / Build and Test (push) Successful in 1m3s
Cargo CI / Lint (push) Successful in 44s
Closes #73

Reviewed-on: #107
2024-01-13 15:42:04 +01:00
83675c25e6 Missing docstrings (#102)
All checks were successful
Cargo CI / Build and Test (push) Successful in 1m1s
Cargo CI / Lint (push) Successful in 44s
Cargo CI / Build and Test (pull_request) Successful in 2m26s
Cargo CI / Lint (pull_request) Successful in 45s
Closes #98

Reviewed-on: #102
2024-01-12 21:52:06 +01:00
95ee681229 IDatabase::load should return D not take a mutable reference of it (#99)
All checks were successful
Cargo CI / Build and Test (push) Successful in 1m1s
Cargo CI / Lint (push) Successful in 43s
Cargo CI / Build and Test (pull_request) Successful in 1m1s
Cargo CI / Lint (pull_request) Successful in 45s
Closes #96

Reviewed-on: #99
2024-01-12 21:34:01 +01:00
a315bf4229 Fix with_xxx function naming in main.rs (#101)
All checks were successful
Cargo CI / Build and Test (push) Successful in 1m0s
Cargo CI / Lint (push) Successful in 44s
Cargo CI / Build and Test (pull_request) Successful in 1m0s
Cargo CI / Lint (pull_request) Successful in 42s
Closes #100

Reviewed-on: #101
2024-01-12 21:15:59 +01:00
845e9b09f4 Distinguish NoLibrary/NoDatabase from EmptyLibrary/EmptyDatabase (#97)
All checks were successful
Cargo CI / Build and Test (push) Successful in 1m1s
Cargo CI / Lint (push) Successful in 47s
Cargo CI / Build and Test (pull_request) Successful in 1m2s
Cargo CI / Lint (pull_request) Successful in 44s
Closes #95

Reviewed-on: #97
2024-01-12 20:42:37 +01:00
d528511249 Make it possible to launch main binary without database and/or library (#88)
All checks were successful
Cargo CI / Build and Test (push) Successful in 1m1s
Cargo CI / Lint (push) Successful in 43s
Cargo CI / Build and Test (pull_request) Successful in 2m23s
Cargo CI / Lint (pull_request) Successful in 44s
Closes #87

Reviewed-on: #88
2024-01-11 23:27:01 +01:00
0c48673032 Change artist new/delete to add/remove (#92)
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 1m0s
Cargo CI / Lint (pull_request) Successful in 43s
Closes #89

Reviewed-on: #92
2024-01-11 21:51:51 +01:00
395cc57b9c Have consistent naming for binaries (#91)
All checks were successful
Cargo CI / Build and Test (push) Successful in 1m2s
Cargo CI / Lint (push) Successful in 42s
Cargo CI / Build and Test (pull_request) Successful in 1m2s
Cargo CI / Lint (pull_request) Successful in 43s
Closes #90

Reviewed-on: #91
2024-01-11 21:29:03 +01:00
36b82049f2 Add method to manually add artist metadata (#85)
All checks were successful
Cargo CI / Build and Test (push) Successful in 1m2s
Cargo CI / Lint (push) Successful in 42s
Cargo CI / Build and Test (pull_request) Successful in 2m26s
Cargo CI / Lint (pull_request) Successful in 44s
Closes #55

Reviewed-on: #85
2024-01-10 22:33:57 +01:00
1bc612dc45 Make database and library optional (#86)
All checks were successful
Cargo CI / Lint (push) Successful in 55s
Cargo CI / Build and Test (push) Successful in 1m12s
Closes #25

Reviewed-on: #86
2024-01-07 11:07:35 +01:00
d7384476d4 Add a code coverage check to the CI pipeline (#84)
All checks were successful
Cargo CI / Build and Test (push) Successful in 58s
Cargo CI / Lint (push) Successful in 42s
Cargo CI / Build and Test (pull_request) Successful in 1m0s
Cargo CI / Lint (pull_request) Successful in 42s
Closes #83

Reviewed-on: #84
2024-01-06 19:49:41 +01:00
26f0ccd842 Add integration tests to CI (#82)
All checks were successful
Cargo CI / Build and Test (push) Successful in 2m1s
Cargo CI / Lint (push) Successful in 43s
Closes #81

Reviewed-on: #82
2024-01-06 16:14:07 +01:00
b1cf5d621d Add CI to repository (#80)
All checks were successful
Cargo CI / Pipeline (push) Successful in 1m3s
Cargo CI / Pipeline (pull_request) Successful in 1m7s
Closes #77

Reviewed-on: #80
2024-01-06 11:14:30 +01:00
74f7da20e6 Fix clippy lints for rust 1.75 (#79)
Closes #76

Reviewed-on: #79
2024-01-05 21:25:55 +01:00
62d6c43e3c Add a popup window for artist metadata (#70)
Closes #56

Reviewed-on: https://git.wojciechkozlowski.eu/wojtek/musichoard/pulls/70
2023-05-21 22:48:48 +02:00
3cd0cfde18 Artist merge for non-null properties always erases database properties (#72)
Closes #71

Reviewed-on: https://git.wojciechkozlowski.eu/wojtek/musichoard/pulls/72
2023-05-21 22:28:51 +02:00
fd775372cd Add artist metadata fields (#69)
Closes #54

Reviewed-on: https://git.wojciechkozlowski.eu/wojtek/musichoard/pulls/69
2023-05-21 17:24:00 +02:00
bf5bf9d8ae Add database-library merge (#59)
Closes #48

Reviewed-on: https://git.wojciechkozlowski.eu/wojtek/musichoard/pulls/59
2023-05-20 00:02:39 +02:00
d20a9a9dec Change Quality enum to a struct (#66)
Closes #65

Reviewed-on: https://git.wojciechkozlowski.eu/wojtek/musichoard/pulls/66
2023-05-11 21:45:23 +02:00
d51f9c138b Replace TrackFormat with Quality (#63)
Closes #60

Reviewed-on: https://git.wojciechkozlowski.eu/wojtek/musichoard/pulls/63
2023-05-10 23:44:02 +02:00
282e0e6f19 Clean up interfaces (#62)
Closes #61

Reviewed-on: https://git.wojciechkozlowski.eu/wojtek/musichoard/pulls/62
2023-05-10 22:52:03 +02:00
c6ed827984 Features are not correct (#58)
Closes #57

Reviewed-on: https://git.wojciechkozlowski.eu/wojtek/musichoard/pulls/58
2023-05-06 11:38:51 +02:00
e31b44d31d Separate dependencies (#50)
Closes #39

Reviewed-on: https://git.wojciechkozlowski.eu/wojtek/musichoard/pulls/50
2023-04-27 20:09:45 +02:00