summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-10-09binding: mediascanner: report only playlist for media insertedMatt Ranostay3-10/+30
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>
2017-10-06binding: mediascanner: correct local paths returnedMatt Ranostay1-1/+1
Local paths filenames weren't included in JSON output. Change-Id: I060886acdd7d890fd81b5164a131b95dd498eb2e Bug-AGL: SPEC-924 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-10-05binding: mediascanner: add media metadata to JSON outputMatt Ranostay3-6/+76
Add metadata of the tracks artist, title, album and genre to the JSON output for media results. Bug-AGL: SPEC-924 Change-Id: I240481b3b36909cb2de6ff7ba5c0a168d7973dc2 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-09-20binding: mediascanner: add missing dbus permissionMatt Ranostay1-0/+1
Add missing required dbus permission to allow standalone binding to access services. Bug-AGL: SPEC-904 Change-Id: Ib93b0f0c415585f768295e73f103bde72a9e20ad Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-09-20binding: mediascanner: remove AFB_SESSION_CHECK from verbsMatt Ranostay1-4/+4
AFB_SESSION_CHECK is not needed for the mediascanner verbs, since there isn't a need of secured sessions. Bug-AGL: SPEC-904 Change-Id: I06b09b9d739ebbec22710463ab15212b929b5423 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-09-06binding: media: add binding to its own repoMatt Ranostay19-27/+420
Initial commit for agl-service-media repo. This change enables cmake builds, and it being a standalone binding independent of the MediaPlayer application. Bug-AGL: SPEC-848 Change-Id: I1234c0d0dde4379b5697cc3fe3e16e27f8b73a7c 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>