018e3ce34e
fix crash when tracklength not available
2020-09-11 21:24:11 +01:00
8343e713fe
remove socket on exit; fix --position crash
2020-09-06 13:13:36 +01:00
6ed1eb428f
log to /tmp/waybar-mpris.log
2020-08-31 20:37:23 +01:00
f4090c1f07
ask before removing existing socket
...
automatically removes the socket after 5 seconds of no input so that its
functions headlessly.
2020-08-31 20:14:14 +01:00
3918d2f30e
ignore player-next/prev if only one player avavilable
...
stops the tooltip from flickering.
2020-08-28 21:57:54 +01:00
315b3df656
add list command for debug
...
responds with the current list of players and some info, to be used for debugging
purposes
2020-08-27 20:26:01 +01:00
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
08ebaa5525
shrink binary
2020-08-25 14:51:32 +01:00
25f40dc9e0
ignore playerctld
...
playerctld displays and controls other players, so including it is
pointless.
2020-08-25 14:40:56 +01:00
623adf487e
display browser name in tooltip
...
reads /proc/<pid>/cmdline directly instead of using a library.
2020-08-23 16:25:27 +01:00
74015e43a3
remote control via unix sockets
...
waybar-mpris --send will send commands to a currently running
waybar-mpris instance. Players can be switched between and controlled
individually. Also added gifs, more stuff to README.
2020-08-22 19:01:51 +01:00
54dcac02e6
Add flags, executable and improve README.md
2020-08-22 15:40:24 +01:00