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 opencode.net

1
Score 80.0%
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:

5 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

7 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

7 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

9

avi9526

8 years ago

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

Report

C

panzi

8 years ago

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

Report

9

avi9526

8 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

8 years ago

Glad it works for you now.

Report

Murz

8 years ago

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

Report

C

panzi

8 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

8 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

9

unhammer

8 years ago

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

Report

satch

8 years ago

The buttons, in panel, too large

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

Report

C

panzi

8 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

5 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

12345678910
12
product-maker divide Sep 08 2014 9 excellent
product-maker audoban Mar 23 2014 9 excellent
product-maker frag Feb 10 2014 9 excellent
product-maker unikum111 Feb 06 2014 9 excellent
product-maker RAIDENSUB Dec 30 2013 9 excellent
product-maker evgom Dec 12 2013 9 excellent
product-maker posixru Jun 13 2012 9 excellent
product-maker lionhater Apr 29 2012 9 excellent
product-maker unhammer Nov 28 2011 9 excellent
product-maker avi9526 Oct 13 2011 9 excellent
product-maker Pyruzan Aug 17 2011 9 excellent
product-maker Contrast Aug 15 2011 9 excellent
product-maker Base: 4 x 5.0 Ratings
Be the first to comment
Mte90
Aug 15 2011
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
1.2.5
updated Dec 03 2014
added Aug 13 2011
downloads 24h
0
mediaviews 24h 0
pageviews 24h 6