aboutsummaryrefslogtreecommitdiffstats
path: root/src/db_visitor.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/db_visitor.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/db_visitor.h b/src/db_visitor.h
index f68054ec2..6b90c1868 100644
--- a/src/db_visitor.h
+++ b/src/db_visitor.h
@@ -43,9 +43,11 @@ struct db_visitor {
/**
* Visit a playlist. Optional method.
*
+ * @param directory the directory the playlist resides in
* @return true to continue the operation, false on error (set error_r)
*/
- bool (*playlist)(const struct playlist_metadata *playlist, void *ctx,
+ bool (*playlist)(const struct playlist_metadata *playlist,
+ const struct directory *directory, void *ctx,
GError **error_r);
};