summaryrefslogtreecommitdiffstats
path: root/binding
AgeCommit message (Collapse)AuthorFilesLines
2017-09-05Merge "binding: media: free sqlite3 prepared query statement" into dabdab_4.0.3dab_4.0.2dab_4.0.1dab/4.0.3dab/4.0.2dab/4.0.14.0.34.0.24.0.1dabJan-Simon Moeller1-0/+2
2017-08-30binding: media: fix memory leak with json objectsMatt Ranostay1-1/+4
In case of empty media insertion the allocated json_object's weren't used. Run json_object_put to force the freeing of the objects. Bug-AGL: SPEC-842 Change-Id: I48fe8cf0824030119140fa581223c282855981d7 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-08-30binding: media: free sqlite3 prepared query statementMatt Ranostay1-0/+2
Run sqlite3_finalize() on sqlite3 prepared query statement to allow the resources to be freed Change-Id: I0dead4c642ab393f0f6145b2e77952952dff38b3 Bug-AGL: SPEC-846 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-07-31binding: media: fix memory leak in linked listMatt Ranostay1-0/+2
Linked list wans't be freed with g_list_free_full when it was no longer needed. Bug-AGL: SPEC-790 Change-Id: Ib07d24f57e606d979a6158e289d5fdf59d31bcd1 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-07-24media: binding: improve media removal supportdab_4.0.0dab/4.0.04.0.0Matt Ranostay8-10177/+41
Use glib's inotify support instead of UDisks to get the actual path of an unmounted drive. This in turn allows removal of items on the playlist respective to only that device. Bug-AGL: SPEC-610 SPEC-757 Change-Id: Iaabb004934367bf1e60dab3f9f3365c2eb0b517d Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-06-02binding: add initial media bindingMatt Ranostay13-0/+17446
Add initial media binding that populates playlist on media insertion Bug-AGL: SPEC-610 Change-Id: I24227f7c718606191ae3de72bd692e747353c919 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>