aboutsummaryrefslogtreecommitdiff
path: root/main.go
Commit message (Collapse)AuthorAge
* add PLAYER to --order, remove binary from repoHarvey Tindall2021-05-16
| | | | also added more prominent download links to the readme.
* fix upload.py args for new versionHarvey Tindall2021-04-24
|
* build JSON string instead of json.Marshal-ingHarvey Tindall2021-04-24
| | | | | not that this was a problem, but the output is simple enough to just create it by hand.
* overwrite previous content when sharing outputHarvey Tindall2021-04-24
| | | | this way /tmp/waybar-mpris.out won't get filled up.
* use external mpris2client libHarvey Tindall2021-01-08
| | | | now at github.com/hrfee/mpris2client.
* move mpris2 component to separate moduleHarvey Tindall2021-01-07
| | | | 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.
* add some comments and change identifier namesHarvey Tindall2020-12-15
|
* print clone message to stderrHarvey Tindall2020-11-26
| | | | any non-json output at all seems to break waybar now, so this avoids it.
* fix help outputHarvey Tindall2020-11-16
|
* Run multiple instances by attaching to originalHarvey Tindall2020-09-28
| | | | | | 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.
* 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