Skip to content

Zer0C001/jolla_headset_button

Repository files navigation

TODO:

  1. add startup script

  2. add install instructions

  3. package and upload to openrepos.net ?

USAGE:

  1. You need to have python and dbus-python installed.

  2. Patch /usr/lib/qt5/qml/com/jolla/mediaplayer/AudioPlayer.qml using audioplayer_dbus.patch, to make the stock jolla-mediaplayer MPRIS compatible ( http://specifications.freedesktop.org/mpris-spec/latest/ ).

  3. run ./tmp.py or './tmp.py start' to start daemon ; './tmp.py stop' to stop it; './tmp.py restart' to restart daemon; './tmp.py debug' to debug it ( it will not release the tty and will print messages to it );

  4. 1 press will hangup an active call, answer an incomming one or pause/play the music player ( only for MPRIS compatible players ). 2 presses skip to the next song. 3 presses go to the previous song.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages