Commit graph

49 commits

Author SHA1 Message Date
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
5755ccef01
Do not apply locale formatting to Unix timestamps 2023-12-09 22:39:08 +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
6c1cf2101d
Bump version to 0.3.0 2023-12-09 21:59:54 +01:00
Philipp Wolfer
e7d596b4e0
Allow specifying --timestamp 0 2023-12-09 18:56:23 +01:00
Philipp Wolfer
2307e6247b
Even on error the last import timestamp should be set to the previous timestamp 2023-12-09 18:41:53 +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
0b1806367f
Documented general configuration and usage 2023-12-09 17:41:38 +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
511b71b909
Documented translation and set translation license to CC0 2023-12-09 15:57:20 +01:00
Philipp Wolfer
2006725311 Translated using Weblate (German)
Currently translated at 100.0% (10 of 10 strings)

Translation: Scotty/app
Translate-URL: https://translate.uploadedlobster.com/projects/scotty/app/de/
2023-12-09 11:03:18 +00:00
Philipp Wolfer
1f3247c3ff
Translate progress bar 2023-12-09 12:01:04 +01:00
Philipp Wolfer
a41318d822
Basic i18n setup 2023-12-09 11:46:32 +01:00
Philipp Wolfer
20f1732858
Use positional arguments for source and target in beam commands 2023-12-08 17:59:37 +01:00
Philipp Wolfer
543a9c666d
Implemented service delete command 2023-12-08 17:27:32 +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
091b3c2f49
Prevent adding duplicate services 2023-12-07 23:09:16 +01:00
Philipp Wolfer
8743a9d81c
Moved prompt helpers into cli package 2023-12-07 22:32:08 +01:00
Philipp Wolfer
c9fa21be73
Dynamic per-backend configuration options 2023-12-07 22:20:27 +01:00
Philipp Wolfer
ae5f1c5f26
Basic TUI to add new service configuration 2023-12-07 22:20:27 +01:00
Philipp Wolfer
ce5cdceb1f
Initialize config if it does not exist, set database relative to config dir 2023-12-07 22:20:27 +01:00
Philipp Wolfer
ed4c0aa1f8
jspf: add MB playlist extension, public field must be boolean 2023-12-07 13:13:16 +01:00
Philipp Wolfer
7a2fcc091e
spotify: fixed loves export count 2023-12-05 09:10:25 +01:00
Philipp Wolfer
28ed1183e4
Use fmt.Errorf, error strings should start lowercase 2023-12-05 08:24:43 +01:00
Philipp Wolfer
a9e07915ce
Transfer command refactoring
Make transfer command processing even more modular
2023-12-05 08:24:42 +01:00
Philipp Wolfer
7c85ba05ab
refactor: generic common cmd processing 2023-12-04 08:08:30 +01:00
Philipp Wolfer
a87686af57
Reduced code redundancy in import processing 2023-12-03 17:10:50 +01:00
Philipp Wolfer
ca3b8492b0
Unified export result types 2023-12-03 16:56:12 +01:00
Philipp Wolfer
a4a05ea047
subsonic: fixed filtering songs based on timestamp 2023-12-01 11:48:23 +01:00
Philipp Wolfer
b169dd2cc4
auth: generate oauth2 state randomly 2023-11-28 18:13:40 +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
d96df4367d
Release 0.2.0 2023-11-28 09:10:03 +01:00
Philipp Wolfer
f9d25e3b6f
lastfm: listens export 2023-11-28 08:55:53 +01:00
Philipp Wolfer
267018901b
lastfm: listens import 2023-11-27 14:48:20 +01:00
Philipp Wolfer
406e150987
lastfm: loves import 2023-11-27 14:48:12 +01:00
Philipp Wolfer
1249238d3a
lastfm: loves export 2023-11-27 14:48:00 +01:00
Philipp Wolfer
5b8f4788f9
lastfm: authentication 2023-11-27 14:47:46 +01:00
Philipp Wolfer
3ccbb20a9e
Fixed tracking import errors 2023-11-27 14:44:20 +01:00
Philipp Wolfer
0045a5096e
listenbrainz: fixed listens pagination 2023-11-27 14:43:11 +01:00
Philipp Wolfer
ca99a3d5fb
jspf: consider love track MBID 2023-11-27 14:42:59 +01:00
Philipp Wolfer
5aed552854
Moved tokensource to auth package 2023-11-24 10:30:30 +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
e1c9fb6076
Move the JSPF playlist code into public module 2023-11-24 08:04:56 +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
Philipp Wolfer
f447a259d4
OAuth2Strategy interface to abstract the details of the login flow
This allows implementing clients the deviate from the standard OAuth2 flow
2023-11-23 14:41:31 +01:00