Implement track preloading
Will preload the next track close to the end of the currently playing track. Should make playback of queued tracks a little smoother.
This commit is contained in:
@@ -328,6 +328,9 @@ fn main() {
|
||||
queue.next(false);
|
||||
}
|
||||
}
|
||||
Event::Queue(event) => {
|
||||
queue.handle_event(event);
|
||||
}
|
||||
Event::SessionDied => spotify.start_worker(None),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user