mirror of
https://github.com/gabehf/Koito.git
synced 2026-03-15 18:35:55 -07:00
fix: improve matching with identically named albums (#126)
* fix: improve matching with identically named albums * fix: incorrect sql query
This commit is contained in:
parent
97cd378535
commit
e45099c71a
6 changed files with 113 additions and 17 deletions
|
|
@ -14,6 +14,7 @@ type DB interface {
|
|||
|
||||
GetArtist(ctx context.Context, opts GetArtistOpts) (*models.Artist, error)
|
||||
GetAlbum(ctx context.Context, opts GetAlbumOpts) (*models.Album, error)
|
||||
GetAlbumWithNoMbzIDByTitles(ctx context.Context, artistId int32, titles []string) (*models.Album, error)
|
||||
GetTrack(ctx context.Context, opts GetTrackOpts) (*models.Track, error)
|
||||
GetArtistsForAlbum(ctx context.Context, id int32) ([]*models.Artist, error)
|
||||
GetArtistsForTrack(ctx context.Context, id int32) ([]*models.Artist, error)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue