475 Commits

Author SHA1 Message Date
Tony Crisci
b19a71cb9d add new signing method to package script 2021-09-25 17:44:01 -04:00
Tony Crisci
e5304e9dc9 Bump to version 2.4.1
See the CHANGELOG for more info
2021-09-21 08:23:38 -04:00
Tony Crisci
f363f4edac update readme 2021-09-21 08:07:52 -04:00
Tony Crisci
5acfb41854 formatter: support uint64 values
Spotify workaround.

fixes #234
2021-09-20 23:23:55 -04:00
Tony Crisci
d8a36b504b fix formatter contains key with multiple functions
fixes #235
2021-09-20 20:03:50 -04:00
Tony Crisci
b75efbdb76 add c_args to playerctld for loggin 2021-09-20 19:13:41 -04:00
Tony Crisci
3fafe07848 Set required meson version to 0.56.0
fixes #248
2021-09-19 20:09:22 -04:00
Tony Crisci
c892ea2f90 Merge pull request #228 from actondev/feat/cpp-subproject
Using as a meson subproject & cpp linking
2021-07-30 10:32:01 -04:00
Tony Crisci
7cad212d77 Merge pull request #236 from busybox11/patch-1
Use uniform "No players found" message
2021-07-04 12:43:51 -04:00
Tony Crisci
fb274ed3e4 Merge pull request #240 from hisbaan/master
Fix typo in zsh completions (palyer -> player)
2021-07-04 12:43:32 -04:00
hisbaan
8b2207fd0c Fix typo in zsh completions (palyer -> player) 2021-06-24 22:52:10 -04:00
busybox
a042123612 Use uniform "No players found" message 2021-04-30 20:23:12 +02:00
actondev
f7ca17e0c1 can link with c++ (extern "C") 2021-03-07 21:46:59 +01:00
actondev
1eab042635 can build playerctl as a meson subproject 2021-03-07 21:44:28 +01:00
Tony Crisci
6f4feb923e increment counter for correctness 2021-02-16 08:56:07 -05:00
Tony Crisci
a6ab7918ce Merge branch 'master' of github.com:acrisci/playerctl 2021-02-16 08:51:42 -05:00
Tony Crisci
dd6016f03c Merge pull request #224 from sentriz/master
Add `trunc` helper function
2021-02-15 22:51:29 -05:00
sentriz
40ae07c1e8 Update docs for trunc format helper 2021-02-15 23:42:52 +00:00
sentriz
1bf2887a58 Add tests for for trunc formatting 2021-02-15 23:42:50 +00:00
sentriz
7cc7bc5463 Add trunc helper function 2021-02-15 21:34:57 +00:00
Tony Crisci
0f8990b915 Merge pull request #223 from knowledgejunkie/patch-1
playerctl-player.c: Fix a couple of typos
2021-02-07 12:35:56 -05:00
Nick Morrott
5f54df326c playerctl-player.c: Fix a couple of typos
Detected automatically by the lintian tool on Debian
2021-02-07 16:50:58 +00:00
Tony Crisci
cb9b5f9bc5 update snapcraft yaml 2021-01-18 17:52:34 -05:00
Tony Crisci
89d26e396e playerctld: emit root properties with root interface name 2021-01-18 15:51:25 -05:00
Tony Crisci
6f4358b1a3 change some warning messages to debug 2021-01-18 14:42:23 -05:00
Tony Crisci
90fd8a49da Merge pull request #215 from Fendse/master
Fix a crash in playerctld
2021-01-17 15:40:05 -05:00
Sara Johnsson
6865089242 playerctld: Fix a test failure
More specifically, prevent playerctld from crashing when the only
running player disappears.
Yes, this was in the test suite, and no I somehow didn't notice it
anyway.
2021-01-10 14:06:50 +01:00
Sara Johnsson
7fbd8bb113 playerctld: Fix formatting 2021-01-10 14:06:50 +01:00
Sara Johnsson
e8488db5af Add comments to playerctld and slightly improve MPRIS support
* Add some comments
* Refactor struct Player so that it keeps track of whether a given
  player appears to support the optional interfaces
  org.mpris.MediaPlayer2.TrackList and org.mpris.MediaPlayer2.Playlists
* Attempt to fetch and cache properties from those optional interfaces
* Note intent to listen for signals on optional MPRIS interfaces, in
  particular the TrackList one as it doesn't send the new values in
  PropertiesChanged signals. No actual work done yet, though.
2020-12-31 16:57:26 +01:00
Sara Johnsson
504a12872d Fix the daemon crashing when a new player appears
Oops
2020-12-31 16:57:26 +01:00
Sara Johnsson
21642d0597 Make an effort to watch properties on Playlists and TrackList interfaces
Notably, TrackList.Tracks doesn't get updated yet
2020-12-30 12:32:56 +01:00
Sara Johnsson
4f5b3757e4 Update xml for MPRIS spec to include Playlists and TrackList interfaces 2020-12-30 12:31:21 +01:00
Sara Johnsson
edb76160f9 Fix a crash when players use certain MPRIS interfaces
Some players, including VLC, will try to message playerctld on
the following interfaces:
* org.mpris.MediaPlayer2.TrackLis
* org.mpris.MediaPlayer2.Playlists
These are standard-compliant, but playerctld did not know about them
and would crash on receiving such messages.
2020-12-29 20:04:22 +01:00
Tony Crisci
94b4694a7e Merge pull request #208 from timgates42/bugfix_typo_property
docs: fix simple typo, propery -> property
2020-12-01 09:23:03 -05:00
Tim Gates
4082cd7421 docs: fix simple typo, propery -> property
There is a small typo in playerctl/playerctl-cli.c.

Should read `property` rather than `propery`.
2020-12-01 21:06:50 +11:00
Tony Crisci
da6267d422 Bump to version 2.3.1
See the CHANGELOG for more info
2020-11-30 14:06:59 -05:00
Tony Crisci
8b6574bf81 test: attempt flake fix 2020-11-30 13:10:56 -05:00
Tony Crisci
d8c02860f1 playerctld: remove log env variable from service 2020-11-30 10:06:59 -05:00
Tony Crisci
383ce5c674 Merge branch 'master' of github.com:acrisci/playerctl into master 2020-11-27 15:21:01 -05:00
Tony Crisci
538b41c6bd Merge pull request #204 from benjaminBrownlee/master
added unshift option to playerctld for moving queue in reverse
2020-11-27 15:15:50 -05:00
Tony Crisci
d5fe66d699 playerctld: check properties changed 2020-11-27 15:01:28 -05:00
Tony Crisci
3060b8c573 tests: await bus disconnect 2020-11-19 17:58:46 -05:00
Tony Crisci
c617911930 use reliable method calls for prop setters 2020-11-19 14:17:27 -05:00
Benjamin Brownlee
e374547e59 added unshift option to playerctld for moving queue in reverse 2020-11-14 21:57:37 -07:00
Tony Crisci
890c224eb7 Merge pull request #202 from RPigott/zshcomp
Improve zsh completion parsing
2020-11-12 12:15:46 -05:00
Ronan Pigott
f70b0a9fa2 Improve zsh completion parsing 2020-11-10 13:32:34 -07:00
Tony Crisci
ab38e21247 Merge pull request #201 from RPigott/zshcomp
Add zsh completions
2020-11-10 01:19:57 -05:00
Ronan Pigott
51a732d379 Add zsh completions 2020-11-09 22:01:01 -07:00
Tony Crisci
b461c37d46 update snapcraft.yaml 2020-11-09 15:02:30 -05:00
Tony Crisci
0efc7d551c playerctld: clean up daemon activation 2020-11-09 15:02:00 -05:00