Bug 428507 - Multimedia Control - App Volume doesnt work!
Summary: Multimedia Control - App Volume doesnt work!
Status: REPORTED
Alias: None
Product: kdeconnect
Classification: Applications
Component: android-application (other bugs)
Version First Reported In: 1.10
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: Albert Vaca Cintora
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-31 14:03 UTC by voojj3054
Modified: 2020-11-01 17:38 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description voojj3054 2020-10-31 14:03:11 UTC
SUMMARY
Manjaro and Xubuntu doesnt work with this bug. I'm actually using manjaro latest version 

STEPS TO REPRODUCE
1. Download KdeConnect, pair phone
2. Play music at chromium or firefox, try to slow or up volume
3. 

OBSERVED RESULT
Reducing or addicting volume doesnt work. It does work to change volume on device, but not on application-only.

EXPECTED RESULT
Able to change volume of playing song in firefox or chromium with kde connect app


SOFTWARE/OS VERSIONS
Windows: Never
macOS: Never
Linux/KDE Plasma: 5.18
(available in About System)
KDE Plasma Version: 5.18
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Nicolas Fella 2020-10-31 14:22:01 UTC
I tried to control the volume directly using the MPRIS DBus interface and volume control doesn't work that way either. That indicates that the problem is Chrome's/Firefox's MPRIS implementation. Spotify is known to be broken to us too.

VLC works for me though, so if that works for you too then the problem is most likely not caused by KDE Connect
Comment 2 voojj3054 2020-10-31 22:59:16 UTC
(In reply to Nicolas Fella from comment #1)
> I tried to control the volume directly using the MPRIS DBus interface and
> volume control doesn't work that way either. That indicates that the problem
> is Chrome's/Firefox's MPRIS implementation. Spotify is known to be broken to
> us too.
> 
> VLC works for me though, so if that works for you too then the problem is
> most likely not caused by KDE Connect


if the problem is with firefox MPRIS DBus interface, why not use kde plasma interface instead? like remotely changing kde menu application/pulseaudio/applications volume? Its a way better approach as it will works with any application regardless of the DBus interface.
Comment 3 voojj3054 2020-10-31 23:08:42 UTC
btw no browser works I tried even opera
Comment 4 Nicolas Fella 2020-11-01 17:33:42 UTC
Report for Firefox: https://bugzilla.mozilla.org/show_bug.cgi?id=1674654

Opera is most likely using the exact same implementation as Chrome.

>if the problem is with firefox MPRIS DBus interface, why not use kde plasma interface instead?

Do you mean going via PulseAudio like the audio applet does? That has the problem that there is likely no trivial way to map from a MPRIS player to a PulseAudio stream.

Besides that it would be in the best interest for everyone if the app's MPRIS interfaces were fixed instead of working around the problem
Comment 5 voojj3054 2020-11-01 17:38:51 UTC
I guess I wasnt much clear tbh, 

Don't get rid of thje player , but just change settings at system level.
example

When you volume up -> system.application.volume(+10) idk