sentriz
12c31cd334
use an enum for db settings
2023-09-14 00:51:40 +01:00
sentriz
a15b584fda
move lastfm mock client stuff to a new package so we can reuse it
...
for the artistcache test
2023-09-14 00:19:52 +01:00
sentriz
2b9052ca87
remove lastfm debug prints
2023-09-13 20:34:32 +01:00
Gregor Zurowski
7a29c881e8
add tests for Last.FM client getSession
2023-09-12 00:53:36 +01:00
Gregor Zurowski
9a3f9395e6
add unit tests for Last.FM scrobbler
2023-09-12 00:53:36 +01:00
sentriz
ddd160545c
use comma when joining artists
2023-09-10 16:48:06 +01:00
sentriz
3ac77823c3
feat(subsonic): add support for multi-valued album artist tags
...
closes #103
a
a
a
r
a
a
a
a
a
a
a
a
a
a
2023-09-10 14:05:32 +01:00
Gregor Zurowski
478f512d2c
add tests for Last.FM ArtistGetSimilar ( #355 )
...
* Add tests for Last.FM client `ArtistGetSimilar`
* [Minor] Fix typo in test
2023-08-17 11:29:15 +00:00
Gregor Zurowski
09413ea06e
add tests for LastFM similar tracks ( #347 )
...
* Rename and reuse image struct
* Add LastFM test for similar tracks
2023-08-13 21:33:52 +00:00
Gregor Zurowski
2e879f6f16
add test for LastFM top tracks ( #330 )
2023-06-29 21:11:57 +00:00
Gregor Zurowski
dbcccdc811
add initial Last.FM tests ( #329 )
...
* Move model into separate file
* Separate Last.FM client and scrobbler
* Use separate Last.FM client and scrobbler
* Fix playcount attribute name
* Add initial test for Last.FM client
2023-05-20 11:24:03 +00:00
Gregor Zurowski
85eeb860bf
feat(ci): update golangci-lint and action ( #325 )
...
* Update linter
- Update Github golangci-lint-action to v3
- Update golangci-lint to v1.52.2
* Fix linter issues after updating to linter 1.52.2
2023-05-19 12:05:14 +00:00
Gregor Zurowski
5363beb031
fix names in ListenBrainz tests ( #321 )
...
* Rename test data file
* Rename require instance
2023-05-13 16:27:49 +00:00
Gregor Zurowski
b7a50ee9cb
use testify for all tests ( #319 )
...
* Use Testify for all tests
* Terminate failing non-relaxed tests using `require`
2023-05-13 15:17:37 +00:00
Gregor Zurowski
bb8507a72f
add unit tests for ListenBrainz scrobbler ( #317 )
...
* Access HTTP client via interface to allow for testing
* [Minor] Fix typo
* Add initial test cases for ListenBrainz scrobbler
* Fix linter error for insecure TLS in tests
* Use Testify for unit tests
* Move model into separate file
* Embed JSON responses into tests
* [Minor] Fix test function names
2023-05-13 12:10:11 +00:00
sentriz
475749534f
feat(subsonic): fetch artist images from lastfm opengraph
...
closes #295
Co-authored-by: cacko <alex@cacko.net >
2023-02-20 22:03:58 +00:00
sentriz
2bf8595d96
calculate lastfm param signature last
2022-12-13 10:59:21 +00:00
Alex McGrath
2bc3f31554
feat(scrobble): only send musicbrainz id if it's a valid uuid
...
since some people may have a non musicbrainz uuid in the tag's place. eg with the discogs/lastfm plugins for beets.io
2022-12-08 17:39:01 +00:00
sentriz
8ee357b021
fix(listenbrainz): submit track recording ID instead of track ID
...
closes #240
2022-10-08 16:09:22 +01:00
sentriz
7d0d036f0b
feat(lastfm): scrobble with duration
2022-09-06 17:48:56 +01:00
sentriz
668c334f45
remove redundant lastfm user session check
2022-05-18 22:01:00 +01:00
sentriz
4fce8e67ce
log bad scrobble responses
...
related #219
2022-05-15 15:02:15 +01:00
sentriz
e883de8c95
fix(listenbrainz): set json header
...
closes #216
related https://github.com/sentriz/gonic/issues/216
related https://github.com/krateng/maloja/issues/141
2022-05-02 14:52:31 +01:00
sentriz
8b803ecf20
refactor: move shared packages up a level
2022-04-13 01:10:46 +01:00