10-23-2024, 10:54 PM
(10-23-2024, 08:05 PM)Nutul Wrote:(10-23-2024, 05:06 PM)humboldtsquid Wrote: (...) I wonder how one might go about going around the API and without having to directly rely on an account, a key and all that.
You can "curl" or "wget" the html page of Spotify for the track you want; and parse it: there are IDs in metadata tags that can be used to collect artist, album and album-art with subsequent loads.
I had a POC few (many...?) months ago. It may be slow, of course, compared to the Spotify API.
Oh this is a good idea. I'm wondering though how I might get the track name if my friend Bob decides to connect to my speaker as well and I don't have the name or link to the song he's playing. Ideally anyone could connect to the speaker and not have to use an API or agree to any terms and just have the track they're playing through Spotify Connect show up. This may be something I try out regardless.