summaryrefslogtreecommitdiffstats
path: root/binding/media-api.c
diff options
context:
space:
mode:
Diffstat (limited to 'binding/media-api.c')
-rw-r--r--binding/media-api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/binding/media-api.c b/binding/media-api.c
index 4a5b5f6..fb0145f 100644
--- a/binding/media-api.c
+++ b/binding/media-api.c
@@ -130,7 +130,7 @@ static void media_results_get (struct afb_req request)
json_object *jresp = NULL;
ListLock();
- list = media_lightmediascanner_scan();
+ list = media_lightmediascanner_scan(NULL);
list = media_local_scan(list);
if (list == NULL) {
afb_req_fail(request, "failed", "media scan error");