mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 08:15:50 +03:00
[GH-ISSUE #189] Additional events for --onevent argument #130
Labels
No labels
A-Alsa
SpotifyAPI
Tokio 1.0
audio
bug
can't reproduce
compilation
dependencies
duplicate
enhancement
good first issue
help wanted
high priority
imported
imported
invalid
new api
pull-request
question
reverse engineering
wiki
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/librespot#130
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @RealOrangeOne on GitHub (Mar 11, 2018).
Original GitHub issue: https://github.com/librespot-org/librespot/issues/189
The
oneventAPI is very useful to generate additional UI ontop oflibrespot, without having to re-implement most of the CLI, however it's missing many events which could be useful.Looking through the runtime logs, there's lots of output from
librespot_connect::spirc. Potentially these events could be channelled into the existingPlayerEventflow. I feel it's better to have too many events, that the user can filter out, than too few, and I have to parse thestdoutof the process (something I was partially tempted to do).If someone could point me to the best location to put the call to
run_program, I'd be happy to contribute the code myself!@michaelherger commented on GitHub (Mar 11, 2018):
Seems to be under investigation. See eg.
github.com/ashthespy/librespot@545c9eaa97@RealOrangeOne commented on GitHub (Mar 11, 2018):
ooh, awesome! I hope to see that merged at some point 👍
@sashahilton00 commented on GitHub (Mar 11, 2018):
Thanks for getting started on this, my plan is to add events from SpIRC as well. As you said, having too many is better, as we'll eventually send them out as JSON in librespotd
@ashthespy commented on GitHub (Mar 14, 2018):
Gimme a few days, will clean this up and submit a PR for a proper review :-)
I'm aiming to incorporate the events @sashahilton00 mentions at https://github.com/plietar/librespot/issues/37#issuecomment-172688099