Plasma 5 Multimedia mpris multimedia panel

Source (link to git-repo or to original if based on someone elses unmodified work): https://github.com/ismailof/mediacontroller_plus

10
8.1
Available as/for: -
Description:

This is a modified version of the offical mediacontroller plasma5 widget.

It provides the same functionality as the traditional mediacontroller widget, giving you control over every media player in your system (through the MPRIS2 protocol), but it adapts to more ratios and sizes, allowing you to have a nice media control even on the panel.

MINIMUM REQUIREMENTS:
- Qt Quick Controls > 2.4 (Qt > 5.11) // If using Ubuntu > 18.10 (it won't work on Ubuntu 18.04 LTS, sorry)
- To use it on latte: Latte Dock v0.9.3

* Full Representation (desktop, pop-up):
- Vertical View (same as in classic mediacontroller)
- Horizontal View: when the widget gets wider, the album art goes to the left
- Icon tab bar to select the player in a nicer and quicker way

* Compact Representation (panel, system tray):
- Compact View for panels. It keeps most of the functionality in a smaller size: icon/album art, track/artist, player controls and progress bar which uses the same style as the taskbar progress jobs.
- Minimal View for thinner panels, hiding the album art and progress bar
- Icon View for smaller sizes (same as in classic mediacontroller)

- Minimum (preferred) / Maximum widths configurable
- Some display options to personalize your widget
- Drag and drop any media file to open it on the selected player (the player has to support this option)

This is one of my first tries on qml and plasmoids, and I just wanted to have a nicer media player applet for my panel, while keeping the most of the classic widget untouched. Of course, my main wish would be for this changes to be integrated in the official mediacontroller applet, which I find kind of visually simple in its current state.
Last changelog:

Version 0.2.8 4 months ago

Bugfixes and polish:
- Fix text color on light themes
- Fix oneline width condition
- Fix media source icon and add fallback

kankolo

3 days ago

I don't know why but it shows the name of song and artist but not album, instead shows "Topic" any helps? And the widget when I resize it, after reboot it returns original size :(

Report

8

egoitzro

14 days ago

8 Hi, I have a problem with the widget and covers

file:///usr/share/plasma/plasmoids/org.kde.plasma.mediacontroller/contents/ui/ExpandedRepresentation.qml:478:17: QML ToolButton: Binding loop detected for property "icon.height"
file:///usr/share/plasma/plasmoids/org.kde.plasma.mediacontroller/contents/ui/ExpandedRepresentation.qml:466:17: QML ToolButton: Binding loop detected for property "icon.height"
file:///usr/share/plasma/plasmoids/org.kde.plasma.mediacontroller/contents/ui/ExpandedRepresentation.qml:457:17: QML ToolButton: Binding loop detected for property "icon.height"
file:///usr/share/plasma/plasmoids/org.kde.plasma.mediacontroller/contents/ui/ExpandedRepresentation.qml:445:17: QML ToolButton: Binding loop detected for property "icon.height"
file:///usr/share/plasma/plasmoids/org.kde.plasma.mediacontroller/contents/ui/ExpandedRepresentation.qml:424:17: QML ToolButton: Binding loop detected for property "icon.height"
qt.svg: :406:376: Could not add child element to parent element because the types are incorrect.
qt.svg: :407:130: Could not add child element to parent element because the types are incorrect.
qt.svg: :408:130: Could not add child element to parent element because the types are incorrect.
qt.svg: :408:393: Could not add child element to parent element because the types are incorrect.
qt.svg: :409:130: Could not add child element to parent element because the types are incorrect.
qt.svg: :410:129: Could not add child element to parent element because the types are incorrect.
qt.svg: :411:129: Could not add child element to parent element because the types are incorrect.
qt.svg: :412:129: Could not add child element to parent element because the types are incorrect.
qt.svg: :413:129: Could not add child element to parent element because the types are incorrect.
qt.svg: :413:379: Could not add child element to parent element because the types are incorrect.
qt.svg: :413:631: Could not add child element to parent element because the types are incorrect.
file:///usr/lib64/qt5/qml/org/kde/plasma/components.3/TabBar.qml:20: TypeError: Cannot read property 'implicitWidth' of null
file:///usr/share/plasma/plasmoids/org.kde.plasma.mediacontroller/contents/ui/ExpandedRepresentation.qml:47: TypeError: Cannot read property 'CanSeek' of undefined
file:///usr/share/plasma/plasmoids/org.kde.plasma.mediacontroller/contents/ui/ExpandedRepresentation.qml:45: TypeError: Cannot read property 'Rate' of undefined
file:///usr/share/plasma/plasmoids/org.kde.plasma.mediacontroller/contents/ui/ExpandedRepresentation.qml:44: TypeError: Cannot read property 'Position' of undefined
file:///usr/share/plasma/plasmoids/org.kde.plasma.mediacontroller/contents/ui/ExpandedRepresentation.qml:207: TypeError: Cannot read property 'Desktop Icon Name' of undefined
file:///usr/share/plasma/plasmoids/org.kde.plasma.mediacontroller/contents/ui/ExpandedRepresentation.qml:223: TypeError: Cannot

Report

8

egoitzro

14 days ago

property 'Desktop Icon Name' of undefined
file:///usr/share/plasma/plasmoids/org.kde.plasma.mediacontroller/contents/ui/ExpandedRepresentation.qml:137:9: QML Image: Cannot open: file:amarok-sqltrackuid://5e6006280f1d5c8c336f10f7b9d901bc
file:///usr/share/plasma/plasmoids/org.kde.plasma.mediacontroller/contents/ui/ExpandedRepresentation.qml:188:17: QML Image: Cannot open: file:amarok-sqltrackuid://5e6006280f1d5c8c336f10f7b9d901bc

Report

8

egoitzro

14 days ago

by the way I am using opensuse Tumbleweed

Report

sispus

3 months ago

Hi,
I cannot use the widget in Manjaro KDE. I seems installed successfully but doesn't appear among the widgets.

Report

9

vone

3 months ago

9 Great work! Is possible to hide text and leave only the buttons?

Report

10

IkiruOG

3 months ago

10 Great plasmoid!
But I would like more settings. For example, the ability to remove the control buttons or leave only the play/stop button.
I use it on a 24px panel.

Report

mascot26

4 months ago

10 Brilliant, has improved my latte dock loads. I'm using it as a divider between two halves and love how it expands to fill the gap. would it be possible to make it do that with a smooth animation? As it is the whole dock sort of jerks when I open/close a new task.

A few crude hacky changes I made that might make good features/changes:
- enabled album art to show in minimal view (my dock is ~48px high), this looks great sitting alongside task icons
- also disabled oneliner as it still looks good in minimalview the way I use it
- took most of the width off the expandedview pop out panel so it's just album art with the controls underneath
- changed the fonts

keep up the awesome work!
- made the play button launch spotify if nothings already playing

Report

C

ismail0f

4 months ago

Hi there, thanks for your words!

Let me answer some of your notes:

About the smooth animation, it's the panel which do the layout and animation. It is smooth for me on a regular plasma panel so maybe it's something that can be also added in latte.

The spotify bit, unfortunately is spotify's broken implementation of linux standards (and not caring about it).

There has also been requests for launching an app when no media is playing, so I'll try to implement it soon.

And finally the minimial view limit was in fact a bit high, and it was a popular request, so now it's set only on 30px or less.

Hope you enjoy it :D!

Report

mascot26

4 months ago

I actually noticed that after restarting the animation had become smooth, it may have just been that I'd messed around with latte so much that session, so you've nothing to worry about there.

That's unfortunate about spotify, but not all that surprising, linux has always been low priority for them.

Thank you for making those changes so quickly! I'm looking forward to seeing how this improves more over time, as good as it is already.

Report

mascot26

4 months ago

Oh, forgot to mention that scrollwheel to change the spotify volume doesn't work. It bring up the volume bar/spotify logo etc which changes as i scroll, but it doesn't actually make any changes in the application or to any system volume controls.

Still deserves a 10 though!

Report

mattiadallacosta

6 months ago

yo bro i have a problem, i cant install it, my pc isnt able to launch the installer

Report

10

fkorpsvart

6 months ago

10 10 the best

Report

10

herrbatka

6 months ago

10 This should be merged into the upstream.

Report

10

Nano-Ocelot

9 months ago

10 This is so good that it needs to be merged into Plasma upstream. Really impressed with it.

Report

10

Masque

10 months ago

10 With the latest fixes is perfect. It deserves to be in upstream.

Report

deadlock

10 months ago

This widget is awesome! much better than the default.

Now, i am just throwing ideas out there. there should be a layout where all the controls are on top of the cover image as opposed to being adjacent/below. For extra credit the controls only appear when you hover mouse over the music cover image. This is starting to sound like an entirely different widget, isn't?

Report

10

Masque

11 months ago

Thank you for this widget, it is has everything that's missing from the default one. Are you planning to propose your fork upstream? That would really be great!

There's one thing that I'd link to be implemented, while everything else is fine: to be able to set a fixed size in pixels. That would be useful when the widget is places on a panel beside a task manager widget that change size. In that case, I noticed that the media player widget changes size too.

Report

C

ismail0f

11 months ago

Hi there, thanks! You can already set a fixed width in the widget's config, if you just set the maximum and minimum to the same value.
About upstreaming it, I may try it soon and see what the plasma devs think about it.

Report

10

Masque

11 months ago

My fault! I hadn't noticed that the maximum could be changed. :-)

Report

marqs

1 year ago

Hi! I'm trying to add this on desktop, but I get error about QML file (.../org.kde.plasma.mediacontroller_plus/contents/ui/main.qml:186:34: Type ExpandedRepresentation unavailable) and "Cannot assign to non-existent property 'icon'". Kubuntu 18.04.3 (LTS), plasma-workspace (4:5.12.9-0ubuntu0.1). Installed mediacontroller_plus from Plasmoid download/install window.

Report

C

ismail0f

1 year ago

I'm sorry that it requires a higher version of Qt Quick Controls, which is not provided by Kubuntu 18.04.

Report

8

palacio

1 year ago

This is exactly what I've been looking for, thanks for sharing it. I have some suggestions:
I second the need for a maximum width option in panels. Also an option to disable the progress bar, it's distracting in a panel.
The controls flicker when the song changes and it's very noticeable. I think all the controls should always be visible even when they aren't necessary in the context, e.g. there's no previous song, so the buttons won't move or flicker at all on song changes.

Report

8

palacio

1 year ago

I noticed the previous/next icons change depeding on their location https://i.imgur.com/6ldEFur.png
Is it intentional?

There's a tooltip that appears when you hover the widget. Isn't it redundant?

Report

C

ismail0f

1 year ago

Now that I think better about that, the icons depend on your current plasma-theme, and they have smaller size on the panel than on the full applet. Which theme are you using? If the provide different icons for different sizes it'll show that way. Or else, if the theme miss the smaller icon size, it could show the default plasma one.

Report

Version 0.2.8 4 months ago

Bugfixes and polish:
- Fix text color on light themes
- Fix oneline width condition
- Fix media source icon and add fallback

Version 0.2.7 4 months ago

- Improved visuals on thinner panel sizes
- Minimal view is now set for 30px or below (with default system font)

Version 0.2.6 5 months ago

- Workaround to retrieve Spotify album art

Version 0.2.5 6 months ago

- Simplify labels on very thin panels
- Add tooltip to icons in media selector

Version 0.2.4 10 months ago

- Fix album cover padding
- Move progressbar behind other items

Version 0.2.3 1 year ago

- Show only one line on thin panel

Version 0.2.2 1 year ago

- Hability to show/hide background (works from Plasma 5.18)

Version 0.2.0 1 year ago

- Add configuration options to the panel view:
* Minimum/maximum width
* Show progress bar
* Hide disabled controls

Version 0.1.1 1 year ago

Fix sources tab-bar continuous update

12345678910
227
product-maker egoitzro Feb 21 2021 8 great
Hi, I have a problem with the widget and covers file:///usr/share/plasma/plasmoids/org.kde.plasma.mediacontroller/contents/ui/ExpandedRepresentation.qml:478:17: QML ToolButton: Binding loop detected for property "icon.height" file:///usr/share/plasma/plasmoids/org.kde.plasma.mediacontroller/contents/ui/ExpandedRepresentation.qml:466:17: QML ToolButton: Binding loop detected for property "icon.height" file:///usr/share/plasma/plasmoids/org.kde.plasma.mediacontroller/contents/ui/ExpandedRepresentation.qml:457:17: QML ToolButton: Binding loop detected for property "icon.height" file:///usr/share/plasma/plasmoids/org.kde.plasma.mediacontroller/contents/ui/ExpandedRepresentation.qml:445:17: QML ToolButton: Binding loop detected for property "icon.height" file:///usr/share/plasma/plasmoids/org.kde.plasma.mediacontroller/contents/ui/ExpandedRepresentation.qml:424:17: QML ToolButton: Binding loop detected for property "icon.height" qt.svg: :406:376: Could not add child element to parent element because the types are incorrect. qt.svg: :407:130: Could not add child element to parent element because the types are incorrect. qt.svg: :408:130: Could not add child element to parent element because the types are incorrect. qt.svg: :408:393: Could not add child element to parent element because the types are incorrect. qt.svg: :409:130: Could not add child element to parent element because the types are incorrect. qt.svg: :410:129: Could not add child element to parent element because the types are incorrect. qt.svg: :411:129: Could not add child element to parent element because the types are incorrect. qt.svg: :412:129: Could not add child element to parent element because the types are incorrect. qt.svg: :413:129: Could not add child element to parent element because the types are incorrect. qt.svg: :413:379: Could not add child element to parent element because the types are incorrect. qt.svg: :413:631: Could not add child element to parent element because the types are incorrect. file:///usr/lib64/qt5/qml/org/kde/plasma/components.3/TabBar.qml:20: TypeError: Cannot read property 'implicitWidth' of null file:///usr/share/plasma/plasmoids/org.kde.plasma.mediacontroller/contents/ui/ExpandedRepresentation.qml:47: TypeError: Cannot read property 'CanSeek' of undefined file:///usr/share/plasma/plasmoids/org.kde.plasma.mediacontroller/contents/ui/ExpandedRepresentation.qml:45: TypeError: Cannot read property 'Rate' of undefined file:///usr/share/plasma/plasmoids/org.kde.plasma.mediacontroller/contents/ui/ExpandedRepresentation.qml:44: TypeError: Cannot read property 'Position' of undefined file:///usr/share/plasma/plasmoids/org.kde.plasma.mediacontroller/contents/ui/ExpandedRepresentation.qml:207: TypeError: Cannot read property 'Desktop Icon Name' of undefined file:///usr/share/plasma/plasmoids/org.kde.plasma.mediacontroller/contents/ui/ExpandedRepresentation.qml:223: TypeError: Cannot
product-maker vone Nov 18 2020 9 excellent
Great work! Is possible to hide text and leave only the buttons?
product-maker IkiruOG Nov 14 2020 10 the best
Great plasmoid! But I would like more settings. For example, the ability to remove the control buttons or leave only the play/stop button. I use it on a 24px panel.
product-maker fkorpsvart Aug 15 2020 10 the best
10 the best
product-maker herrbatka Aug 15 2020 10 the best
This should be merged into the upstream.
product-maker Nano-Ocelot May 30 2020 10 the best
This is so good that it needs to be merged into Plasma upstream. Really impressed with it.
product-maker Masque Apr 25 2020 10 the best
With the latest fixes is perfect. It deserves to be in upstream.
product-maker palacio Sep 11 2019 8 great
8 great this add-on is very much needed. thanks!
product-maker frag Sep 04 2019 9 excellent
9 excellent
product-maker programie Sep 01 2019 10 the best
The original Media Controller widget just adds a button to show the player controls, but I wanted to have the player controls in a big panel on the side of my second screen. And this widget exactly does what I need. Thank you!
product-maker araujosi2u Aug 06 2019 10 the best
10 o melhor. Great job. I loved the widget with icons to switch between the players.
Be the first to comment
bassamanator
Sep 29 2020
Murz
Sep 17 2020
artdev
Jun 19 2020
mirkogennari
Jun 05 2020
Nano-Ocelot
May 30 2020
Masque
Mar 28 2020
renzoneru
Jan 05 2020
araujosi2u
Dec 16 2019
slm33
Oct 17 2019
programie
Sep 01 2019
File (click to download) Version Description Devices Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
GPLv2 or later
version
0.2.8
updated Oct 12 2020
added Aug 05 2019
downloads 24h
125
mediaviews 24h 0
pageviews 24h 21