<table><tr><td style="">nicolasfella created this revision.<br />nicolasfella added a reviewer: KDE Connect.<br />nicolasfella added a project: KDE Connect.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D7992" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>This plugin allows controlling the system value from a remote device. It works pretty well except for the following issues:</p>

<ul class="remarkup-list">
<li class="remarkup-list-item">if multiple audio sinks are available only the one returned by <span class="phabricator-remarkup-mention-unknown">@DEFAULT_SINK</span>@ can be controlled</li>
<li class="remarkup-list-item">the remote device won't know if the user changes the volume in another way</li>
</ul>

<p>While the first one can be easily fixed by adding a volume slider for each sink there is no easy fix for the second, because there is no commad like get-sink-volume in pactl. I already filed a bug about this <a href="https://bugs.freedesktop.org/show_bug.cgi?id=102998" class="remarkup-link" target="_blank" rel="noreferrer">https://bugs.freedesktop.org/show_bug.cgi?id=102998</a> . We either have to wait until this gets fixed (maybe I will write a patch myself) or use libpulse directly, which would our work more complex.</p>

<p>Though unfinished I'm showing it to get some early feedback. See corresponding Android patch</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Apply Android patch, open up MPRIS Activity and play with the slider</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R224 KDE Connect</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D7992" rel="noreferrer">https://phabricator.kde.org/D7992</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>plugins/CMakeLists.txt<br />
plugins/systemvolume/CMakeLists.txt<br />
plugins/systemvolume/README<br />
plugins/systemvolume/kdeconnect_systemvolume.json<br />
plugins/systemvolume/systemvolumeplugin.cpp<br />
plugins/systemvolume/systemvolumeplugin.h</div></div></div><br /><div><strong>To: </strong>nicolasfella, KDE Connect<br /><strong>Cc: </strong>KDE Connect, daniel.z.tg, jeanv, tfella, seebauer, bugzy, progwolff, MayeulC, menasshock, ach, apol<br /></div>