Add command to show recommendations. (#593)
* Add command to show recommendations. This adds a command `similar selected|current` which enables searching for track recommendations for playlists, albums as well as single tracks. * Make sure to only send 5 seed items in total. * Add docs for recommendation bindings to the README
This commit is contained in:
@@ -27,7 +27,7 @@ pub trait ListItem: Sync + Send + 'static {
|
||||
fn unsave(&mut self, library: Arc<Library>);
|
||||
fn open(&self, queue: Arc<Queue>, library: Arc<Library>) -> Option<Box<dyn ViewExt>>;
|
||||
fn open_recommendations(
|
||||
&self,
|
||||
&mut self,
|
||||
_queue: Arc<Queue>,
|
||||
_library: Arc<Library>,
|
||||
) -> Option<Box<dyn ViewExt>> {
|
||||
|
||||
Reference in New Issue
Block a user