Commit Graph

9 Commits

Author SHA1 Message Date
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 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 8177e5dec9
optionally display track position
with the --position flag, the position is grabbed every second and
outputted. Nothing else is refreshed.
2020-08-26 22:10:36 +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