summaryrefslogtreecommitdiffstats
path: root/binding
AgeCommit message (Collapse)AuthorFilesLines
2017-09-06binding: media: remove binding from source treeMatt Ranostay10-7333/+0
Media binding has been moved to it own repo, and the code is no longer needed within the MediaPlayer application Bug-AGL: SPEC-848 Change-Id: I6de0e556b7143e200a5976e9139b1824f43e739a Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-08-28binding: 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-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>