mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 16:25:52 +03:00
[PR #546] [MERGED] Add a preload event to warn about new track coming soon #965
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#965
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/546
Author: @maxthiel
Created: 12/10/2020
Status: ✅ Merged
Merged: 12/13/2020
Merged by: @sashahilton00
Base:
dev← Head:send-preload-event📝 Commits (1)
2f7bf54Add a preload event to warn about new track coming soon📊 Changes
2 files changed (+10 additions, -1 deletions)
View changed files
📝
playback/src/player.rs(+6 -1)📝
src/player_event_handler.rs(+4 -0)📄 Description
Hi,
I'm building a display for my sytsem running librespot and want to show the cover of the current track.
For this, I'm using the
oneventoption.To minimize the delay between the track change and the cover being displayed, I need to preload the next cover picture.
I've added a new
Preloadingevent that is triggered when librespot starts its own preload.Please let me know if there's anything that needs to be fixed or improved.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.