ProxyDatabasePlugin: obey the "recursive" flag
This commit is contained in:
parent
b504d63117
commit
346e31efa0
@ -168,8 +168,9 @@ Visit(struct mpd_connection *connection, directory &parent,
|
|||||||
directory_new(mpd_directory_get_path(directory), &parent);
|
directory_new(mpd_directory_get_path(directory), &parent);
|
||||||
|
|
||||||
bool success = (!visit_directory || visit_directory(*d, error_r)) &&
|
bool success = (!visit_directory || visit_directory(*d, error_r)) &&
|
||||||
Visit(connection, *d, recursive,
|
(!recursive ||
|
||||||
visit_directory, visit_song, visit_playlist, error_r);
|
Visit(connection, *d, recursive,
|
||||||
|
visit_directory, visit_song, visit_playlist, error_r));
|
||||||
directory_free(d);
|
directory_free(d);
|
||||||
|
|
||||||
return success;
|
return success;
|
||||||
|
Loading…
Reference in New Issue
Block a user