Play Control

Plasma 4 Widgets

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on git.opendesktop.org

1
Score 68%
Description:

This is a tiny plasmoid that can control media players using the mpris DBus API (including some workarounds for broken media players). With this you can assign global hotkeys for media player actions (toggle play/pause, next song, previous song, stop, ...) and the shortcuts will control whichever media player is currently running. If there are several media players running at the same time you can choose the one you want to control from a list.

For VLC users:
You might have to enable the D-Bus interface before you can use this plasmoid. You can do so under Tools -> Preferences (Show settings: All) -> Interface -> Control interfaces -> D-Bus control interface

Last changelog:

4 years ago

1.2.5
Double clicking player icons triggers play.

1.2.4
FIX: load config on startup, even if no configChanged signal is fired

1.2.3
Added command based player preset for "Steam Music"

1.2.2
FIX: Refresh command based players after settings change.

1.2.1
NEW: Web socket server supports SSL/TLS (wss://) so it can be used on https web pages.
NEW: Web socket server logfile
Fix icons sometimes not going away after a player exists (and resolved possible ref loop)

1.2.0
NEW: Web socket server to which web apps can connect. Currently only supported by http://greattuneplayer.jit.su/ (also written by me). A browser plugin that adds this feature to more sites might follow later.

1.1.0
NEW: Configure a non-dbus player controlled via shell commands.

1.0.5
handle dbus errors more gracefully
layout improvements

1.0.4
Support for version 2 of the mpris API.
Automatically change selection to the last used player. This means if no player is playing and a player starts playing (e.g. you clicked play in the said player) the selection changes to this player.

1.0.3
Seeking support
Fixed strange crash when refreshing player list

1.0.2
Better workaround for play/pause in VLC
Nice context menu

sofianedz

4 years ago

how i can install on linux mint kde

Report

C

panzi

4 years ago

Rightclick on Plasma Overlay/Desktop (-> Unlock Widgets) -> Add Widgets... -> Get new widgets -> Download New Plasma Widgets -> Search for "Play Control" -> click install on the entry called "Play Control" By panzi

If you still have problems ask again. :)

Report

bastafidli

6 years ago

Awesome widget and I especially like it now when the buttons are small enough to be displayed directly in the panel. Thank you so much! Would it be possible to support also vertical panels so that the buttons can be stacked vertically above each other?

Report

C

panzi

6 years ago

Yes, it would be be _possible_. But I won't implement this because I don't use it in the panel at all. If you want this feature you have to implement it yourself. :)

Report

avi9526

7 years ago

good widget, but don't work for me in kubuntu 11.10 (((

Report

C

panzi

7 years ago

How does it not work? What is the error message? With which media player do you use it?

Report

avi9526

7 years ago

kde dont want install it, say that appear error. I try install it from file. I rename this file and it install well. Seem's kde little bug. Now it work. Sory( Thanks 4 widget

Report

C

panzi

7 years ago

Glad it works for you now.

Report

Murz

7 years ago

Is MPD player supported? If no, can you add support for it?

Report

C

panzi

7 years ago

If this MPD player supports the mpris D-Bus API then it's supported. What does `qdbus org.mpris.*` say on your system? I won't add any other methods than D-Bus, because that's all I use.

Report

Murz

7 years ago

It returns empty, so mpd don't have DBUS support. I have found another plasmoid for control mpd: http://kde-apps.org/content/show.php?action=content&content=140412

Report

unhammer

7 years ago

or you can run mpdris2 to give mpd mpris support: https://github.com/eonpatapon/mpDris2

Report

satch

7 years ago

The buttons, in panel, too large

http://itmages.ru/image/view/258508/380553ed

Report

C

panzi

7 years ago

I'ts not meant to be used in the panel. If you want to use it like that you have to adapt the code yourself. ;)

Report

4 years ago

1.2.5
Double clicking player icons triggers play.

1.2.4
FIX: load config on startup, even if no configChanged signal is fired

1.2.3
Added command based player preset for "Steam Music"

1.2.2
FIX: Refresh command based players after settings change.

1.2.1
NEW: Web socket server supports SSL/TLS (wss://) so it can be used on https web pages.
NEW: Web socket server logfile
Fix icons sometimes not going away after a player exists (and resolved possible ref loop)

1.2.0
NEW: Web socket server to which web apps can connect. Currently only supported by http://greattuneplayer.jit.su/ (also written by me). A browser plugin that adds this feature to more sites might follow later.

1.1.0
NEW: Configure a non-dbus player controlled via shell commands.

1.0.5
handle dbus errors more gracefully
layout improvements

1.0.4
Support for version 2 of the mpris API.
Automatically change selection to the last used player. This means if no player is playing and a player starts playing (e.g. you clicked play in the said player) the selection changes to this player.

1.0.3
Seeking support
Fixed strange crash when refreshing player list

1.0.2
Better workaround for play/pause in VLC
Nice context menu

File (click to download) Version Description Downloads Date Filesize DL OCS-Install
Pling
Details
license
version
1.2.5
updated Dec 03 2014
added Aug 13 2011
downloads today
0
page views today 4