Commit Graph

9 Commits (master)

Author SHA1 Message Date
Dustin 94b12315f1 notifier: Escape ampersands in notification body
The One True notification daemon will not display notification body text
if it includes an ampersand. To prevent this, ampersands must be
XML-escaped.
2014-09-02 13:16:56 -05:00
Dustin 50cb3090dc mpdnotify: Daemonize at startup
Unless the `--no-fork` option is given, the program will fork into the
background and return immediately to the caller.
2014-08-30 22:13:21 -05:00
Dustin 5b3555fb92 mpdnotify: Add host/port options
To support connecting to MPD instances on other hosts, or if the socket
is in a different location, the host and/or port can be specified using
either command-line arguments or environment variables. The behavior is
similar to that of `mpc` in that the password can be specified in the
host value using `password@host` syntax. The command-line arguments
override the environment variables. If neither are specified, the
default of `localhost:6600` is used.
2014-08-30 21:59:26 -05:00
Dustin c158ac57f1 Alternative implementation in Vala
This implementation does not include key bindings or a status icon,
because I wanted to keep it small, and both of those require linking
with and initializing GTK+.
2014-08-14 00:17:54 -05:00
Dustin C. Hatch 178aa35e7e Ensure icon resource stream is closed 2014-08-06 16:05:06 -05:00
Dustin C. Hatch 79e4f603ae Fix play/pause when stopped
Sending the 'pause' command has no effect if the player is currently
stopped. Thus, 'play' must be sent explicitly in that case.
2014-08-06 16:04:03 -05:00
Dustin C. Hatch 40e7f99aa3 Fix compat for older versions of GObject
Older versions of GObject had the "user data" parameter of most signal
handlers marked as required, some value had to be passed in, even if it
wasn't necessary.
2014-08-06 16:02:38 -05:00
Dustin feadbbdcbb Add support for global keybinds 2014-08-05 14:21:54 -05:00
Dustin ec665403ea Initial commit 2014-08-05 13:45:51 -05:00