summaryrefslogtreecommitdiffstats
path: root/app/lightmediascanner.cpp
AgeCommit message (Collapse)AuthorFilesLines
2017-04-21lightmediascanner: correctly disconnect database connectionMatt Ranostay1-0/+6
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/+15
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/+42
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>