Bug 391900 - media player buttons
Summary: media player buttons
Status: RESOLVED INTENTIONAL
Alias: None
Product: kdeconnect
Classification: Applications
Component: android-application (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Albert Vaca Cintora
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-15 22:04 UTC by ghavamikia
Modified: 2019-02-23 00:19 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ghavamikia 2018-03-15 22:04:05 UTC
not sure if this was mentioned in a bug report, issues around media player buttons on android mobile app, my only experience is VLC and spotify, firstly they're very different, but vlc seems more complete so I'll talk about that, secondly the play button disappears on pausing the vlc, 
the last two issues are more feature requests..., 
please could the fast fwd / rwd be able to be held down in some fashion, perhaps by double or long pressing the icons, so we move in more than 10s increments in a smooth fashion, maybe these two flanking a slider, like the volume slider, to move along the picture that way,...  and the other is the same requests for the volume,  could buttons be placed adjacent to the slider, and behave in the same fashion but with respect to volume, ie incremental up and down changes as well as long press continuos change...
Comment 1 Nicolas Fella 2018-03-25 14:40:01 UTC
The MPRIS implementations of VLC and Spotify are kinda broken, so there is not much we can do about that.

There already is a slider which can be used to seek arbitrarily if the player supports it. We don't see the benefit of long-pressing the button. 

Same for the volume, we don't really see the need for additional buttons that do things that can be done already.

Every new element that we add makes it harder for us to maintain the code, so we don't like to add complexity when there is little benefit.

Sorry
Comment 2 ghavamikia 2018-03-25 15:51:25 UTC
Ah ok, I was thinking the buttons in addition to the slider for precision even though it does same thing, the slider is pretty blunt when trying to incrementally fast Fwd a 2 hour film for example. But I take your point it s not in your control and the complexity it adds etc is fair enough
Comment 3 Antaniker 2018-04-14 08:42:19 UTC
But the KDE/Plasma 5.12.4 Lock-Screen has a working play/pause button for the VLC player! In kde-connect application the play button is grayed out after pause is clicked and in Android message system the pause button disappears.

As a workaround i find a dbus command for kde-connect:
dbus-send --print-reply --session --dest=org.mpris.MediaPlayer2.vlc /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause

Tested with vlc 3.0.1-2 and kde-connect 1.3.0-1