reduce code by a single line
fix program breaking when paused... oops
You can also use your local clone with
It creates a single line of output with music info. I use it for my bar in herbstluftwm.
genre - artist - album (date) - title -- state -- [elapsed/duration]
Preview in my bar: