Commit Graph

295 Commits

Author SHA1 Message Date
Tony Crisci
8907df2394 Add a basic test suit 2019-05-01 01:09:37 -04:00
Tony Crisci
2330b64ff9 attempt handling invalid bus address settings
If the bus address is set to an invalid path, we will get the file not
found error from GIO when connecting to a bus. This might occur very
rarely in environments where there is no system bus (like my test
environment currently) or where the user has set the
DBUS_SESSION_BUS_ADDRESS environment variable to an incorrect value. I
don't believe the first case will ever occur for a normal user, and in
the second case, it is almost certainly user error. So we might just
settle on logging a warning and pretending the bus doesn't exist.
2019-05-01 00:57:12 -04:00
Tony Crisci
6a2b026d0a Merge pull request #132 from jwflory/change/fedora-install
README: Add package install instructions for Fedora, Mageia, openSUSE
2019-04-22 07:04:28 -04:00
Tony Crisci
9018d8f162 Merge pull request #131 from jwflory/change/readme-article
README: Add link to Fedora Magazine article
2019-04-22 07:03:46 -04:00
Justin W. Flory
cc2856d2a4 README: Add package install instructions for Fedora, Mageia, openSUSE 2019-04-22 05:17:11 -04:00
Justin W. Flory
005f02ea4a README: Add link to Fedora Magazine article 2019-04-22 05:11:35 -04:00
Tony Crisci
c69059b385 Bump to version 2.0.2
See CHANGELOG.md for more details.
2019-03-26 21:48:21 -04:00
Tony Crisci
77b3175332 regression: fix player sort order for commands
Sort player names correctly before applying commands

fixes #112
2019-03-23 13:13:08 -04:00
Tony Crisci
7d7d1335f9 regression: exit 1 when no players found on command
fixes #126
fixes #119
2019-03-23 10:41:29 -04:00
Tony Crisci
382c1bff76 cli: handle nonfile uris in open command
The cli command `playerctl open [uri]` would always convert the uri to a
file uri so the absolute path of the file could be passed to the player
from the playerctl cwd. Only do that conversion if the relative location
exists and otherwise just pass in the arg directly. This is required to
handle altnernative uri schemes, such as spotifies.

see #122
2019-02-25 08:59:43 -05:00
Tony Crisci
3c6e04104c Merge pull request #120 from maxice8/fix-gir-cross
meson: pass -DPLAYERCTL_COMPILATION to gir compiler
2019-02-07 15:02:18 -05:00
maxice8
0b9caed2b5 meson: pass -DPLAYERCTL_COMPILATION to gir compiler
fixes cross compilation.
2019-02-07 16:13:12 -02:00
Tony Crisci
20b3b8244a Merge pull request #118 from knowledgejunkie/update-manpage-date-via-meson
Update manpage date via meson at buildtime
2019-01-20 08:28:02 -05:00
Nick Morrott
e17b674a2e Update manpage date via meson at buildtime
Similar to a previous manpage update which added support for updating
the manpage's embedded playerctl version at buildtime, this update adds
support for updating playerctl's release month at buildtime.
2019-01-20 05:47:46 +00:00
Tony Crisci
3952912f5c Merge pull request #117 from xPMo/patch-1
no FORMAT spec on --follow
2019-01-04 11:08:30 -05:00
xPMo
149f5e9812 no FORMAT spec on --follow 2019-01-03 23:51:48 -06:00
Tony Crisci
3d8bba190f Bump to version 2.0.1
See CHANGELOG.md for details.
2018-11-17 18:01:54 -05:00
Tony Crisci
4b9e7a44a2 bump pkgconfig and typelib version 2018-11-17 15:26:49 -05:00
Tony Crisci
cb897bca95 properly install generated enum header 2018-11-17 15:20:20 -05:00
Tony Crisci
8032d09871 fixed unused variable in player_set_volume 2018-11-17 10:01:18 -05:00
Tony Crisci
bbcaa70fb0 Update readme 2018-11-04 16:29:42 -05:00
Tony Crisci
c7286b35eb print help to stdout when no command 2018-11-04 16:12:38 -05:00
Tony Crisci
a02d4c03b9 mark the emoji() helper function as experimental 2018-10-31 19:31:51 -04:00
Tony Crisci
1a8ea65328 add volume setter 2018-10-28 06:06:04 -04:00
Tony Crisci
f43a37fbfe readme: better way to use dbus-launch 2018-10-25 07:12:56 -04:00
Tony Crisci
8ec95813fd add troubleshooting section to readme 2018-10-22 13:53:30 -04:00
Tony Crisci
427b3afd86 Bump to version 2.0.0-rc1
This is a prerelease not meant for production use.
2018-10-21 15:32:29 -04:00
Tony Crisci
06cee8f5c5 fix memory leaks 2018-10-21 11:23:55 -04:00
Tony Crisci
a7971cb472 update gtk-docs 2018-10-21 00:10:16 -04:00
Tony Crisci
f3c37b6ca0 move around the examples 2018-10-20 20:41:55 -04:00
Tony Crisci
3ff6514b31 update the manual page 2018-10-20 20:38:37 -04:00
Tony Crisci
86e65f631c allow player construction by instance 2018-10-20 16:55:03 -04:00
Tony Crisci
a37d94326a fix bug in open command 2018-10-20 15:41:47 -04:00
Tony Crisci
b6c0320432 cli: fix list command 2018-10-20 15:30:36 -04:00
Tony Crisci
d3f3f22e9f rename player-id to player-instance 2018-10-20 15:23:05 -04:00
Tony Crisci
42d82ba24a begin documentation updates 2018-10-20 14:45:53 -04:00
Tony Crisci
d06952da63 wrap bus type in playerctl source 2018-10-20 11:25:38 -04:00
Tony Crisci
dee5aca52a Merge branch 'master' of github.com:acrisci/playerctl 2018-10-19 15:38:58 -04:00
Tony Crisci
70030d9d70 support the system bus 2018-10-19 15:38:54 -04:00
Tony Crisci
47504c39ee Merge pull request #103 from orestisf1993/build
Fix "No such file" compilation error
2018-10-19 09:02:02 -04:00
Tony Crisci
162f0d2a00 always break on result when following 2018-10-19 08:46:11 -04:00
Tony Crisci
e3c7de2f6a include bus info in manager player names 2018-10-19 08:32:22 -04:00
Orestis Floros
f4631afd14 Fix "No such file" compilation error 2018-10-19 13:32:20 +03:00
Tony Crisci
29730eee87 remove missing marshal header 2018-10-18 14:12:05 -04:00
Tony Crisci
e2dfc19e19 various follow fixes 2018-10-18 12:14:23 -04:00
Tony Crisci
f07e6e9d7f cli cleanup 2018-10-18 07:37:45 -04:00
Tony Crisci
ee50b0da92 use player-manager in the cli 2018-10-18 07:17:53 -04:00
Tony Crisci
c4eac6c803 refactor our formatter 2018-10-17 16:52:26 -04:00
Tony Crisci
dfff07e6b9 remove bus type from player manager 2018-10-17 06:46:04 -04:00
Tony Crisci
807e450bcf explicit player manage function 2018-10-17 06:38:42 -04:00