aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Make waybar-mpris more flexible customizableYaroslav de la Peña Smirnov2022-11-20
| | | | | | | | | | Instead of customizing by indicating just the order and using flags for other customization options (e.g. separator), read a C-like format string with tokens/verbs that are replaced with their respective information (e.g. `%a` for artist). Also made it possible to customize the tooltip. The principle is the same as with the module's text.
* escape double quotesHarvey Tindall2022-01-27
|
* write connection refused error to stderrHarvey Tindall2022-01-24
|
* Truncate file when directly sharingHarvey Tindall2021-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 aptHarvey Tindall2021-06-25
|
* fix apt versioningHarvey Tindall2021-05-31
|
* mention repo in READMEHarvey Tindall2021-05-24
|
* fix typoHarvey Tindall2021-05-24
|
* make debs/rpms, upload .debs to repoHarvey Tindall2021-05-24
|
* always return the expected number of bytes writtenHarvey Tindall2021-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.MultiwriterHarvey Tindall2021-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 layoutsHarvey Tindall2021-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 socketHarvey Tindall2021-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 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.
* add license.Harvey Tindall2021-02-13
|
* add message on issuesHarvey Tindall2021-02-06
|
* Use fixes for spotifyHarvey Tindall2021-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 packageHarvey Tindall2021-01-16
|
* urlHarvey Tindall2021-01-15
|
* apt update aghHarvey Tindall2021-01-15
|
* oops, forgot to add pythonHarvey Tindall2021-01-15
|
* add drone/buildroneHarvey Tindall2021-01-15
|
* use external mpris2client libHarvey Tindall2021-01-08
| | | | now at github.com/hrfee/mpris2client.
* improve ignoring of playerctldHarvey Tindall2021-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 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.
* reflect new locationHarvey Tindall2020-08-27
|
* add list command for debugHarvey Tindall2020-08-27
| | | | | responds with the current list of players and some info, to be used for debugging purposes
* add position arg to readmeHarvey Tindall2020-08-26
|
* optionally display track positionHarvey Tindall2020-08-26
| | | | | with the --position flag, the position is grabbed every second and outputted. Nothing else is refreshed.
* shrink binaryHarvey Tindall2020-08-25
|
* 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.
* get rid of json annotationHarvey Tindall2020-08-22
| | | | it made the comments look ugly.
* center gifHarvey Tindall2020-08-22
|
* 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.
* mention go getHarvey Tindall2020-08-22
|
* remove mainHarvey Tindall2020-08-22
|