mirror of
https://git.sr.ht/~phw/scotty
synced 2025-06-05 12:58:33 +02:00
Allow editing config option after renaming
This commit is contained in:
parent
1ef498943b
commit
93767df567
3 changed files with 17 additions and 9 deletions
|
@ -38,10 +38,11 @@ func (b *SpotifyHistoryBackend) Name() string { return "spotify-history" }
|
|||
|
||||
func (b *SpotifyHistoryBackend) Options() []models.BackendOption {
|
||||
return []models.BackendOption{{
|
||||
Name: "archive-path",
|
||||
Label: i18n.Tr("Archive path"),
|
||||
Type: models.String,
|
||||
Default: "./my_spotify_data_extended.zip",
|
||||
Name: "archive-path",
|
||||
Label: i18n.Tr("Archive path"),
|
||||
Type: models.String,
|
||||
Default: "./my_spotify_data_extended.zip",
|
||||
MigrateFrom: "dir-path",
|
||||
}, {
|
||||
Name: "ignore-incognito",
|
||||
Label: i18n.Tr("Ignore listens in incognito mode"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue