Source i (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
Become a Fan
7.8

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:

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


Ratings & Comments

14 Comments

sofianedz

how i can install on linux mint kde

panzi

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. :)

bastafidli

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?

panzi

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. :)

avi9526

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

panzi

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

avi9526

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

panzi

Glad it works for you now.

Murz

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

panzi

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.

Murz

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

unhammer

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

satch

The buttons, in panel, too large http://itmages.ru/image/view/258508/380553ed

panzi

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. ;)

Pling
0 Affiliates
Details
license
version 1.2.5
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 0

More Plasma 4 Extensions from panzi:

Folderview: Translucent Dragging
panzi
last update date: 13 years ago

Score 7.0

Smooth Tasks
panzi
last update date: 14 years ago

Score 8.6

Other Plasma 4 Extensions:

Icon Tasks deb build
N00bun2
last update date: 13 years ago

Score 4.3

Prayer Times Plasmoid
riyad
last update date: 12 years ago

Score 5.2

KPrayertime4 Islamic Prayer Times
ahaq
last update date: 15 years ago

Score 4.4

Hostinfo
mgraesslin
last update date: 13 years ago

Score 4.7

Monitor QuadCore Russian
kuchumovn
last update date: 16 years ago

Score 5.0

blaKjaK
werevire
last update date: 15 years ago

Score 5.0