A decentralized music tracking and discovery platform built on AT Protocol 🎵 rocksky.app
spotify atproto lastfm musicbrainz scrobbling listenbrainz
98
fork

Configure Feed

Select the types of activity you want to include in your feed.

Use official Spotify API base URL

+3 -5
+1 -1
crates/scrobbler/src/spotify/client.rs
··· 2 2 use anyhow::Error; 3 3 use std::time::Duration; 4 4 5 - pub const BASE_URL: &str = "https://spotify-api.rocksky.app/v1"; 5 + pub const BASE_URL: &str = "https://api.spotify.com/v1"; 6 6 7 7 pub struct SpotifyClient { 8 8 token: String,
+1 -2
crates/spotify/src/lib.rs
··· 30 30 pub mod token; 31 31 pub mod types; 32 32 33 - // pub const BASE_URL: &str = "https://api.spotify.com/v1"; 34 - pub const BASE_URL: &str = "https://spotify-api.rocksky.app/v1"; 33 + pub const BASE_URL: &str = "https://api.spotify.com/v1"; 35 34 36 35 pub async fn run() -> Result<(), Error> { 37 36 let cache = Cache::new()?;
+1 -2
crates/webscrobbler/src/spotify/client.rs
··· 2 2 use anyhow::Error; 3 3 use std::time::Duration; 4 4 5 - // pub const BASE_URL: &str = "https://api.spotify.com/v1"; 6 - pub const BASE_URL: &str = "https://spotify-api.rocksky.app/v1"; 5 + pub const BASE_URL: &str = "https://api.spotify.com/v1"; 7 6 8 7 pub struct SpotifyClient { 9 8 token: String,