Skip to content

Instantly share code, notes, and snippets.

@leon-anavi
Last active November 2, 2015 12:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leon-anavi/aac81bf02a2707622b31 to your computer and use it in GitHub Desktop.
Save leon-anavi/aac81bf02a2707622b31 to your computer and use it in GitHub Desktop.
lightmediascannerd
# dbus-launch --auto-syntax
DBUS_SESSION_BUS_ADDRESS='unix:abstract=/tmp/dbus-xGRBSOiGxU,guid=6f900accee0e5302bf4fa33f00000195';
export DBUS_SESSION_BUS_ADDRESS;
DBUS_SESSION_BUS_PID=755;
# ls /usr/share/media/
photos test192.flac test2-192.flac videos
# G_MESSAGES_DEBUG=all lightmediascannerd --startup-scan --directory=/usr/share/media 1>test.txt &
# grep db test.txt
** (lightmediascannerd:793): DEBUG: db-path: /home/root/.config/lightmediascannerd/db.sqlite3
# ls /home/root/.config/lightmediannerd/db.sqlite3
ls: cannot access /home/root/.config/lightmediannerd/db.sqlite3: No such file or directory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment