Commit graph

28 commits

Author SHA1 Message Date
Philipp Wolfer
d51c97c648
Code style: All uppercase acronyms URL, ISRC, ID, HTTP 2025-04-29 13:23:41 +02:00
Philipp Wolfer
159f486cdc
Upgrade musicbrainzws2 2025-04-29 10:32:59 +02:00
Philipp Wolfer
0f4b04c641
Renamed Backend.FromConfig to Backend.InitConfig and added error handling 2025-04-29 10:03:28 +02:00
Philipp Wolfer
91f78d04dd
ListenBrainz: Handle missing loves metadata for merged recordings
If a loved recording MBID got merged into another recording, the love on
ListenBrainz has no metadata. Lookup the metadata directly from
MusicBrainz.
2025-04-27 18:59:26 +02:00
Philipp Wolfer
20c9ada6ec
RecordingMsid -> RecordingMSID 2025-04-27 18:14:48 +02:00
Philipp Wolfer
7c0774fb8d
ListenBrainz: Fixed loves export 2025-04-27 18:11:58 +02:00
Philipp Wolfer
90bf51a00b
ListenBrainz: Log missing recording MBID on love import 2025-04-27 17:54:29 +02:00
Philipp Wolfer
2d66d41873
ListenBrainz: Fix love import progress
Exporting existing loves must not mark the progress as completed.
2025-04-27 16:57:30 +02:00
Philipp Wolfer
da6c920789
ListenBrainz: Fix loves import loading all existing loves
Fixes import if the user had more than 1000 loves already
2025-04-27 16:57:13 +02:00
Philipp Wolfer
0d9bc74bc0
More conversion to mbtypes.MBID 2025-04-03 15:19:26 +02:00
Philipp Wolfer
13eb8342ab
Use mbtypes.ISRC type 2025-04-03 15:08:02 +02:00
Philipp Wolfer
ad1644672c
Write acronym MBID all uppercase 2025-04-03 15:00:45 +02:00
Philipp Wolfer
8fff19ceac
Use MBID type from go.uploadedlobster.com/mbtypes 2025-04-03 14:56:39 +02:00
Philipp Wolfer
357932f9b0
Use resty response.IsSuccess() instead of checking for status code 200 2024-03-24 16:36:53 +01:00
Philipp Wolfer
8a2ddb7772
Replaced ImportResult.ImportErrors with ImportResult.ImportLog 2024-01-15 08:00:17 +01:00
Philipp Wolfer
01380bd730
listenbrainz: localize duplicate listen message 2024-01-14 22:09:12 +01:00
Philipp Wolfer
0d04b73338
listenbrainz: implement duplicate listen check on import 2024-01-14 22:04:15 +01:00
Philipp Wolfer
6ac2b4f142
Moved ratelimit to pkg 2024-01-12 17:24:05 +01:00
Philipp Wolfer
d6ca8d33f7
Mark user interface strings
For now exclude command help, as cobra itself is not localizable yet.
2023-12-09 16:43:14 +01:00
Philipp Wolfer
58a47a43e7
Implemented service edit command 2023-12-08 08:38:17 +01:00
Philipp Wolfer
9c363cc06d
Use config.ServiceConfig across API 2023-12-07 23:55:20 +01:00
Philipp Wolfer
c9fa21be73
Dynamic per-backend configuration options 2023-12-07 22:20:27 +01:00
Philipp Wolfer
ca3b8492b0
Unified export result types 2023-12-03 16:56:12 +01:00
Philipp Wolfer
4bf0f2c81d
listenbrainz: fetch listens in reverse listen time order
This allows parallel import
2023-11-28 18:13:40 +01:00
Philipp Wolfer
0045a5096e
listenbrainz: fixed listens pagination 2023-11-27 14:43:11 +01:00
Philipp Wolfer
46e6a667c8
Added constants for app name and version, use custom user-agent 2023-11-24 08:58:31 +01:00
Philipp Wolfer
0f5cb49b4c
Refactored common rate limit code into separate module 2023-11-24 01:24:54 +01:00
Philipp Wolfer
857661ebf9
Restructured code, moved all modules into internal
For now all modules are considered internal. This might change later
2023-11-24 01:24:54 +01:00