D11021: [Media contoller] Add simple volume control
Radek HuĊĦek
noreply at phabricator.kde.org
Sun Mar 4 15:49:24 UTC 2018
Pitel created this revision.
Pitel added a reviewer: Plasma.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.
Pitel requested review of this revision.
REVISION SUMMARY
Add simple volume control to Media Controller applet. Volume can by changed by:
- mouse wheel on applet icon (3 % step), and
- new global shortcuts (5 % step, unbound by default).
There is no mute support currently (mpris interface does not have a mute method so we would have to keep
track of old volume).
Currently the patch does only prevent volume from being negative but it will try to set volume larger than 1 (mpris spec
does not prevent players from using larger volumes).
TEST PLAN
Tested in daily use with Cantata and SMPlayer. There is no UI change.
REPOSITORY
R120 Plasma Workspace
REVISION DETAIL
https://phabricator.kde.org/D11021
AFFECTED FILES
applets/mediacontroller/contents/ui/main.qml
dataengines/mpris2/multiplexedservice.cpp
To: Pitel, #plasma
Cc: plasma-devel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180304/e7098fd7/attachment.html>
More information about the Plasma-devel
mailing list