sabrinajewson / aspotify Goto Github PK
View Code? Open in Web Editor NEWDeprecated in favour of rspotify: https://github.com/ramsayleung/rspotify
Deprecated in favour of rspotify: https://github.com/ramsayleung/rspotify
I think it would be very beneficial if both rspotify
and aspotify
could share the same model crate. The clients differ, but the model is generic enough that it can be used by anyone. We have it at the rspotify-model
directory. It's hard to keep the model up to date, and after the big refactor in v0.11 I think ours is in a state that's good enough for sharing.
What do you think?
I'm new to Rust so apologies in advance if I don't give enough detail.
I'm using aspotify::endpoints::player::get_playing_track
to grab whatever song I'm currently listening to. It works fine when I'm listening to a song off of my liked songs or if I play one via search, but if I play a song off a playlist, it errors with:
'called `Result::unwrap()` on an `Err` value: ParseError(Error("unknown field `playlist`, there are no fields", line: 9, column: 65))'
I'm not totally sure what's going on here though I assume it's probably something with the way that CurrentlyPlaying
is being parsed.
Thanks in advance for the help.
Hey, amazing work on this library, thanks a lot!
I'm building an app that I'd like to compile to musl libc with rustls. However, reqwest uses openssl by default (which I couldn't get to run using musl). Could you imagine adding a rustls
feature in your Cargo.toml
and "forwarding" that to reqwest?
Hi! In my application I talk to Spotify through the TCP mercury connection, and retrieve access tokens with a mercury call. This completely avoids authorizing apps through the Web, and client ID and secret are not used for retrieving the token. Would you be interested in a PR that separates aspotify::Client
from the authentication mechanisms?
Thank you!
Hi! It seems that when a playlist contains a show item (or maybe an episode, not sure about the differences here), they fail to deserialize. Example playlist is https://open.spotify.com/playlist/37i9dQZF1DXacZOGa5EAdH.
Hi! I'd like to have an option to customize the reqwest::Client
for explicit proxy setup, and thought that it might be a good time to add a builder for the Client
fields. And while I'm at it, changing Client::credentials
to be somehow optional (either through an Option
or turning it into enum
) would be great as well, as I'm currently just passing empty strings for the credential values and it seems wrong :) Unfortunately it's not backwards-compatible change. What do you think?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.