Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Truncate file when directly sharing | Harvey Tindall | 2021-10-29 |
| | | | | | | | Fixes bug where recipient instance would have a bit of the previous track data on the end of the output if the previous track data was longer, which effectively froze the output on waybar as it was no longer valid JSON. | ||
* | upload to buildrone before apt | Harvey Tindall | 2021-06-25 |
| | |||
* | fix apt versioning | Harvey Tindall | 2021-05-31 |
| | |||
* | mention repo in README | Harvey Tindall | 2021-05-24 |
| | |||
* | fix typo | Harvey Tindall | 2021-05-24 |
| | |||
* | make debs/rpms, upload .debs to repo | Harvey Tindall | 2021-05-24 |
| | |||
* | always return the expected number of bytes written | Harvey Tindall | 2021-05-24 |
| | | | | | emptyEveryWrite was returning the wrong number, so it ignores the real value and just returns the expected value (len(bytes in)). For #4 again. | ||
* | change order of writers in io.Multiwriter | Harvey Tindall | 2021-05-21 |
| | | | | | | io.MultiWriter (i think) thinks dataWrite.Write fails, and so doesn't continue writing to all other outputs. This just makes it the last one, should fix #4. | ||
* | support multiple instances with different layouts | Harvey Tindall | 2021-05-17 |
| | | | | | if specified layout for nth instance is different than 1st, the player data is shared instead of the waybar output. | ||
* | only share output when args are identical; use fixed length socket | Harvey Tindall | 2021-05-17 |
| | | | | | | | commands fixed length commands were originally a guess for an issue I was having, but it's cleaner this way anyway. | ||
* | add PLAYER to --order, remove binary from repo | Harvey Tindall | 2021-05-16 |
| | | | | also added more prominent download links to the readme. | ||
* | fix upload.py args for new version | Harvey Tindall | 2021-04-24 |
| | |||
* | build JSON string instead of json.Marshal-ing | Harvey Tindall | 2021-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 output | Harvey Tindall | 2021-04-24 |
| | | | | this way /tmp/waybar-mpris.out won't get filled up. | ||
* | add license. | Harvey Tindall | 2021-02-13 |
| | |||
* | add message on issues | Harvey Tindall | 2021-02-06 |
| | |||
* | Use fixes for spotify | Harvey Tindall | 2021-01-17 |
| | | | | | | 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. | ||
* | update readme, mention AUR package | Harvey Tindall | 2021-01-16 |
| | |||
* | url | Harvey Tindall | 2021-01-15 |
| | |||
* | apt update agh | Harvey Tindall | 2021-01-15 |
| | |||
* | oops, forgot to add python | Harvey Tindall | 2021-01-15 |
| | |||
* | add drone/buildrone | Harvey Tindall | 2021-01-15 |
| | |||
* | use external mpris2client lib | Harvey Tindall | 2021-01-08 |
| | | | | now at github.com/hrfee/mpris2client. | ||
* | improve ignoring of playerctld | Harvey Tindall | 2021-01-07 |
| | | | | | also now ignores signals from it by storing its unique sender name on startup and checking each signal. | ||
* | move mpris2 component to separate module | Harvey Tindall | 2021-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 names | Harvey Tindall | 2020-12-15 |
| | |||
* | print clone message to stderr | Harvey Tindall | 2020-11-26 |
| | | | | any non-json output at all seems to break waybar now, so this avoids it. | ||
* | fix help output | Harvey Tindall | 2020-11-16 |
| | |||
* | Run multiple instances by attaching to original | Harvey Tindall | 2020-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 ampersands | Harvey Tindall | 2020-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 available | Harvey Tindall | 2020-09-11 |
| | |||
* | remove socket on exit; fix --position crash | Harvey Tindall | 2020-09-06 |
| | |||
* | log to /tmp/waybar-mpris.log | Harvey Tindall | 2020-08-31 |
| | |||
* | ask before removing existing socket | Harvey Tindall | 2020-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 avavilable | Harvey Tindall | 2020-08-28 |
| | | | | stops the tooltip from flickering. | ||
* | reflect new location | Harvey Tindall | 2020-08-27 |
| | |||
* | add list command for debug | Harvey Tindall | 2020-08-27 |
| | | | | | responds with the current list of players and some info, to be used for debugging purposes | ||
* | add position arg to readme | Harvey Tindall | 2020-08-26 |
| | |||
* | optionally display track position | Harvey Tindall | 2020-08-26 |
| | | | | | with the --position flag, the position is grabbed every second and outputted. Nothing else is refreshed. | ||
* | shrink binary | Harvey Tindall | 2020-08-25 |
| | |||
* | ignore playerctld | Harvey Tindall | 2020-08-25 |
| | | | | | playerctld displays and controls other players, so including it is pointless. | ||
* | display browser name in tooltip | Harvey Tindall | 2020-08-23 |
| | | | | reads /proc/<pid>/cmdline directly instead of using a library. | ||
* | get rid of json annotation | Harvey Tindall | 2020-08-22 |
| | | | | it made the comments look ugly. | ||
* | center gif | Harvey Tindall | 2020-08-22 |
| | |||
* | remote control via unix sockets | Harvey Tindall | 2020-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. | ||
* | mention go get | Harvey Tindall | 2020-08-22 |
| | |||
* | remove main | Harvey Tindall | 2020-08-22 |
| | |||
* | Add flags, executable and improve README.md | Harvey Tindall | 2020-08-22 |
| | |||
* | fix halt when player is removed | Harvey Tindall | 2020-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 state | Harvey Tindall | 2020-08-21 |
| | | | | change. |