Comments (4)
Go for it, I am not keen on this PR
from spotify.py.
Spotify does have a real time [audio] streaming api, unfortunately its not official nor public and the only ways to interact with it would be through a depreciated libspotify, a mopidy server running the spotify plugin (which uses c bindings to libspotify under the hood) or one of the librespot solutions (or spotifyd).
I am currently working on an offline branch that adds spotify.audio
and aims to support real time streaming/operations, but I'm mostly gluing this together from librespot's solutions and resources so it will take some time for me to get a stable working branch to push.
regarding this issue however I'm happy with just replacing progress_ms
from the Player model with a comment describing the reason for its absence.
from spotify.py.
Glad to hear that you are working on a streaming branch! (Oh and btw thanks for this awesome and open python module 🎉)
In the Player
class I would drop the other attributes like context
, device
, item
and so on too. They all seem to be unused currently as they would require constant updates. I probably don't have time today, but I could put a PR together in the next days if dropping them all is wanted.
from spotify.py.
Sounds good, I can get these changes in today, or are you keen on PR'ing this yourself?
from spotify.py.
Related Issues (20)
- Impossible to play list of tracks HOT 2
- 'Payload' referenced before assignment HOT 3
- Spotify Register Problem HOT 4
- Issue with session closing HOT 3
- Example with an async http server HOT 4
- OAuth needs "scopes" oauth2_url use "scope"
- edit_playlist issues when calling change_playlist_details
- Can't use parameters with user.top_artists() HOT 2
- Better http throttling post 429s HOT 2
- Right, so I've investigated the issue and have a possible fix ready. HOT 2
- Playlist attribute `tracks` is always None HOT 8
- Suggestion: allow User.recently_played() to take same optional parameters as Http.recently_played() HOT 1
- Suggestion: add support for "Add an Item to the User's Playback Queue" endpoint
- When creating a Playlist using the result of HttpClient.get_playlist() an error occurs
- Todo: Support new "Podcasts API"
- When using album.get_all_tracks(), an error is produced. `'Nonetype' has no attribute 'images'` HOT 2
- TypeError: __await__() returned a coroutine HOT 2
- Receiving an error when trying to initialize player HOT 2
- Not possible to install spotify.py and pyspotify at the same time HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spotify.py.