diff options
| author | salmonik <raisersoft@proton.me> | 2026-05-05 23:29:39 +0200 |
|---|---|---|
| committer | salmonik <raisersoft@proton.me> | 2026-05-05 23:29:39 +0200 |
| commit | 5f2d1897b245fbee12d17b5910eaf5233ca6802b (patch) | |
| tree | 551b8855ade2f31e0f24539504b0f9b66cdba75f /src/scrobbler.rs | |
| parent | Add dev/release config separation and volume query command (diff) | |
| download | rsplayer-5f2d1897b245fbee12d17b5910eaf5233ca6802b.tar.gz rsplayer-5f2d1897b245fbee12d17b5910eaf5233ca6802b.zip | |
Add unit tests in /tests directory for config, database, playback, and scrobbler modules
Diffstat (limited to 'src/scrobbler.rs')
| -rw-r--r-- | src/scrobbler.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/scrobbler.rs b/src/scrobbler.rs index 09a7f55..ddcbed9 100644 --- a/src/scrobbler.rs +++ b/src/scrobbler.rs | |||
| @@ -2,10 +2,10 @@ use reqwest::Client; | |||
| 2 | 2 | ||
| 3 | #[allow(dead_code)] | 3 | #[allow(dead_code)] |
| 4 | pub struct Scrobbler { | 4 | pub struct Scrobbler { |
| 5 | lastfm_api_key: Option<String>, | 5 | pub lastfm_api_key: Option<String>, |
| 6 | lastfm_api_secret: Option<String>, | 6 | pub lastfm_api_secret: Option<String>, |
| 7 | lastfm_session_key: Option<String>, | 7 | pub lastfm_session_key: Option<String>, |
| 8 | listenbrainz_token: Option<String>, | 8 | pub listenbrainz_token: Option<String>, |
| 9 | client: Client, | 9 | client: Client, |
| 10 | } | 10 | } |
| 11 | 11 | ||
