Comments (4)
Comment by sashahilton00
Monday Jan 18, 2016 at 23:59 GMT
Agreed, this is a must have for the library given that it is going to be standalone. As per the gitter chat, here is a list of possible event emitters that it would be good to have:
- Track Start
- Track Finish
- Track Change
- Track Play
- Track Pause
- Track Stop
- Track Rewind/Fast Forward
- Track Seek Position
- Track Shuffle/Repeat enabled/disabled
- Device Connected [See above]
- Device Disconnected [See above]
- Device Disconnected no music [See above]
- Current Track Metadata
- Playlist Metadata [Track, Artist, Album, Duration]
- Queue updated
- Queue Metadata
- Volume Up/Down
I'm sure there are more, but I think this is more than good enough to start with.
from librespot.
Comment by CoDEmanX
Tuesday Jan 19, 2016 at 00:08 GMT
Native Spotify clients seem to periodically report playback progress to their servers, maybe that's another possible event (some kind of a heartbeat).
There are also a couple error events, like not authorized (anymore), song not available in target market, too many requests, premium required, app key invalid/banned...
from librespot.
Comment by sashahilton00
Tuesday Jan 19, 2016 at 00:08 GMT
Good point, I forgot about the errors.
from librespot.
Closing this, as it comes under the broader issue of Metadata, which is being tracked in #7
from librespot.
Related Issues (20)
- librespot/snapcast sometimes plays like /dev/random :fearful: HOT 3
- librespot crashes if volume is not changed first HOT 3
- Configurable MINIMUN_DOWNLOAD_SIZE / audio fetch parameters HOT 3
- `Could not get Alsa softvol dB range` when trying to control PipeWire volume via ALSA HOT 2
- error audio key, unable to load key
- called `Result::unwrap()` on an `Err` value: AuthenticationError(LoginFailed(PremiumAccountRequired)) HOT 1
- Music stops abruptly when playing long playlists HOT 1
- librespot / SPIRC crashed in the middle of the night HOT 4
- [Feature Request] Allow downloading of playlists for listening offline HOT 2
- Authentication on all desktop platforms is broken HOT 1
- Android Hashcash Not working? HOT 1
- New Stream reporting payload (Mercury)
- support for setting volume directly in addition to volume up/down HOT 1
- Librespot instance not shown in latest android/web spotify app HOT 5
- High CPU usage and stutter for some songs HOT 1
- get_extended_metadata HOT 3
- Home screen empty HOT 1
- Unable to get client token HOT 2
- translation of lyrics HOT 1
- Librespot causing Spocon to pause/not work? HOT 2
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 librespot.