Listenbrainz scrobbling (#1424)
* Refactor session_keys to its own package * Adjust play_tracker - Don't send external NowPlaying/Scrobble for tracks with unknown artist - Continue to the next agent on error * Implement ListenBrainz Agent and Auth Router * Implement frontend for ListenBrainz linking * Update listenBrainzRequest - Don't marshal Player to json - Rename Track to Title * Return ErrRetryLater on ListenBrainz server errors * Add tests for listenBrainzAgent * Add tests for ListenBrainz Client * Adjust ListenBrainzTokenDialog to handle errors better * Refactor listenbrainz.formatListen and listenBrainzRequest structs * Refactor agent auth_routers * Refactor session_keys to agents package * Add test for listenBrainzResponse * Add tests for ListenBrainz auth_router * Update ListenBrainzTokenDialog and auth_router * Adjust player scrobble toggle
This commit is contained in:
+14
-4
@@ -95,7 +95,8 @@
|
||||
"createdAt": "Created at",
|
||||
"changePassword": "Change Password?",
|
||||
"currentPassword": "Current Password",
|
||||
"newPassword": "New Password"
|
||||
"newPassword": "New Password",
|
||||
"token": "Token"
|
||||
},
|
||||
"helperTexts": {
|
||||
"name": "Changes to your name will only be reflected on next login"
|
||||
@@ -104,6 +105,10 @@
|
||||
"created": "User created",
|
||||
"updated": "User updated",
|
||||
"deleted": "User deleted"
|
||||
},
|
||||
"message": {
|
||||
"listenBrainzToken": "Enter your ListenBrainz user token.",
|
||||
"clickHereForToken": "Click here to get your token"
|
||||
}
|
||||
},
|
||||
"player": {
|
||||
@@ -116,7 +121,7 @@
|
||||
"userName": "Username",
|
||||
"lastSeen": "Last Seen At",
|
||||
"reportRealPath": "Report Real Path",
|
||||
"scrobbleEnabled": "Send Scrobbles to Last.fm"
|
||||
"scrobbleEnabled": "Send Scrobbles to external services"
|
||||
}
|
||||
},
|
||||
"transcoding": {
|
||||
@@ -306,7 +311,11 @@
|
||||
"lastfmLinkSuccess": "Last.fm successfully linked and scrobbling enabled",
|
||||
"lastfmLinkFailure": "Last.fm could not be linked",
|
||||
"lastfmUnlinkSuccess": "Last.fm unlinked and scrobbling disabled",
|
||||
"lastfmUnlinkFailure": "Last.fm could not unlinked",
|
||||
"lastfmUnlinkFailure": "Last.fm could not be unlinked",
|
||||
"listenBrainzLinkSuccess": "ListenBrainz successfully linked and scrobbling enabled as user: %{user}",
|
||||
"listenBrainzLinkFailure": "ListenBrainz could not be linked: %{error}",
|
||||
"listenBrainzUnlinkSuccess": "ListenBrainz unlinked and scrobbling disabled",
|
||||
"listenBrainzUnlinkFailure": "ListenBrainz could not be unlinked",
|
||||
"openIn": {
|
||||
"lastfm": "Open in Last.fm",
|
||||
"musicbrainz": "Open in MusicBrainz"
|
||||
@@ -325,7 +334,8 @@
|
||||
"language": "Language",
|
||||
"defaultView": "Default View",
|
||||
"desktop_notifications": "Desktop Notifications",
|
||||
"lastfmScrobbling": "Scrobble to Last.fm"
|
||||
"lastfmScrobbling": "Scrobble to Last.fm",
|
||||
"listenBrainzScrobbling": "Scrobble to ListenBrainz"
|
||||
}
|
||||
},
|
||||
"albumList": "Albums",
|
||||
|
||||
Reference in New Issue
Block a user