File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -427,7 +427,7 @@ impl<S: Read + Write> Client<S> {
427
427
// Database search {{{
428
428
// TODO: count tag needle [...] [group] [grouptag], find type what [...] [window start:end]
429
429
// TODO: search type what [...] [window start:end], searchadd type what [...]
430
- // TODO: findadd type what [...], listallinfo [uri], listfiles [uri], lsinfo [uri]
430
+ // TODO: listallinfo [uri], listfiles [uri], lsinfo [uri]
431
431
// TODO: list type [filtertype] [filterwhat] [...] [group] [grouptype] [...]
432
432
// TODO: searchaddpl name type what [...], readcomments
433
433
@@ -463,6 +463,12 @@ impl<S: Read + Write> Client<S> {
463
463
. and_then ( |_| self . read_pairs ( ) . map ( |p| p. map ( |p| p. 1 ) ) . collect ( ) )
464
464
}
465
465
466
+ /// Find all songs in the db that match query and adds them to current playlist.
467
+ pub fn findadd ( & mut self , query : & Query ) -> Result < ( ) > {
468
+ self . run_command ( "findadd" , query)
469
+ . and_then ( |_| self . expect_ok ( ) )
470
+ }
471
+
466
472
// }}}
467
473
468
474
// Output methods {{{
You can’t perform that action at this time.
0 commit comments