Age | Commit message (Expand) | Author | Files | Lines |
2024-06-19 | add a format specifier for duration | Christian Hesse | 1 | -3/+11 |
2024-06-19 | support custom format from configuration | Christian Hesse | 1 | -9/+24 |
2024-06-19 | support custom format at build time...•••... and drop the option for oneline formatting. That can be
achived differently now.
| Christian Hesse | 1 | -32/+50 |
2024-06-18 | use sigaction(2) instead of signal(2)•••As stated in the man pages, `sigaction` should be preferred to `signal`.
| Christian Hesse | 1 | -4/+7 |
2024-05-21 | give a hint with no artwork | Christian Hesse | 1 | -0/+3 |
2024-05-21 | add a comment on possibly missing mime-types | Christian Hesse | 1 | -0/+1 |
2024-05-21 | accept mime-types for MPEG-4 audio for artwork•••Looks like libmagic gives the mime-types 'audio/mp4' and
'audio/x-m4a' for these...
Fixes #45
| Christian Hesse | 1 | -1/+3 |
2024-01-01 | update copyright for 2024 | Christian Hesse | 1 | -1/+1 |
2023-01-03 | update copyright for 2023 | Christian Hesse | 1 | -1/+1 |
2022-08-24 | fix libav version check•••Checking with LIBAVCODEC_VERSION_INT is stupid if we do not include
libavcodec... Let's use LIBAVFORMAT_VERSION_INT instead.
This broke with commit 06d4b9b7a160ee1fbdc419f16dd6b8c9277288a8.
Fixes #42
| Christian Hesse | 1 | -1/+1 |
2022-01-03 | update copyright for 2022 | Christian Hesse | 1 | -1/+1 |
2021-03-16 | fix flickering notification when unpausing•••When last state is 'pause' we already have the correct icon, so no need
to reset with generic icon.
Signed-off-by: Christian Hesse <mail@eworm.de>
| fwsmit | 1 | -1/+1 |
2021-01-01 | update copyright for 2021 | Christian Hesse | 1 | -1/+1 |
2020-11-25 | try $XDG_CONFIG_HOME/mpd-notification.conf first•••Signed-off-by: Christian Hesse <mail@eworm.de>
| maxice8 | 1 | -2/+6 |
2020-11-25 | clearly state the license | Christian Hesse | 1 | -2/+13 |
2020-01-28 | update copyright for 2020 | Christian Hesse | 1 | -1/+1 |
2019-10-10 | this is condition, not loop | Christian Hesse | 1 | -1/+1 |
2019-10-09 | drop retry code, just fail and let the service restart | Christian Hesse | 1 | -20/+3 |
2019-10-08 | do not retry on exit | Christian Hesse | 1 | -1/+1 |
2019-01-01 | update copyright for 2019 | Christian Hesse | 1 | -1/+1 |
2018-05-30 | show track information on pause | Christian Hesse | 1 | -11/+6 |
2018-05-30 | show a notification without image data first | Christian Hesse | 1 | -1/+11 |
2018-05-28 | use correct type for state | Christian Hesse | 1 | -1/+2 |
2018-05-28 | set notification timeout once | Christian Hesse | 1 | -3/+2 |
2018-05-16 | update for ffmpeg 4.x•••The function av_register_all() is deprecated since commit
0694d8702421e7aff1340038559c438b61bb30dd.
| Christian Hesse | 1 | -0/+2 |
2018-01-02 | update copyright for 2018 | Christian Hesse | 1 | -1/+1 |
2017-10-30 | try to scale with valid pixbuf only | Christian Hesse | 1 | -1/+1 |
2017-03-03 | properly handly timeout values•••The timeout value in the config file was expected to be in ms...
Fixes #18
| Christian Hesse | 1 | -3/+3 |
2017-03-02 | do not disable artwork stuff for remote host•••Looks like people run mpd on remote host and have a copy (or net mount)
with media and/or image files on local system. So do not disable artwork
stuff for remote host.
Fixes #16
| Christian Hesse | 1 | -4/+0 |
2017-03-02 | add compile time features to version string | Christian Hesse | 1 | -1/+8 |
2017-01-06 | notify systemd on stop | Christian Hesse | 1 | -0/+9 |
2017-01-05 | make systemd optional | Christian Hesse | 1 | -0/+8 |
2017-01-05 | give some extra status information | Christian Hesse | 1 | -3/+7 |
2017-01-05 | use systemd service manager notification | Christian Hesse | 1 | -0/+3 |
2017-01-04 | update copyright for 2017 | Christian Hesse | 1 | -1/+1 |
2016-10-10 | string updates | Christian Hesse | 1 | -10/+10 |
2016-10-10 | add more error handling•••Signed-off-by: Christian Hesse <mail@eworm.de>
| Christian Hesse | 1 | -6/+30 |
2016-10-07 | allow option 'oneline' in config file | Christian Hesse | 1 | -1/+2 |
2016-10-07 | sort and complete help output | Christian Hesse | 1 | -1/+1 |
2016-10-07 | fix compilation without libav | Christian Hesse | 1 | -5/+7 |
2016-10-07 | update error path | Christian Hesse | 1 | -14/+20 |
2016-10-07 | make libmagic initialization global | Christian Hesse | 1 | -17/+20 |
2016-10-07 | update verbose and error output | Christian Hesse | 1 | -9/+9 |
2016-10-07 | update verbose output | Christian Hesse | 1 | -4/+12 |
2016-10-07 | use libmagic to decide whether to search for media artwork | Christian Hesse | 1 | -11/+33 |
2016-10-05 | support reading options from config file•••This tries to read ~/.local/mpd-notification.conf, which is expected to
look like this:
host = localhost
port = 6600
music-dir = /srv/media/music/
scale = 200
timeout = 20
Unused options can be commented or removed completely.
| Christian Hesse | 1 | -0/+15 |
2016-10-05 | add scale option to help output | Christian Hesse | 1 | -1/+1 |
2016-10-05 | add notification file workaround | Christian Hesse | 1 | -3/+14 |
2016-10-05 | keep aspect ratio when scaling | Christian Hesse | 1 | -1/+9 |
2016-10-05 | allow to scale artwork images | Christian Hesse | 1 | -2/+17 |
2016-10-05 | merge the artwork functions | Christian Hesse | 1 | -52/+32 |
2016-10-05 | do not handle image path, but always give pixbuf | Christian Hesse | 1 | -20/+14 |
2016-10-04 | always set image•••Looks like libnotify does remember the image even if the notification is
updated. So always set the image, it is cleared when called with NULL.
| Christian Hesse | 1 | -2/+2 |
2016-04-01 | Allow one line notifications•••This is related to #9.
| Christian Hesse | 1 | -8/+20 |
2016-01-09 | support local unix sockets•••Add support for using local AF_UNIX sockets as host
| Ronnie P. Thomas | 1 | -1/+1 |
2016-01-04 | update copyright for 2016 | Christian Hesse | 1 | -1/+1 |
2015-11-16 | read environment variables: MPD_HOST and MPD_PORT•••Fixes #6
| Christian Hesse | 1 | -1/+9 |
2015-11-16 | free resources when nothing to be displayed•••We need to free our resources, otherwise subsequent calls will fail.
Should fix #7
| Christian Hesse | 1 | -1/+2 |
2015-07-14 | clean AVFormatContext | Christian Hesse | 1 | -4/+4 |
2015-07-09 | make sure to use artwork when available | Christian Hesse | 1 | -1/+7 |
2015-07-09 | silent libav error messages only when not verbose | Christian Hesse | 1 | -1/+2 |
2015-07-09 | move verbose output into conditional output | Christian Hesse | 1 | -3/+3 |
2015-07-09 | be verbose about artwork | Christian Hesse | 1 | -0/+3 |
2015-07-09 | always allocate memory for notification string | Christian Hesse | 1 | -3/+3 |
2015-07-09 | rename define after icon name | Christian Hesse | 1 | -3/+3 |
2015-07-09 | do not write artwork to file but handle pixbuf to libnotify | Christian Hesse | 1 | -36/+35 |
2015-07-09 | silent libav error messages | Christian Hesse | 1 | -0/+3 |
2015-07-09 | rework the notification string handling | Christian Hesse | 1 | -16/+37 |
2015-07-03 | make libav (and retrieving cover from media file) optional | Christian Hesse | 1 | -1/+12 |
2015-07-03 | add --version option | Christian Hesse | 1 | -5/+16 |
2015-06-19 | Implement a notification-timeout option (-t)•••It takes a floating point input in seconds and is converted to ms before passed to libnotify.
Modified-by: Christian Hesse <mail@eworm.de>
| Samuel Čavoj | 1 | -5/+11 |
2015-04-21 | use libav/ffmpeg to get artwork from mp3 files | Christian Hesse | 1 | -2/+67 |
2015-03-20 | check for correct return code | Christian Hesse | 1 | -4/+4 |
2015-01-04 | update copyright for 2015 | Christian Hesse | 1 | -1/+1 |
2014-10-01 | print signal name | Christian Hesse | 1 | -3/+3 |
2014-09-30 | introduce mpd-notification.h | Christian Hesse | 1 | -18/+1 |
2014-09-30 | handle SIGINT and SIGTERM | Christian Hesse | 1 | -9/+36 |
2014-08-28 | handle icon in root directory | Christian Hesse | 1 | -1/+6 |
2014-08-28 | update help output | Christian Hesse | 1 | -1/+1 |
2014-08-28 | do not use DEBUG macro, but use verbose command line argument | Christian Hesse | 1 | -22/+33 |
2014-08-27 | add support for album artwork, closes #1 | Christian Hesse | 1 | -4/+72 |
2014-08-09 | allow to use long command line arguments | Christian Hesse | 1 | -1/+11 |
2014-07-02 | free strings after use | Christian Hesse | 1 | -3/+7 |
2014-05-06 | use getopt for command line parsing | Christian Hesse | 1 | -27/+13 |
2014-01-02 | write version to header file | Christian Hesse | 1 | -0/+1 |
2014-01-02 | update copyright year | Christian Hesse | 1 | -1/+1 |
2013-10-30 | complain if hostname is empty | Christian Hesse | 1 | -0/+4 |
2013-10-22 | parse command line options for host and port | Christian Hesse | 1 | -0/+27 |
2013-10-22 | add mpd host configuration options | Christian Hesse | 1 | -1/+3 |
2013-09-12 | print PID in debug mode | Christian Hesse | 1 | -0/+4 |
2013-08-23 | display the notification again on SIGUSR1 | Christian Hesse | 1 | -10/+32 |
2013-08-08 | indent includes0.4.2 | Christian Hesse | 1 | -7/+7 |
2013-07-25 | introduce config.h | Christian Hesse | 1 | -8/+2 |
2013-07-11 | use sizeof() | Christian Hesse | 1 | -1/+1 |
2013-07-07 | fix compilation with libnotify < 0.7.0 | Christian Hesse | 1 | -1/+6 |
2013-07-04 | remove trailing whitespaces0.4.1 | Christian Hesse | 1 | -1/+1 |
2013-07-03 | add note about debug output | Christian Hesse | 1 | -1/+5 |
2013-04-29 | whitespaces/tabs | Christian Hesse | 1 | -6/+6 |
2013-04-27 | set properties only once | Christian Hesse | 1 | -2/+2 |
2013-04-17 | remove useless cast | Christian Hesse | 1 | -1/+1 |