Commit graph

73 commits

Author SHA1 Message Date
Philipp Wolfer
b104c2bc42
scrobblerlog: fixed listen export progress 2025-04-29 10:10:32 +02:00
Philipp Wolfer
ed191d2f15
scrobblerlog: Allow configuring fallback time zone
Fixes #6
2025-04-29 10:05:40 +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
aad542850a
scrobblerlog: Use specific Record type
This makes the interface more generic and easier to reuse in other
projects.
2025-04-29 09:18:57 +02:00
Philipp Wolfer
aeb3a56982
Moved scrobblerlog parsing to separate package 2025-04-29 08:44:31 +02:00
Philipp Wolfer
69665bc286
scrobblerlog: consider timezone from parsed file 2025-04-29 07:54:27 +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
db78bfe457
Fixed subsonic test 2025-04-27 18:16:27 +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
910056b0a6
Subsonic: Support for some OpenSubsonic tags
Mainly this makes the MusicBrainz recording ID available
2025-04-27 17:53:51 +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
01e7569051
Fixed progress for subsonic loves export 2025-04-27 16:21:59 +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
bcc7bf3167
Replaced util Min/Max functions with builtin 2024-04-15 15:47:16 +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
3f1bebd8ed
deezer: fix artist and album ID URIs
Fixes #7
2024-01-29 08:27:51 +01:00
Philipp Wolfer
1aa7b61649
subsonic: include subsonic_id as additional metadata 2024-01-26 12:21:11 +01:00
Philipp Wolfer
84443d0e69
Close export progress in export goroutine
Fixes crash in case of importer exiting prematurely
2024-01-15 08:21:38 +01:00
Philipp Wolfer
1cea9bd301
Use ImportResult log for dump backend 2024-01-15 08:05:05 +01:00
Philipp Wolfer
8a2ddb7772
Replaced ImportResult.ImportErrors with ImportResult.ImportLog 2024-01-15 08:00:17 +01:00
Philipp Wolfer
6281554248
jspf: fixed creating new file in append mode 2024-01-14 23:41:15 +01:00
Philipp Wolfer
60bbbb9f15
spotify-history: min. playback time for skipped tracks is now in seconds 2024-01-14 22:22:00 +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
925c21893b
spotifyhistory: configurable min duration for skipped tracks 2024-01-13 14:12:19 +01:00
Philipp Wolfer
8c459f4d2f
Spotify extended streaming history exporter 2024-01-13 13:55:05 +01:00
Philipp Wolfer
7666ca53a7
Allow default values for boolean config settings 2024-01-13 13:18:52 +01:00
Philipp Wolfer
6ac2b4f142
Moved ratelimit to pkg 2024-01-12 17:24:05 +01:00
Philipp Wolfer
c4da3a40cc
Added util.Min and util.Max helpers 2024-01-12 17:24:05 +01:00
Philipp Wolfer
c6be6c558f
update translations 2023-12-10 15:24:15 +01:00
Philipp Wolfer
c4587b80af
Introduce models.Entity type 2023-12-10 14:24:06 +01:00
Philipp Wolfer
a59a542967
moved OAuth2Authenticator to auth package 2023-12-10 14:19:23 +01:00
Philipp Wolfer
dd501df5c5
use go:embed to simplify testdata loading 2023-12-10 14:11:54 +01:00
Philipp Wolfer
c4193f42a1
Code cleanup and missing error checks 2023-12-10 13:51:38 +01:00
Philipp Wolfer
6eaef18188
subsonic: only set tags if genre is non-empty 2023-12-10 01:33:14 +01:00
Philipp Wolfer
acb0e9cb11
scrobblerlog: configuring should show append mode as enabled by default 2023-12-10 00:25:29 +01:00
Philipp Wolfer
4d07a39b64
jspf: implement append mode 2023-12-10 00:24:39 +01:00
Philipp Wolfer
9449a29fb1
service auth, edit and delete now all support --service flag
If a service name is given, this will be used. If not the user is
prompted to select one.
2023-12-09 23:16:33 +01:00
Philipp Wolfer
1698568d0e
Fixed crash with invalid target config name in beam commands 2023-12-09 22:29:15 +01:00
Philipp Wolfer
76fd7cfeb4
Allow default value for boolean select
Default for both service delete conformation and disabling Maloja
autofix is now "no".
2023-12-09 22:15:40 +01:00
Philipp Wolfer
b07c393a22
Fixed import error handling 2023-12-09 18:37:52 +01:00
Philipp Wolfer
3e9ebfb9af
Fixed Deezer listen export count 2023-12-09 18:10:34 +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