mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 08:15:50 +03:00
[PR #190] [CLOSED] Event hooks #829
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#829
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?
📋 Pull Request Information
Original PR: https://github.com/librespot-org/librespot/pull/190
Author: @ashthespy
Created: 3/15/2018
Status: ❌ Closed
Base:
master← Head:events📝 Commits (7)
545c9eaPreliminary event hooks3712f67Addtrack_idto events08a00a6Addcargo.lockandrustfmtb584b21Merge branch 'master' into events63309f8RefactorEvents->Event, and move it tocorea9fb957ConsolidatePlayerEventandEvent8592ebdrustfmt for nightly📊 Changes
18 files changed (+233 additions, -180 deletions)
View changed files
📝
audio/src/fetch.rs(+2 -10)📝
connect/src/spirc.rs(+78 -9)📝
core/src/audio_key.rs(+1 -5)📝
core/src/authentication.rs(+5 -9)📝
core/src/connection/codec.rs(+1 -2)📝
core/src/connection/handshake.rs(+1 -4)📝
core/src/connection/mod.rs(+8 -16)📝
core/src/diffie_hellman.rs(+8 -16)➕
core/src/events.rs(+53 -0)📝
core/src/lib.rs(+1 -0)📝
core/src/session.rs(+1 -5)📝
examples/play.rs(+1 -3)📝
playback/src/audio_backend/jackaudio.rs(+2 -6)📝
playback/src/audio_backend/pipe.rs(+1 -4)📝
playback/src/player.rs(+28 -57)📝
protocol/build.rs(+1 -4)📝
src/main.rs(+33 -23)📝
src/player_event_handler.rs(+8 -7)📄 Description
Greetings,
A proof of concept of event hooks. This is in addition to the existing
--onchangehooks.Discussions
Eventsenum?--onchangeones?PS: Rust infant - double check the implementation please!
Edit: I will clean it up the comments, run
rustfmtafter you guys think it's useable!🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.