Commit Graph

11 Commits

Author SHA1 Message Date
Harvey Tindall c235dd60dd
overwrite previous content when sharing output
this way /tmp/waybar-mpris.out won't get filled up.
2021-04-24 16:02:39 +01:00
Harvey Tindall 40f813ddc3
Use fixes for spotify
continuous-integration/drone/push Build is passing Details
fixes error caused by spotify returning a uint64 rather than int64 track
length. Also note spotify doesn't return a position so it is not
displayed.
2021-01-17 12:25:27 +00:00
Harvey Tindall bda0879199
add drone/buildrone
continuous-integration/drone/push Build is failing Details
2021-01-15 22:15:45 +00:00
Harvey Tindall 937769e2f7
use external mpris2client lib
now at github.com/hrfee/mpris2client.
2021-01-08 00:54:34 +00:00
Harvey Tindall bcd2a83dd9
move mpris2 component to separate module
I'll likely put it in a different repo as i'm thinking of writing a last.fm scrobbler and it'd be reused there.
2021-01-07 16:10:20 +00:00
Harvey Tindall a84ae6bd5b
fix help output 2020-11-16 21:59:31 +00:00
Harvey Tindall 78ce37db9f
Run multiple instances by attaching to original
Fixes #1. When another instance is detected, a command is sent over the
socket for the original to write to stdout and to a temporary file, which is then
tailed by the new instance. Can be overridden with --replace.
2020-09-28 23:48:51 +01:00
Harvey Tindall 8fb822aa91
reflect new location 2020-08-27 23:15:16 +01:00
Harvey Tindall 54dcac02e6
Add flags, executable and improve README.md 2020-08-22 15:40:24 +01:00
Harvey Tindall 5020e1c929
fix halt when player is removed
rewritten without goroutines or checking if processes exist and it seems
to work much better now.
2020-08-22 14:39:23 +01:00
Harvey Tindall 461d87b8c9
first 2020-08-21 14:54:32 +01:00