foxx1337 / foo_nowplaying2

MIT License
27 stars 1 forks source link

Add refresh rate #3

Closed KatamariJr closed 5 months ago

KatamariJr commented 7 months ago

Hello! Thanks for making this. The old version of foo_np_simple had a way to refresh the output every X seconds. I used this to show a progress bar for the song as it updated. Can you add the feature to enable refreshing every X seconds?

This is what my format string looked like, youll see it makes a progress bar.

[%genre%] 
$crlf()
%title% 
$crlf() $crlf()
[%playback_time%] [$progress(%_time_elapsed_seconds%, %_time_total_seconds%, 30,'█','─')] [%length%]
foxx1337 commented 7 months ago

Ha, this makes sense!

KatamariJr commented 6 months ago

Any plans to implement this soon?

bmthorn commented 5 months ago

Untitled I'm also in need of this feature! The event options were also part of this component.

foxx1337 commented 5 months ago

Maybe it's a bit cluttered now, but I like to see all the options at once, and not have them disappear on action: image

Added these options just for the Now Playing tab, as they can't be too useful in the others, will rethink should the need arise.