dcx86r / cmus-notify Goto Github PK
View Code? Open in Web Editor NEWConfigurable cmus status desktop notifications via notify-send
License: MIT License
Configurable cmus status desktop notifications via notify-send
License: MIT License
I've been playing around with this package and loving it!
My use-case is that I scrobble everything to last.fm and currently using cmusfm to do that. However, AFAIK, we can specify only one program to :set status_display_program
, so either I can scrobble track or use cmus-notify - but not both.
Is there any plan to support scrobbling for cmus-notify? Would love to see this getting implemented, if it's not too much work.
Try to fallback to Cover.jpg if present on album directory.
According to the README:
the placeholder image is shown if art has not yet been cached (e.g. on first play of a file), this is because ffmpeg takes anywhere between 1-5+ seconds to perform the extraction, so whatever is available is shown instead of waiting an indeterminate amount of time
Would you consider adding a configuration option to allow waiting until ffmpeg has completed processing the cover art for uncached images? There could be a warning in the documentation about the delay when enabling this option.
I find that if I am rapidly operating cmus
, my notifications will stack up like so;
I believe notify-send
has a -r
flag which allows you to replace an existing notification that has been assigned an ID
(integer).
So basically when a cmus
notification pops up, it will replace the one that already exists. This is how people make volume/brightness indicators, same principal.
I would write the PR myself but i'm not great with perl
. But I can give it a shot if you want.
Cover art is enabled, though it only shows when pausing or playing a previous song using the Z keybind, playing next song with B makes the notification use the fallback placeholder cover.
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.