Giter VIP home page Giter VIP logo

mediacontroller_plus's People

Contributors

ismailof avatar roccodev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

mediacontroller_plus's Issues

[ Request ] - Maximum height

It would be nice if I could limit the height of the media player in a latter panel. So just like there is a max width option, a max height option would also be nice.

Furthermore an option to force one of the specific layouts would also be nice, regardless of absolute size.

Margins not working on LatteDock

Hi there. I was about to ask for a feature request for either a general margin or max height. My use case is slightly different than @Davincible, I'm using the widget on a Latte dock, and it looks a little out of scale with the other icons in the panel.

2021-07-13_12-12-14

I can specify a margin for items in Latte's own application widget through Latte's settings, but it has no effect on other widgets.

Thanks.

Edit: Sorry, pasted the totally wrong the screen shot initially.

Originally posted by @rubin110 in #19 (comment)

TypeError: Cannot read property

I have this in my syslog with plasma 5, @ismailof :

2024-03-22T11:28:25.174595+01:00 KITT plasmashell[1792]: file:///home/mte90/.local/share/plasma/plasmoids/org.kde.plasma.mediacontroller_plus/contents/ui/CompactRepresentation.qml:108:9: Unable to assign [undefined] to int
2024-03-22T11:28:25.174660+01:00 KITT plasmashell[1792]: file:///home/mte90/.local/share/plasma/plasmoids/org.kde.plasma.mediacontroller_plus/contents/ui/AlbumArt.qml:38: TypeError: Cannot read property 'Desktop Icon Name' of undefined
2024-03-22T11:28:25.174740+01:00 KITT plasmashell[1792]: file:///home/mte90/.local/share/plasma/plasmoids/org.kde.plasma.mediacontroller_plus/contents/ui/TrackInfo.qml:34:5: Unable to assign [undefined] to int
2024-03-22T11:28:31.587307+01:00 KITT plasmashell[1792]: Trying to use rootObject before initialization is completed, whilst using setInitializationDelayed. Forcing completion
2024-03-22T11:28:33.433988+01:00 KITT plasmashell[1792]: Trying to use rootObject before initialization is completed, whilst using setInitializationDelayed. Forcing completion
2024-03-22T11:28:33.971171+01:00 KITT plasmashell[1792]: file:///usr/share/ksysguard/sensorfaces/org.kde.ksysguard.linechart/contents/ui/LineChart.qml:57:9: Unable to assign [undefined] to int
2024-03-22T11:28:33.975633+01:00 KITT plasmashell[1792]: file:///home/mte90/.local/share/plasma/plasmoids/org.kde.plasma.mediacontroller_plus/contents/ui/AlbumArt.qml:38: TypeError: Cannot read property 'Desktop Icon Name' of undefined
2024-03-22T11:28:33.975689+01:00 KITT plasmashell[1792]: file:///home/mte90/.local/share/plasma/plasmoids/org.kde.plasma.mediacontroller_plus/contents/ui/TrackInfo.qml:34:5: Unable to assign [undefined] to int
2024-03-22T11:28:33.975785+01:00 KITT plasmashell[1792]: file:///home/mte90/.local/share/plasma/plasmoids/org.kde.plasma.mediacontroller_plus/contents/ui/CompactRepresentation.qml:108:9: Unable to assign [undefined] to int
2024-03-22T11:28:33.976571+01:00 KITT plasmashell[1792]: file:///home/mte90/.local/share/plasma/plasmoids/org.kde.plasma.mediacontroller_plus/contents/ui/main.qml:68: TypeError: Cannot read property 'Rate' of undefined
2024-03-22T11:28:33.976605+01:00 KITT plasmashell[1792]: file:///home/mte90/.local/share/plasma/plasmoids/org.kde.plasma.mediacontroller_plus/contents/ui/main.qml:67: TypeError: Cannot read property 'Position' of undefined
2024-03-22T11:28:33.976627+01:00 KITT plasmashell[1792]: file:///home/mte90/.local/share/plasma/plasmoids/org.kde.plasma.mediacontroller_plus/contents/ui/main.qml:65: TypeError: Cannot read property 'CanSeek' of undefined
2024-03-22T11:28:33.976707+01:00 KITT plasmashell[1792]: file:///home/mte90/.local/share/plasma/plasmoids/org.kde.plasma.mediacontroller_plus/contents/ui/main.qml:68: TypeError: Cannot read property 'Rate' of undefined
2024-03-22T11:28:33.976732+01:00 KITT plasmashell[1792]: file:///home/mte90/.local/share/plasma/plasmoids/org.kde.plasma.mediacontroller_plus/contents/ui/main.qml:65: TypeError: Cannot read property 'CanSeek' of undefined
2024-03-22T11:28:33.976746+01:00 KITT plasmashell[1792]: file:///home/mte90/.local/share/plasma/plasmoids/org.kde.plasma.mediacontroller_plus/contents/ui/main.qml:67: TypeError: Cannot read property 'Position' of undefined
2024-03-22T11:28:33.976760+01:00 KITT plasmashell[1792]: file:///home/mte90/.local/share/plasma/plasmoids/org.kde.plasma.mediacontroller_plus/contents/ui/AlbumArt.qml:38: TypeError: Cannot read property 'Desktop Icon Name' of undefined

Time elapsed is going twice as fast as it should be

When playing things (tested with CMUS and firefox via plasma's integration) the progress of the media as shown in mediacontroller+ is moving at 2 seconds per second (Edit: this doesn't seem to be exactly 2 seconds per second, more like 3, could be 2.5). Poking at playerctl shows no issue with MPRIS itself.

Porting to Plasma 6

Hey ismailof,

Since this is the best media controller addon, are there any chances of it getting ported to Plasma 6?

Thanks!

Not able to configure widget on Kubuntu

First of all, I love this widget. I've used it in Manjaro KDE with no problems at all, but I've migrated to Kubuntu and the widget is not working properly.

In panel it's like this:
image

And when I try to config it:

image

I can't even play/pause or change songs by the widget.

Panel Configuration toggles do not work.

I'm using plasma version 5.24 on arch and no combination of the toggles actually affects how the widget is displayed. The options show up, unlike #22, but they just don't do anything.

Different icon theme on different views

Noticed the previous/next icons change depeding on their location:
imagen

* prev icon in full view vs panel view

Probably has to do with the different icon sizes and the user's plama-theme if it does not cover all of them.

Does not work on Ubuntu 18.04 (requires QtQuick Controls 2.5)

When opening the widget, I am greeted by the following error message:

org.kde.plasma.mediacontroller_plus/contents/ui/main.qml:183:34: Type ExpandedRepresentation unavailable
file:///home/xyz/.local/share/plasma/plasmoids/org.kde.plasma.mediacontroller_plus/contents/ui/ExpandedRepresentation.qml:23:1: module "QtQuick.Controls" version 2.5 is not installed

I already use the kubuntu-backports PPA, but apparently the required version of that module isn't there.

These are the installed packages with matching names:
https://packages.ubuntu.com/bionic/qml-module-qtquick-controls
https://packages.ubuntu.com/bionic/qml-module-qtquick-controls2

REQ: Progress bar on background instead of on top

With the plasmoid placed in a panel, the progress bar is drawn on top of the cover and the song info.
Could you please place in the background, instead? That would be consistent with the task manager plasmoid behavior.
Also, while this is quite acceptable when the theme has a translucent background for the progress bar, everything is covered up with opaque themes (eg. Psion)
Screenshot_20200415_201412
Screenshot_20200415_202614

Missing album image when playing from media sources (and other issues)

When playing from sources like spotify, youtube (from browser) the album image is not being loaded.
Also the icon tab bar isn't showing and isn't working at all.

About my system:

  • Ubuntu 19.10 eoan using KDE 5.62.0 / Plasma 5.16.5
  • Qt version 5.12.4
  • Using mediacontroller_plus 0.2.5

image

Thank you for the amazing work!

Feature request: support for KDE Connect

Thanks for this widget as a big enhancement of the default one.
Perhaps the feature I have in mind is beyond the scope of this widget, I don't know, but I think it would be great if we could also see album art (instead of the KDE Connect icon) when the computer is connected to a mobile phone playing music (media player, Spotify etc.).
Media Player with KDE Connect

Failed to execute install script

DE: KDE 5.74.0 / Plasma 5.19.5
OS: Manjaro 20.1.1 Mikah
Kernel: x86_64 Linux 5.4.67-1-MANJARO

I get the above mentioned error every time I try to install this widget through 'Get widgets' -> 'Download new plasma widgets'.

Option to force show artist and track name in two vertical strings at widget with small height

I integrate mediacontroller_plus to my panel, that have 32 px height, but it use space not optimal, here is screenshot:
image

Auto layout is good feature, but will be good to have any manual configuration of layout, at least I want to see artist and track name in two lines, like in bigger layouts, also want to see album picture.

Can you please add option for force 2-line layout of author and song name in small sizes, and force show album picture too? Thanks!

P.S. Also prev/next buttons looks too small in my height, can you increase them little bit?

add shortcuts

very nice applet, but I miss shortcuts for play/pause, stop, seek forward and backward, next and previous track, and next source that I can use in playbar2. would you consider adding that feature?

Not showing on Latte Dock

When I try to add mediacontroller_plus to a latte dock panel nothing happens. It simply does not appear, however the counter of instances in the "Add Widget" menu increases.

Button to launch app in "no media playing" mode

Will be good in "no media playing" mode of widget to have button "Launch app", that will execute favorite music app for user, that can be configured in plasmoid settings (path to executable).

Track information is unintelligible when using Spotify Connect

The information is shown correctly when I play music on my laptop using Spotify app, but when I redirect the audio output using Spotify Connect the track information becomes instantly unreadable. Redirecting back to the laptop makes it right again.

image

Using Spotify Connect means that in the Spotify app I ask to redirect the output to my phone. The app continues to show the track and its progress as before but doesn't play the audio on the laptop.

[Request] Re-enable option to display artist & title on 2 lines

Hello @ismailof !

first, thanks for this great widget. I use it in my KDE taskbar, and it's really cool !

I have one request tho, I know that in #9, you removed the 2-line display, but I would be very happy to get it back.
Indeed, I have a 27" 2160p monitor, and though I set trhe width of the display to 468px, I cannot see half of neither the artist, nor the track title.

See
image

It'd be great if

  • the 2-line display could be an option !
  • maybe the font size as well.
  • add a scrolling feature for long titles

And the usual :
image

Many thanks,
GLLM

Qt.Quick.Controls 2.5 not installed

Error:

Error loading QML file: file:///home/aditya/.local/share/plasma/plasmoids/org.kde.plasma.mediacontroller_plus/contents/ui/main.qml:188:34: Type ExpandedRepresentation unavailable
file:///home/aditya/.local/share/plasma/plasmoids/org.kde.plasma.mediacontroller_plus/contents/ui/ExpandedRepresentation.qml:116:35: Type PlasmaComponents3.ToolTip unavailable
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/components.3/ToolTip.qml: No such file or directory

OS: Debian Buster 10, KDE

How to recreate :
Right click on Desktop>Add Widget>Get New Widget>mediacontroller_plus>install > Drag widget to home screen.

What I think might be the issue:
Debian Buster 10 latest qml-module-qtquick-controls (5.11.3-2) < 5.15.2-2( Debian Bullsye and Sid)

_Side Note: _
I had another widget with the same error and changing the import to 2.0 worked for that particular widget.

Compact representation doesn't work on vertical panels

To make matters worse. My widget doesn't seem to respect any visibility options when placed in a vertical panel. Here's a screenshot of mine with only the 'album art' box ticked. It displays only the play button, which is unchecked, and not the album art at all. It also takes up a ton of space like described earlier.
Screenshot_20210824_142217
Screenshot_20210824_142315

Originally posted by @Nano-Ocelot in #19 (comment)

ToolTip.qml error

/home/x user/.local/share/plasma/plasmoids/org.kde.plasma.mediacontroller_plus/contents/ui/ExpandedRepresentation.qml Line X unavailable... /usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/components.3/ToolTip.qml ; no such file or something like that ( unavailable )

Add options to show/hide several UI items

Add options to show/hide several UI items. First it is required to add a config UI module

  • Controls always visible
  • Show progressbar
  • Show tooltip (if it's not too many options)

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.