diff options
author | Matt Ranostay <matt.ranostay@konsulko.com> | 2017-10-09 13:40:30 -0700 |
---|---|---|
committer | Matt Ranostay <matt.ranostay@konsulko.com> | 2017-10-09 18:29:54 -0700 |
commit | cc0456ed42fe31edc081606d1c1c39d0703a6c05 (patch) | |
tree | b69c52af899b35ba75fb2d096e68028c70142994 /binding/media-api.c | |
parent | 1fe7b9363da7f5cac0641b7ecea249fdcca23970 (diff) |
binding: mediascanner: report only playlist for media inserted
Only generate an media_added event with the playlist of the media
inserted.
Bug-AGL: SPEC-934
Change-Id: I4e0897fbf06651f0d85c7dd5145edc7c898c68bf
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'binding/media-api.c')
-rw-r--r-- | binding/media-api.c | 2 |
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"); |