Mini Player

Plasma 4 Extensions

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

13
8 .2
Description:

Advanced media player for Plasma which lets you to listen to your favorite music and watch videos directly on your desktop.
Developed and tested on KDE 4.8 with Qt 4.8 (Kubuntu 12.04).

Warning!
Video output has inverted colors with older versions of GStreamer backend (which is recommended), https://bugs.kde.org/show_bug.cgi?id=234019.

Source (main repository, with more frequent updates) is located at:
https://github.com/Emdek/plasmoid-mini-player/

Features:
- multiple playlists support;
- ability to import from PLS, M3U, XSPF and ASX playlist formats;
- ability to export to PLS and M3U playlist formats;
- streams support;
- optical discs support;
- full MPRIS2 D-Bus interface to control player (disabled by default);
- basic video settings;
- drag and drop support;
- possibility to start playback of last used playlist on startup;
- keyboard shortcuts:
-- pausing and playing (Space);
-- stopping playback (S);
-- play next and previous track (Page Up and Page Down);
-- seeking video (left and right arrow);
-- changing volume (+ and -) and (un)mute (M);
-- toggling full screen (F);
-- toggling controls visibility (C);
-- toggling play list visibility (P);
-- accessing volume slider (V);
-- accessing file open dialog (O);
-- accessing URL open dialog (U);
-- accessing jump to position dialog (G).

If you have found bugs or have suggestions you can contact me via email, message or using comments, before you will vote bad.
And remember that not everybody has enough time for fast replying. ;-)

Don't be silly, don't vote bad just for fun!
Last changelog:

8 years ago

2.5 (01.07.2012):
- allow to toggle playback state using single mouse click on video widget;
- move tracks instead of copying them when dragging inside playlist view;
- try to avoid showing tooltip when there is full screen window;
- allow to copy tracks between tabs by dragging them;
- switch tabs when dragging URLs over their handles;
- allow to copy selected tracks to another playlist;
- added support for media buttons;
- allow to select multiple tracks;
- some other fixes.

2.4 (25.05.2012):
- updated DBus interface to MPRIS2 specification;
- added Current Track Once playback mode;
- fixed Play Previous and Play Next actions;
- enable Apply button when configuration values are changed;
- added Play Previous and Play Next to set of available controls and to toolbars of playlist dialog and full screen view;
- some other fixes and lots of internal changes.

Kirilo

11 years ago

Do you mean the Dr. Konqi from KDE3? That's the only thing I found.

Report

C

Emdek

11 years ago

No, I'm talking about that from this package (but I'm not sure if this will really help):
http://rpm.pbone.net/index.php3/stat/4/idpl/12124246/com/kdebase4-runtime-debugsource-4.2.0-76.18.i586.rpm.html

Report

C

Emdek

11 years ago

You are testing it using plasmoidviewer?

If you are testing also on 4.3 then you can check if it works properly in mediaplayer applet from SVN (in kdereview/plasma/applets/), it uses the same class for video widget (my applet uses local copy, it is available in Plasma starting from 4.3).
You can also try to compile applet using original class, then you need to change included file in applet/MiniPlayer.h from: #include "VideoWidget.h" to: #include <Plasma/VideoWidget> and remove VideoWidget.cpp from applet/CMakeLists.txt file.
If this could be reproduced after that this means that this could be bug in Phonon (or one of backends) or something wrong in Plasma maybe (but still back trace would be best source of information).

Report

Kirilo

11 years ago

I tried to debug via gdb, but unfortunately my whole system freezes when reproducing the bug and at the moment I don't have Internet in order to install the debug packages I need.

Nevertheless, before the freeze I get a short message, maybe that's the location where the whole thing get stuck: On my 64-bit laptop with KDE 4.2.2 there something happens in /lib64/libdbus-1.so.3, on the 32-bit PC with 4.3svn I get /lib/libc.so.6.

HTH...

Report

Kirilo

11 years ago

Hello,

thanks for this nice plasmoid.
Unfortunately, I belong to the people, who don't get the picture (maybe this is a graphic driver issue, I don't get the picture in DP or kaffeine, too, when desktop effects are enabled; I have an ati graphic chip).

Nevertheless, the mini player is useful for listening of music (without the need to load amarok or the like).
So, would it be possible to add a customization option "hide the player window" in order to show just the buttons at the bottom for playing music?
That would be great!

Report

C

Emdek

11 years ago

Thanks. :-)

Problem with lack of video output most probably comes from Phonon / Qt side, now with Qt 4.5 I've no problems with it, but the same code (without modifications, only recompiled) had problems with Qt 4.4 but this could be distribution specific (as far as I know Mandriva team made some modifications in GStreamer backend but I'm not sure).

Good idea, this makes sense because black rectangle looks ugly (I hope that someone will later add support for audio visualizations in Phonon).
But unfortunately currently I don't have so much time to do that because some time ago I've started porting it to new widget for KDE 4.3 (but using local copy, so it could be used with KDE 4.2) and there are still some problems with for example not working buttons and position slider. I think that I could finish that in middle of April, but I can't promise...

Report

Kirilo

11 years ago

I already have Qt 4.5, so that can't be the reason.

Anyhow, thank you for your efforts!
Dziękuję :-)

Report

C

Emdek

11 years ago

So you have already Qt 4.5...
It's strange, because when I was using Qt 4.4 with KDE 4.1 / 4.2 I've always playback in Dragon Player (I'm not sure, but probably also with Composite, but I didn't use it too much because with my i915 integrated graphics card it wasn't working enough good with KDE 4.1) but not always in applet (also VideoWidget for KDE 4.3 didn't work for me then).

Report

OpenAugusto

11 years ago

Maybe you should look at Qt 4.5 and KDE 4.3 (nope, it isn't a typo) since some new implementations on Qt allow to insert videos directly on Plasma itself, look:

http://www.youtube.com/watch?v=g4co0WVGaTc

Report

C

Emdek

11 years ago

Thanks for information :-).
But there is no stable Qt 4.5 available and even KDE 4.2 final wasn't released already, so we must wait and use things that are available currently ;-).

Report

dglent

11 years ago

when i play a video i have the sound but i dont have the image

Report

C

Emdek

11 years ago

Maybe this video format is not supported by Phonon backend?
On my system only AVI files works good, with others video formats are problems sometimes (there is only sound or nothing happens).

Report

dglent

11 years ago

i try with .avi but i dont have image at all, only sound
may be a package is missing ? i have mandriva 2009 kde 4.1.3

Report

C

Emdek

11 years ago

It's strange, I also have Mandriva (but with KDE 4.1.2). All needed libraries should be installed with KDE (and it shouldn't build and work if even one is missing), so maybe this is a bug in the applet or something. Maybe codecs are missing? You can check if the same video works in Dragon Player, it should work similar in both player and applet.

Report

dglent

11 years ago

i try to play the same video in dragon and it is ok, but in the plasmoid i have only the sound. I tried more videos with no resaults
i have all the codecs installed

also sometimes when i click settings or load a file while a video "playing" plasma craches

Report

C

Emdek

11 years ago

I don't have any ideas why it does not work correctly, but I'll try to find a reason and try to fix it in the future versions.

Report

Ekardnam

11 years ago

It could depend on the Phonon backend. The widget notmart made only worked with phonon-gst as far as I know.

Report

8 years ago

2.5 (01.07.2012):
- allow to toggle playback state using single mouse click on video widget;
- move tracks instead of copying them when dragging inside playlist view;
- try to avoid showing tooltip when there is full screen window;
- allow to copy tracks between tabs by dragging them;
- switch tabs when dragging URLs over their handles;
- allow to copy selected tracks to another playlist;
- added support for media buttons;
- allow to select multiple tracks;
- some other fixes.

2.4 (25.05.2012):
- updated DBus interface to MPRIS2 specification;
- added Current Track Once playback mode;
- fixed Play Previous and Play Next actions;
- enable Apply button when configuration values are changed;
- added Play Previous and Play Next to set of available controls and to toolbars of playlist dialog and full screen view;
- some other fixes and lots of internal changes.

12345678910
16
product-maker DJKnusper Feb 16 2015 9 excellent
product-maker sealbhach Jul 01 2012 9 excellent
product-maker Contrast Jul 01 2012 9 excellent
product-maker gericom May 26 2012 9 excellent
product-maker lazx888 May 25 2012 9 excellent
product-maker CobraDOT May 11 2012 9 excellent
product-maker step-2 Mar 30 2012 9 excellent
product-maker stathisq Feb 26 2012 9 excellent
product-maker sylgil88 Dec 31 2011 9 excellent
product-maker mreloads Dec 07 2011 9 excellent
product-maker pejakm Dec 06 2011 9 excellent
product-maker tobaj Dec 05 2011 9 excellent
product-maker buschmann23 Dec 02 2011 9 excellent
product-maker deabru Dec 01 2011 9 excellent
product-maker symbianflo Dec 01 2011 9 excellent
product-maker vitoubien Dec 01 2011 9 excellent
product-maker Base: 4 x 5.0 Ratings
Be the first to comment
Landis
Nov 05 2015
nekoprog
Oct 01 2012
gericom
May 26 2012
HATRED
May 26 2012
tobaj
Dec 05 2011
wackenroader
Aug 20 2009
madsheytan
Aug 01 2009
doktor5000
Jul 24 2009
Kirilo
Jun 12 2009
CobraDOT
May 30 2009
patkoscsaba
May 12 2009
universe777
Apr 18 2009
Frank
Dec 23 2008
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
2.5
updated Jul 01 2012
added Dec 21 2008
downloads 24h
0
mediaviews 24h 0
pageviews 24h 1