aboutsummaryrefslogtreecommitdiffstats
path: root/meta-agl-profile-core/recipes-multimedia
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2018-09-19 04:20:07 +0300
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2018-09-25 09:57:00 +0000
commit065eb6fcd2a27d8b39d2ac21c91606ca96d67cf5 (patch)
tree4a4b167db4b0a6f1daa449ecdba28cec1b4b5b41 /meta-agl-profile-core/recipes-multimedia
parent639fbf7907f90de114ecc176be2ff2dbb6a56434 (diff)
recipes-multimedia: lightmediascanner: save database to /tmp/$UID/lightmediascannerd.dbguppy_6.90.0guppy/6.90.06.90.0
To prevent using a corrupted SQLite3 database that is possible with cheap USB media it is better to generate on every bootup. Bug-AGL: SPEC-1744 Change-Id: I2da9f71697ecf04f37f6f0141a46c57c059169b6 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'meta-agl-profile-core/recipes-multimedia')
-rw-r--r--meta-agl-profile-core/recipes-multimedia/lightmediascanner/files/lightmediascanner.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-agl-profile-core/recipes-multimedia/lightmediascanner/files/lightmediascanner.service b/meta-agl-profile-core/recipes-multimedia/lightmediascanner/files/lightmediascanner.service
index 33cf27ed0..e53b24719 100644
--- a/meta-agl-profile-core/recipes-multimedia/lightmediascanner/files/lightmediascanner.service
+++ b/meta-agl-profile-core/recipes-multimedia/lightmediascanner/files/lightmediascanner.service
@@ -4,7 +4,7 @@ Description=Lightmediascanner (LMS)
[Service]
Type=dbus
BusName=org.lightmediascanner
-ExecStart=/usr/bin/lightmediascannerd --startup-scan --directory=/media --directory=${HOME}/Music --directory=${HOME}/Videos
+ExecStart=/usr/bin/lightmediascannerd --startup-scan --db-path=/tmp/%U/lightmediascannerd.db --directory=/media --directory=%h/Music --directory=%h/Videos
[Install]
WantedBy=default.target