Mini Player

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

13
Score 82.0%
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:

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

C

Emdek

7 years ago

Tested (however using Qt 4.8) and I can confirm only issues with seek slider (using MP3 files), it appears that Phonon (Phonon::MediaObject() object) returns invalid track duration (always 0).

Can you confirm that in playlist view there is no information for track length (title and artist are extracted correctly, of course if set ;-))?

Report

dovidhalevi

7 years ago

Author unknown on mp3s since I did not tag any of them.
No author on wavs
No track length on either.

The gstreamer/phonon is from Debian, possibly experimental since from there is kde4.7

Report

C

Emdek

7 years ago

Thanks for confirmation, I'll ask on IRC.
It looks like backend bug, it's funny that current time is returned correctly...

Report

C

Emdek

7 years ago

1. In this case compare with Dragon Player / other Phonon based player, all must play the same files.
2. In which conditions? Seek slider was enabled, you could play something else etc?
3. Changing has no effect or shown incorrect value?
4. You mean seek slider?

Report

dovidhalevi

7 years ago

1. Dragon also does not play mp3. BTW, unless one wants to front for mplayer, vlc is still the most reliable, will usually work without much fuss.
2. Volume control did not do anythings, did not bring up a slider, nada.
3. The position slider moves, that is, until I moved it too far :-)

Report

C

Emdek

7 years ago

Which backend are you using?
The only tested and fully working is GStreamer (other at least can't display video on QGraphicsView, at least versions that I have installed).

If it would crash the I would at least know where to search if bactrace would be good. ;-)

Report

dovidhalevi

7 years ago

Gstreamer it is. Xine is also available but I have never done well with it.

Report

C

Emdek

7 years ago

This is weird, I've tested it a bit using Project Neon to check if that inverted colors bug is really fixed i that version of backend (it is) and haven't noticed nothing wrong (but that was just checking video for few seconds)...
I'll later test it more extensively using that version, using Kubuntu package 4.4.7really4.5.0 (this is package version here :-D) it works fine.

Also, was 4.5.1 already released or this is git snapshot?

Report

C

Emdek

7 years ago

That's even more interesting then...
Which version of KDE, Qt, phonon-gstreamer and which distribution you have?

Report

dovidhalevi

7 years ago

Running Debian Sid (unstable), KDE4.7 (from experimental), Gstreamer 4.51

Report

9

buschmann23

7 years ago

I tried version 2.0 on openSUSE 12.1 (KDE 4.7.2, Qt 4.7.4, GStreamer backend). When I watch a video the sound is ok, but the video part is only shown in few images that seems only to change when I set the mouse pointer over the plasmoid. In the end the plasma desktop is frozen and does not reply anymore.

But when I switch to fullscreen and then back, it works.

Report

C

Emdek

7 years ago

That's a known bug, and technically speaking, nothing freezes, only widget is not properly updated. ;-)

I'm going to get KDE (and Phonon too) from git in next days and check what is fixed there (including stuff related to optical discs).

Report

9

buschmann23

7 years ago

Ah, ok. :)

Another thing: I have built packages for Fedora which can be found here:

http://download.opensuse.org/repositories/home:/buschmann23:/Fedora/

Report

C

Emdek

7 years ago

Thanks. :-)

I've added workaround, try code from master of git repository (link in description).
It's not perfect but seems to not cause bigger CPU usage (well, even smaller) with enough smooth video (update each 50 milliseconds).
That's weird that methods used before do not want to work anymore, maybe I'll ask on IRC or at least check sources of Plasma VideoWidget (not usable for this applet because of much more complicated usage - 3 separate output modes).

Report

9

buschmann23

7 years ago

Is it normal to have video output only in fullscreen mode? When playing a video file I am only seeing the control elements, but no video like on your screenshots. When I toggle fullscreen on there I can see the video.

System:
Qt: 4.7.4
KDE: 4.7.3
GStreamer-Backend

Report

C

Emdek

7 years ago

I'm experimenting right now with more automatic approach, since we can't display video on more than one surface at once, and I personally like option to show it in dialog (most useful when embedded in panel) so I'll remove configuration option to choose between them (it was added only because Phonon used to fail on QGraphicsView) and determine using other factors, height should be enough (if controls are visible and is not tall enough then video will be displayed in dialog).

Report

9

buschmann23

7 years ago

Arrrgh, if one could read it would be better... My question was already answered in one of your previous posts.... Sorry... ;)

Report

9

buschmann23

7 years ago

Is it possible to stream content from the internet, like movie files on a HTTP server? For example this one: http://tagesschau.vo.llnwd.net/d3/video/2011/1201/TV-20111201-2110-1301.webm.ogv

Report

C

Emdek

7 years ago

Apparently it also works on desktop. :-)
So maybe it's time to a bit redo some parts to better conform current Phonon situation (but still it will be ported away, for new features).

Report

9

buschmann23

7 years ago

Oh, now I have found the URL opener. :)

Report

C

Emdek

7 years ago

Now URL opener is available for add button in playlist dialog, using long press (I tried to use the same method for open button in applet but using standard things it looks ugly and doesn't work correctly..).

Also controls visibility (for each one separately, instead of all visible or not) is now finally configurable.

Report

C

Emdek

7 years ago

It's a bit hidden (like other advanced features). ;-)
I'm planning to add menu shown when pressed for longer time (both open and add to playlist buttons).
There is also plan to add configuration to select visible controls (that one caused compilation error).

Report

C

Emdek

7 years ago

Yes, but this depends on Phonon backend.
It works for me with GStreamer, however I can get only video in fullscreen and with "Smurf effect" (too much blue). ;-)
I'll check if the video situation can be improved before starting full port to QtMultimediaKit.

Report

sl1pkn07

7 years ago

tranks for the update!

i use this plasmoid for listen digital imported radio

is very simply and small. and working with the mplayer phonon backend :3

http://wstaw.org/m/2011/12/01/plasma-desktopPjk846.png
http://wstaw.org/m/2011/12/01/plasma-desktopBdW846.png

greetings and thanks!

Report

9

buschmann23

7 years ago

When I try to comile it I receive the following error:
Quote:/home/abuild/rpmbuild/BUILD/miniplayer-1.1/applet/MiniPlayerApplet.h:66:25: fatal error: ui_controls.h: No such file or directory

In the ui directory there is also no controls.ui file.

Report

7 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
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
pageviews 24h 5