summaryrefslogtreecommitdiff
path: root/daemon/musicmanager.cpp
AgeCommit message (Collapse)Author
2015-04-19Remove MPRIS volume checkAndrew Branson
2015-04-17Debug line at the end of constructor no longer necessaryAndrew Branson
2015-04-17Fix checking to see if we should bail out of a music command if there'sAndrew Branson
no music player running. Allow only volume controls, and only if system volume is enabled.
2015-04-17Test MPRIS volume control to see if the setting changes when we alterAndrew Branson
it. If it fails, use system volume instead, if enabled by config property.
2015-04-17Connect to PulseAudio and read maximum volume in the constructor insteadAndrew Branson
of every time a volume button is pressed. Disconnect in destructor.
2015-04-17Switched volume control to control system volume via PulseAudio P2PAndrew Branson
DBus. Enable volume controls when no MPRIS is available.
2015-01-03Merge remote-tracking branch 'javispedro/js-testing'Tomasz Sterna
Conflicts: daemon/daemon.pro daemon/dbusconnector.cpp daemon/manager.cpp daemon/watchcommands.cpp daemon/watchcommands.h daemon/watchconnector.cpp daemon/watchconnector.h log4qt-debug.conf log4qt-release.conf rpm/pebble.spec rpm/pebble.yaml
2014-12-13do not listen for every d-bus owner changeJavier
rather, just update the current mpris service when a signal comes in; seems much more efficient.
2014-12-12minor cleanupJavier
2014-12-12move the mpris tracking into musicmanagerJavier
2014-11-30allow receiving responses to commands in watchconnectorJavier
* the skeleton is in place for watchconnector to allow query->response messages. I've used call/cc style because it is impossible to make QBluetoothSocket synchronous (waitForReadyRead() is a no-op) * remove watchcommands, instead create musicmanager to listen for the music endpoint. The other (simpler) endpoints are now listened in watchconnector itself. hangupAll() slot is moved to voicecallmanager. * instead of emitting signals for each received message, listeners can now register for receiving messages targeted towards a given endpoint * when reading from bluetoothsocket, properly handle short reads * remove useless 'watch' namespace * create appmanager, which mantains a database of installed apps (installed on the phone, that is; watch installed apps will come later) * all the *Managers are now instantiated by the main Manager itself * introduce Unpacker helper class for decoding watch messages * implement getAppbankStatus and getAppbankUuids messages and response parsers * remove file logging for now (20MB is bad for eMMC!) * use dbus object path /org/pebbled instead of /