aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-06-10binding: mediascanner: fix race condition with dbus and lightmediascannereel_5.1.0eel/5.1.05.1.0eelMatt Ranostay1-14/+14
There are edge conditions in which the media_result verb can be requested before lms_proxy has been initialized which will cause a segfault. This patchset reorders operations to be sure lms_proxy is initialized before running returning from .init() Bug-AGL: SPEC-1496 Change-Id: I160167e95b6e301aaaabc63efe08972976d18a63 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-01-23Merge "binding: mediascanner: fix media_result for video" into eeleel_5.0.3eel_5.0.2eel_5.0.1eel/5.0.3eel/5.0.2eel/5.0.15.0.35.0.25.0.1Jan-Simon Moeller1-1/+2
2018-01-19binding: mediascanner: fix media_result for videoTasuku Suzuki1-1/+2
media_result didn't work with video because of the SQL for video is not perfect. Change-Id: If0f8b9d104f4b3f293c6457c285035f55132f748 Bug-AGL: SPEC-1169 Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io> (cherry picked from commit 68314a658d919a06b270340f06c162f56147c7b1)
2018-01-16binding: mediascanner: add binding documentationMatt Ranostay1-0/+44
Add initial documentation for agl-service-mediascanner service Bug-AGL: SPEC-1245 Change-Id: I04130aacf1a2ad50d0c3e57a1ace5b1750f3c163 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-01-04binding: mediaplayer: tag media type in playlistMatt Ranostay3-0/+13
Some clients may not want or need both audio and video media in the the returned playlist. This change tags the media type in each playlist entries JSON output. Bug-AGL: SPEC-1236 Change-Id: I78a25b92f64eb73cca24f5f6a857913567c25f2c Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-12-13binding: mediascanner: add video scan from lightmediascannereel_5.0.0eel_4.99.5eel/5.0.0eel/4.99.55.0.04.99.5Matt Ranostay3-7/+30
Add to the playlist the video media found from the lightmediascanner database. Bug-AGL: SPEC-1169 Change-Id: I9ebf2e21805fe0e59a853dd081eacf02af501c96 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-11-29Add .gitreview defaultbranch for eeleel_4.99.4eel/4.99.44.99.4Jan-Simon Möller1-1/+1
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-11-03binding: mediascanner: remove superfluous local scan functioneel_4.99.3eel_4.99.2eel/4.99.3eel/4.99.24.99.34.99.2Matt Ranostay3-38/+0
Now lightmediascannerd scan the local ~/Music directory which has the plus of getting the metadata Bug-AGL: SPEC-1029 Change-Id: Iad13d343b8bd40cec803527b31763642bd141ded Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-10-13Add gitreview file for mastereel_4.99.1eel/4.99.14.99.1Jan-Simon Möller1-0/+5
Change-Id: I3023c4c3bb4dba645da14f176858e60613d7316c Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-10-10binding: mediascanner: don't add directories from local scanMatt Ranostay1-1/+12
Bug-AGL: SPEC-934 Change-Id: Ia881763c7c062f4a6aff74d43173fd19afdf3f4e Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-10-10binding: mediascanner: scan for local media firstMatt Ranostay3-7/+6
Scan for local media first to allow the playlist to be concise. Bug-AGL: SPEC-934 Change-Id: Ic3d1b3e80fd67ac79d4d51b602754d81a2ebf903 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
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>