summaryrefslogtreecommitdiffstats
path: root/binding
AgeCommit message (Collapse)AuthorFilesLines
2017-08-24binding: 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-07binding: media: switch to v2 binding formatMatt Ranostay2-26/+20
Update functions and structure to use the new version 2 of the afm binder framework Change-Id: I052da8c34bd45641325bc889f0234221f382d062 Bug-AGL: SPEC-812 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-08-07binding: media: scan local users Media directoryMatt Ranostay3-4/+26
Scan ~/Music in addition to the mounted physical media. Bug-AGL: SPEC-810 Change-Id: Ieb76cedc841cf5ea9ae4c260872943b9763ddcb3 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-07-28binding: 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-20media: binding: improve media removal supportMatt 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>