aboutsummaryrefslogtreecommitdiffstats
path: root/mpd-notification.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-03-16fix flickering notification when unpausingfwsmit1-1/+1
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>
2021-01-01update copyright for 2021Christian Hesse1-1/+1
2020-11-25try $XDG_CONFIG_HOME/mpd-notification.conf firstmaxice81-2/+6
Signed-off-by: Christian Hesse <mail@eworm.de>
2020-11-25clearly state the licenseChristian Hesse1-2/+13
2020-01-28update copyright for 2020Christian Hesse1-1/+1
2019-10-10this is condition, not loopChristian Hesse1-1/+1
2019-10-09drop retry code, just fail and let the service restartChristian Hesse1-20/+3
2019-10-08do not retry on exitChristian Hesse1-1/+1
2019-01-01update copyright for 2019Christian Hesse1-1/+1
2018-05-30show track information on pauseChristian Hesse1-11/+6
2018-05-30show a notification without image data firstChristian Hesse1-1/+11
2018-05-28use correct type for stateChristian Hesse1-1/+2
2018-05-28set notification timeout onceChristian Hesse1-3/+2
2018-05-16update for ffmpeg 4.xChristian Hesse1-0/+2
The function av_register_all() is deprecated since commit 0694d8702421e7aff1340038559c438b61bb30dd.
2018-01-02update copyright for 2018Christian Hesse1-1/+1
2017-10-30try to scale with valid pixbuf onlyChristian Hesse1-1/+1
2017-03-03properly handly timeout valuesChristian Hesse1-3/+3
The timeout value in the config file was expected to be in ms... Fixes #18
2017-03-02do not disable artwork stuff for remote hostChristian Hesse1-4/+0
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
2017-03-02add compile time features to version stringChristian Hesse1-1/+8
2017-01-06notify systemd on stopChristian Hesse1-0/+9
2017-01-05make systemd optionalChristian Hesse1-0/+8
2017-01-05give some extra status informationChristian Hesse1-3/+7
2017-01-05use systemd service manager notificationChristian Hesse1-0/+3
2017-01-04update copyright for 2017Christian Hesse1-1/+1
2016-10-10string updatesChristian Hesse1-10/+10
2016-10-10add more error handlingChristian Hesse1-6/+30
Signed-off-by: Christian Hesse <mail@eworm.de>
2016-10-07allow option 'oneline' in config fileChristian Hesse1-1/+2
2016-10-07sort and complete help outputChristian Hesse1-1/+1
2016-10-07fix compilation without libavChristian Hesse1-5/+7
2016-10-07update error pathChristian Hesse1-14/+20
2016-10-07make libmagic initialization globalChristian Hesse1-17/+20
2016-10-07update verbose and error outputChristian Hesse1-9/+9
2016-10-07update verbose outputChristian Hesse1-4/+12
2016-10-07use libmagic to decide whether to search for media artworkChristian Hesse1-11/+33
2016-10-05support reading options from config fileChristian Hesse1-0/+15
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.
2016-10-05add scale option to help outputChristian Hesse1-1/+1
2016-10-05add notification file workaroundChristian Hesse1-3/+14
2016-10-05keep aspect ratio when scalingChristian Hesse1-1/+9
2016-10-05allow to scale artwork imagesChristian Hesse1-2/+17
2016-10-05merge the artwork functionsChristian Hesse1-52/+32
2016-10-05do not handle image path, but always give pixbufChristian Hesse1-20/+14
2016-10-04always set imageChristian Hesse1-2/+2
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.
2016-04-01Allow one line notificationsChristian Hesse1-8/+20
This is related to #9.
2016-01-09support local unix socketsRonnie P. Thomas1-1/+1
Add support for using local AF_UNIX sockets as host
2016-01-04update copyright for 2016Christian Hesse1-1/+1
2015-11-16read environment variables: MPD_HOST and MPD_PORTChristian Hesse1-1/+9
Fixes #6
2015-11-16free resources when nothing to be displayedChristian Hesse1-1/+2
We need to free our resources, otherwise subsequent calls will fail. Should fix #7
2015-07-14clean AVFormatContextChristian Hesse1-4/+4
2015-07-09make sure to use artwork when availableChristian Hesse1-1/+7
2015-07-09silent libav error messages only when not verboseChristian Hesse1-1/+2