aboutsummaryrefslogtreecommitdiff
path: root/main.go
Commit message (Collapse)AuthorAge
* add optional position interpolation, escape ampersandsHarvey Tindall2020-09-14
| | | | | | added --interpolate which will increment the track position if there hasnt been a change after a second. Kinda buggy, so disabled by default. Ampersands are escaped in the tooltip.
* fix crash when tracklength not availableHarvey Tindall2020-09-11
|
* remove socket on exit; fix --position crashHarvey Tindall2020-09-06
|
* log to /tmp/waybar-mpris.logHarvey Tindall2020-08-31
|
* ask before removing existing socketHarvey Tindall2020-08-31
| | | | | automatically removes the socket after 5 seconds of no input so that its functions headlessly.
* ignore player-next/prev if only one player avavilableHarvey Tindall2020-08-28
| | | | stops the tooltip from flickering.
* add list command for debugHarvey Tindall2020-08-27
| | | | | responds with the current list of players and some info, to be used for debugging purposes
* optionally display track positionHarvey Tindall2020-08-26
| | | | | with the --position flag, the position is grabbed every second and outputted. Nothing else is refreshed.
* ignore playerctldHarvey Tindall2020-08-25
| | | | | playerctld displays and controls other players, so including it is pointless.
* display browser name in tooltipHarvey Tindall2020-08-23
| | | | reads /proc/<pid>/cmdline directly instead of using a library.
* remote control via unix socketsHarvey Tindall2020-08-22
| | | | | | 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.
* Add flags, executable and improve README.mdHarvey Tindall2020-08-22
|
* fix halt when player is removedHarvey Tindall2020-08-22
| | | | | rewritten without goroutines or checking if processes exist and it seems to work much better now.
* add players as detected, switch to currently playing player on stateHarvey Tindall2020-08-21
| | | | change.
* firstHarvey Tindall2020-08-21