From 1495154b353db6793eb1bfecf2bcc01e9dea29ff Mon Sep 17 00:00:00 2001 From: codestation Date: Fri, 4 Apr 2014 12:30:46 -0430 Subject: [PATCH] Updated readme and changelog. --- ChangeLog | 1 + README.md | 23 +++++++++++++++++++++++ 2 files changed, 24 insertions(+) diff --git a/ChangeLog b/ChangeLog index 988e997..f2ded89 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,6 @@ qcma (0.3.0) unstable; urgency=low + * Headless qcma version. * Set the default video codec to h264 is metadata skip is enabled. * Delay the progress dialog by one second so it doesn't show on quick scans. * Do not show the disconnect message if no connection is established. diff --git a/README.md b/README.md index 175ef93..f239865 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,29 @@ official CMA and also offer some features missing in the original one. #### Planned features * **Android version**: port of Qcma to Android. +## Headless version + +There is a qcma_cli binary that doesn't need a X session running (useful for servers). +The daemon provides minimal interaction via dbus. Here are some usage examples: + +#### Send a signal to refresh the database + +``` +dbus-send --session --type=method_call --dest=org.qcma.HeadlessManager /HeadlessManager org.qcma.HeadlessManager.refreshDatabase +``` + +#### Send a signal to stop the daemon + +``` +dbus-send --session --type=method_call --dest=org.qcma.HeadlessManager /HeadlessManager org.qcma.HeadlessManager.stop +``` + +#### Receive confirmation when the database finished updating + +``` +dbus-monitor "type='signal',sender='org.qcma.HeadlessManager',member='databaseUpdated'" +``` + ## Dependencies * [Qt 4.x or 5.x](http://qt-project.org/)