ccatterina / plasmusic-toolbar Goto Github PK
View Code? Open in Web Editor NEWKDE Plasma widget that shows currently playing song information and provide playback controls.
License: GNU General Public License v3.0
KDE Plasma widget that shows currently playing song information and provide playback controls.
License: GNU General Public License v3.0
When the datasource switch to a source that hasn't the Metadata.xesam:artist
property all the info in the widget change except for the song text in the panel and the artist text in the extended view.
Something I'd like to see for this plasmoid is to add the actions the normal media player plasmoid has: Increase and decrease the current player's volume using the scroll wheel, and pause/resume on middle click.
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.
Add an option for scrolling to be active only when the text is hovered over.
suggested by @barisgirismen
Volume bar it's a bit difficult to click because the clickable area it's too small
the seekbar works fine on "shorter" tracks (< 30 mins). With longer tracks or dj-sets using the seekbar it will jump to the beginning and also reports the wrong length. It happens with mpd which uses mpd-mpris for mpris2 support and also Tauon Music Player.
Reported by kassawas on https://store.kde.org/p/2128143
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.
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
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 an option to set a delay between song text scrolling loops
suggested by @barisgirismen
it works great with VLC, but would like it to work with smplayer, if you haven't tried it you should.
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:
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.
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
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!
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.
When trying to use the widget with the MPRIS2 source set to @multiplex works fine but It detects any video you're playing on the browser. So switching the option to spotify only would solve but it doesn't do anything once you restart the PC.
Bring the current player to the front when the toolbar icon is clicked. Datasource Raise operation should do the job.
UPDATE:
Open the media source when the user CTRL-Click the icon on the toolbar or when it click the on album cover in the maximized view.
suggested by @barisgirismen
Add the options to show/hide the icon and the song text in the toolbar.
suggested by @barisgirismen
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.
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!
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.
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
The combobox that allows to choose the preferred MPRIS source shows always @multiplex
also when the saved preferred source is an other.
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:
but got no luck.
Add an option to show the album cover instead of the icon in the toolbar
suggested by @barisgirismen
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?
Split side menu in behaviour, appearence, ecc..
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:
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.
After closing the player, the widget is still visible without song text and with all the commands disabled.
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](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.
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.
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.
Song text is cut off, changing the Panel song max width
don't solve the problem.
Reported by @quoije #46 (comment)
Now it shows a white square
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.
The song title scrolls from the left edge to the right and back from the right to the left:
| ArtistName - SongT| |stName - SongTitle |
no longer get option for configuration menu and it doesn't show playing progress on the bar, it stays at 0:00.
Its now on .71, the only reason I know this is I saw it update in discover.
Should I go back to .70?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.