summaryrefslogtreecommitdiffstats
path: root/binding/mediaplayer-api.c
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 Ranostay1-25/+19
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 Ranostay1-4/+1
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-20media: binding: improve media removal supportMatt Ranostay1-4/+7
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 Ranostay1-0/+179
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>