aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarvey Tindall <hrfee@protonmail.ch>2021-01-17 12:25:27 +0000
committerHarvey Tindall <hrfee@protonmail.ch>2021-01-17 12:25:27 +0000
commit40f813ddc3cc7a0605750988a237755e1557914d (patch)
treedfb83682cdebb8d8334fbae005a624e7a247da2c
parent7a3b3d52163e205972fcf197b8ae9c57bd2d0753 (diff)
downloadwaybar-mpris-40f813ddc3cc7a0605750988a237755e1557914d.tar.gz
waybar-mpris-40f813ddc3cc7a0605750988a237755e1557914d.zip
Use fixes for spotify
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.
-rw-r--r--go.mod2
-rw-r--r--go.sum6
-rwxr-xr-xwaybar-mprisbin1006964 -> 4804992 bytes
3 files changed, 7 insertions, 1 deletions
diff --git a/go.mod b/go.mod
index a360a50..88a35ef 100644
--- a/go.mod
+++ b/go.mod
@@ -6,7 +6,7 @@ require (
github.com/fsnotify/fsnotify v1.4.9 // indirect
github.com/godbus/dbus/v5 v5.0.3
github.com/hpcloud/tail v1.0.0
- github.com/hrfee/mpris2client v0.0.0-20210115213010-244c4cd6a569
+ github.com/hrfee/mpris2client v0.0.5
github.com/spf13/pflag v1.0.5
golang.org/x/sys v0.0.0-20210113181707-4bcb84eeeb78 // indirect
gopkg.in/fsnotify.v1 v1.4.7 // indirect
diff --git a/go.sum b/go.sum
index a9361e3..3634c75 100644
--- a/go.sum
+++ b/go.sum
@@ -8,6 +8,12 @@ github.com/hrfee/mpris2client v0.0.0-20210108004725-d2a36745cc4a h1:3H1awMdF3eJB
github.com/hrfee/mpris2client v0.0.0-20210108004725-d2a36745cc4a/go.mod h1:tVpzzAlsljmQevNA4mJwUy1onUUiaQcRAa4gdl37okY=
github.com/hrfee/mpris2client v0.0.0-20210115213010-244c4cd6a569 h1:aCHzdXajnRUeaaW9FHzunrjGcRqmyFedwO0ODJRAdBk=
github.com/hrfee/mpris2client v0.0.0-20210115213010-244c4cd6a569/go.mod h1:tVpzzAlsljmQevNA4mJwUy1onUUiaQcRAa4gdl37okY=
+github.com/hrfee/mpris2client v0.0.2 h1:AqsDoJCKyKjSGwVk3sJ5fjx+7M0tsSueZbVUIDxS1xI=
+github.com/hrfee/mpris2client v0.0.2/go.mod h1:tVpzzAlsljmQevNA4mJwUy1onUUiaQcRAa4gdl37okY=
+github.com/hrfee/mpris2client v0.0.4 h1:2WnCkTWGBr1eg3qHFjxDo7hIeCeQWh3jJ0hFJSts9Ks=
+github.com/hrfee/mpris2client v0.0.4/go.mod h1:tVpzzAlsljmQevNA4mJwUy1onUUiaQcRAa4gdl37okY=
+github.com/hrfee/mpris2client v0.0.5 h1:h3gcb8Q68i6SfcEgOxL9cXcGee9ekvxXltrUxGwRLDU=
+github.com/hrfee/mpris2client v0.0.5/go.mod h1:tVpzzAlsljmQevNA4mJwUy1onUUiaQcRAa4gdl37okY=
github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=
github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
diff --git a/waybar-mpris b/waybar-mpris
index 2f73a56..8f71aec 100755
--- a/waybar-mpris
+++ b/waybar-mpris
Binary files differ