Display album name for playable objects (#268)
* display album name * give proper name to the space key fixes #266 * use 50% for center offset Co-authored-by: Henrik Friedrichsen <henrik@affekt.org>
This commit is contained in:
@@ -15,6 +15,7 @@ use crate::track::Track;
|
||||
pub trait ListItem: Sync + Send + 'static {
|
||||
fn is_playing(&self, queue: Arc<Queue>) -> bool;
|
||||
fn display_left(&self) -> String;
|
||||
fn display_center(&self) -> String;
|
||||
fn display_right(&self, library: Arc<Library>) -> String;
|
||||
fn play(&mut self, queue: Arc<Queue>);
|
||||
fn queue(&mut self, queue: Arc<Queue>);
|
||||
|
||||
Reference in New Issue
Block a user