Git Product home page Git Product logo

plasmusic-toolbar's People

Contributors

2luckyluke avatar ccatterina avatar cyqsimon avatar heitoraugustoln avatar luisbocanegra avatar supersandro2000 avatar thesnowfield avatar trmdi 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  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

plasmusic-toolbar's Issues

Scroll/Stop scroll on mouse over doesn't work with touchpad

The behaviours Scroll only on mouse over and Always scroll except on mouse over aren't working correctly.
The text doesn't begin to scroll (or stop to scroll) when you hover over it with the touchpad, while it works propertly if you do it with the mouse.

Choose the preferred source based on identity

Add a configuration option to allow to choose preferred source based on MPRIS identity property.

The current configuration option that allow to choose the preferred source is based on desktopEntry property, but in chromium (and chromium-based) browser, the MPRIS desktopEntry property is not implemented (source-code), therefore there is no way to choose it as preferred source.

A bit of space to cut and add

Hello, First of all, thank you for this widget, after a lot of research, this seems ideal for my usage.

Something very small, I think you should change
Screenshot_20240623_064823
On the left side of the arrow, there is an extra space 1px compared to the end of the text, while on the end of buttons control needs to added that 1px space removed from the left.

I hope i was understandable.

add support for smplayer

it works great with VLC, but would like it to work with smplayer, if you haven't tried it you should.

Colors from album cover

I have been thinking of adding this feature for some time, today I was experimenting and came up what you see below (still wip)

Is this something you would like to have?

If it were to be added:

  • Should allow to enable/disable the feature, I think it could be distracting having the colors changing all the time for some users
  • Since the cover allows custom radius the background would need custom one too
  • When there is no image which color should it fallback to?
  • What about the expanded representation? Should the widget use colors from the album when placed on the Desktop?
  • What else?

append-2024-07-22-200105

No detect current active player in Plasma 6

When opening my browser with Youtube page by default, PT detcts the first video preview being played and the text displayed in PT stays there even when a new player (like Audacious) starts playing some music.

image

So PT should auto-detect current active player or should be to able to give the chance to change between current players like Media player widget.

My info:

OS: EndeavourOS Linux x86_64
Kernel: 6.7.9-zen1-1-zen
Shell: zsh 5.9
Resolution: 3440x1440
DE: Plasma 6.0.1 (X11)
WM: KWin
Terminal: WarpTerminal
CPU: AMD Ryzen 7 1700 (16) @ 3.800GHz
GPU: NVIDIA GeForce GTX 1070
Memory: 15905MiB

string scrolling causes high gpu usage

When the mouse pointer hovers, the string starts scrolling on the toolbar,
and then the GPU IRQs increase to 600 IRQs/s, 1200MHz frequency immediately;

However, It's bringing my laptop heavy GPU usage to render this animation, why? It's just a text!

image
image

I'm using a 120Hz refresh rate display, so the GPU costs about 120 IRQs when the GPU is idle is a normal behavior.
I have tested, and this problem has nothing to do with the animation speed.

Add ability to change font/text display

Most plasma widgets allow for changing the font. It would be really awesome if this one would too. An example of a widget that allows for this is the "Digital Clock" widget, where the font configuration can be found under Appearance>Text Display.
image
image

I might give implementing this a shot myself but I have no experience making/working on plasma widgets.

Thanks for the awesome work done on this so far, it is a pleasure to use!

Check if controls can be used

The MPRIS2 engine exposes the properties to check if a control can be used (e.g. CanPause, CanPlay, CanGoNext, ...). We should use those properties to enable/disable control buttons.

[Bug]The strange operation logic of the progress bar

This plug-in is very good, but after using it for a long time, I discovered one of the flaws, that is, I cannot easily control the playback progress of the music through the plug-in's progress bar. Dragging the plug-in's progress bar will make the music play faster or rewind a few seconds. If If I want to go back to the beginning of the song, I can only click on the left side of the progress bar frequently.See the link for details https://github.com/Crany-web/log/blob/main/Recording%202024-03-09%20at%2016.31.03.gif

Cannot detect Elisa as an MPRIS2 source

I don't know if I'm doing something wrong, but I cannot set it to detect Elisa as a source. Which is strange because it detects it just fine when set to β€œany”.

I tried setting source to:

  • elisa
  • Elisa
  • org.kde.elisa
  • elisa org.kde.elisa

but got no luck.

Plasmashell crashing

Hello,

Sadly had some serious issues with this addon. Had to reboot after installation and plasmashell just started crashing, removed plasmusic, rebooted, plasmashell started. Tested it once more and plasmashell was crashing again.

OS: KDE neon 6.0 x86_64
Kernel: 6.5.0-25-generic
DE: Plasma 6.0.2

journalctl /usr/bin/plasmashell
shows plenty of following errors:
kde.dataengine.mpris: mpris:trackid from "Spotify" does not conform to the MPRIS2 standard. Please report the issue to the developer.

Sadly I couldn't copy errors from plasmashell error handler.

Any ideas what could be wrong?

Title always scrolls when seperate lines enabled

Hi, I've found a bug where if you enable the track and artist showing in separate lines, and then set the scrolling behavior to only scroll on mouse over, it will always start scrolling when a new media session starts.

To reproduce:

  • Enable separate lines, and set it to only scroll on mouse hover
  • Close and re-open a program with a long track/title name, so it scrolls
  • Observe how it scrolls.

Next, move your mouse cursor on the title, and the back off. Now, until a new session is started, it will respond correctly.

Expected:
The scrolling always starts in the "off" position when only scroll on mouse hover is set.

Mention AUR package in README

Hey great plasmoid, I created an AUR package as an installation method.

You can integrate it into the README however you like
For example as command

(command -v paru && paru -S plasma6-applets-plasmusic-toolbar) || yay -S plasma6-applets-plasmusic-toolbar

as a badge

AUR Version

[![AUR Version](https://img.shields.io/aur/version/plasma6-applets-plasmusic-toolbar)](https://aur.archlinux.org/packages/plasma6-applets-plasmusic-toolbar)

or just a link to https://aur.archlinux.org/packages/plasma6-applets-plasmusic-toolbar

Unrelated but I think plasmapkg2 (which is used in the README) does not exist anymore with Plasma 6 (at least on my Arch system after upgrading)

when using vlc the time left value is way off on long playtime videos.

when using vlc the time left value is way off on long playtime videos.
Its usually way shorter, like I have seen a video that had 50 minutes left say there is 11 or 12 minutes left.
But on shorter videos its fine. using version 0.6.0
But other than that its works great, its very useful.

Ability to force fixed width

Hi, I think it would be a great idea to in addition to setting a max width, to force the width to always be a fixed size. When the music changes to the next song, the widget expands and contracts, becoming a distraction.

Plasma 6 support

I updated to Plasma 6 today and noticed that the Plasmusic Widget isn't working on it.

This Widget was written for an unknown older version of Plasma and is not compatible with Plasma 6. 
Please contact the widget's author for an updated version.

Alignment

Hello. When I add it to the latte dock panel, it looks like the picture. Is there any way to fix this?

Screenshot_20230926_193758

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.