summaryrefslogtreecommitdiffstats
path: root/app/lightmediascanner.h
AgeCommit message (Collapse)AuthorFilesLines
2017-06-02binding: remove non-binding lightmediascanner detectionMatt Ranostay1-41/+0
Switch to binding over raw DBus commands for media detection. Bug-AGL: SPEC-610 Change-Id: Icf924000d721d92a1056962e55f5c2c75f159ee5 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-04-21lightmediascanner: correctly disconnect database connectionMatt Ranostay1-0/+1
To avoid the following message, the SQL connection needs to be probably : QSqlDatabasePrivate::addDatabase: duplicate connection name 'qt_sql_default_connection', old connection removed. Bug-AGL: SPEC-483 Change-Id: I8bc82503156c4b8f58ae8ecc9c186388106ddd00 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-04-14dbus: add signal support for removable mediaMatt Ranostay1-0/+5
Detect media insertation and removal from lightmediascanner and update the playlist accordingly. This makes some assumptions that only one media device will available at a time. Bug-AGL: SPEC-484 Change-Id: I8300abce3ac09c9cd0327c9d90892e3c5171d8d2 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-03-11Add initial support for lightmediascannerMatt Ranostay1-0/+35
Initial support only checks that paths in lms database are valid and adds to playlist. Change-Id: I840414c51964122ee485c2c168fbe5bb81e48652 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>