aboutsummaryrefslogtreecommitdiffstats
path: root/mpd-notification.c
AgeCommit message (Expand)AuthorFilesLines
2017-03-03properly handly timeout values•••The timeout value in the config file was expected to be in ms... Fixes #18 Gravatar Christian Hesse1-3/+3
2017-03-02do 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 Gravatar Christian Hesse1-4/+0
2017-03-02add compile time features to version stringGravatar Christian Hesse1-1/+8
2017-01-06notify systemd on stopGravatar Christian Hesse1-0/+9
2017-01-05make systemd optionalGravatar Christian Hesse1-0/+8
2017-01-05give some extra status informationGravatar Christian Hesse1-3/+7
2017-01-05use systemd service manager notificationGravatar Christian Hesse1-0/+3
2017-01-04update copyright for 2017Gravatar Christian Hesse1-1/+1
2016-10-10string updatesGravatar Christian Hesse1-10/+10
2016-10-10add more error handling•••Signed-off-by: Christian Hesse <mail@eworm.de> Gravatar Christian Hesse1-6/+30
2016-10-07allow option 'oneline' in config fileGravatar Christian Hesse1-1/+2
2016-10-07sort and complete help outputGravatar Christian Hesse1-1/+1
2016-10-07fix compilation without libavGravatar Christian Hesse1-5/+7
2016-10-07update error pathGravatar Christian Hesse1-14/+20
2016-10-07make libmagic initialization globalGravatar Christian Hesse1-17/+20
2016-10-07update verbose and error outputGravatar Christian Hesse1-9/+9
2016-10-07update verbose outputGravatar Christian Hesse1-4/+12
2016-10-07use libmagic to decide whether to search for media artworkGravatar Christian Hesse1-11/+33
2016-10-05support 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. Gravatar Christian Hesse1-0/+15
2016-10-05add scale option to help outputGravatar Christian Hesse1-1/+1
2016-10-05add notification file workaroundGravatar Christian Hesse1-3/+14
2016-10-05keep aspect ratio when scalingGravatar Christian Hesse1-1/+9
2016-10-05allow to scale artwork imagesGravatar Christian Hesse1-2/+17
2016-10-05merge the artwork functionsGravatar Christian Hesse1-52/+32
2016-10-05do not handle image path, but always give pixbufGravatar Christian Hesse1-20/+14
2016-10-04always 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. Gravatar Christian Hesse1-2/+2
2016-04-01Allow one line notifications•••This is related to #9. Gravatar Christian Hesse1-8/+20
2016-01-09support local unix sockets•••Add support for using local AF_UNIX sockets as host Gravatar Ronnie P. Thomas1-1/+1
2016-01-04update copyright for 2016Gravatar Christian Hesse1-1/+1
2015-11-16read environment variables: MPD_HOST and MPD_PORT•••Fixes #6 Gravatar Christian Hesse1-1/+9
2015-11-16free resources when nothing to be displayed•••We need to free our resources, otherwise subsequent calls will fail. Should fix #7 Gravatar Christian Hesse1-1/+2
2015-07-14clean AVFormatContextGravatar Christian Hesse1-4/+4
2015-07-09make sure to use artwork when availableGravatar Christian Hesse1-1/+7
2015-07-09silent libav error messages only when not verboseGravatar Christian Hesse1-1/+2
2015-07-09move verbose output into conditional outputGravatar Christian Hesse1-3/+3
2015-07-09be verbose about artworkGravatar Christian Hesse1-0/+3
2015-07-09always allocate memory for notification stringGravatar Christian Hesse1-3/+3
2015-07-09rename define after icon nameGravatar Christian Hesse1-3/+3
2015-07-09do not write artwork to file but handle pixbuf to libnotifyGravatar Christian Hesse1-36/+35
2015-07-09silent libav error messagesGravatar Christian Hesse1-0/+3
2015-07-09rework the notification string handlingGravatar Christian Hesse1-16/+37
2015-07-03make libav (and retrieving cover from media file) optionalGravatar Christian Hesse1-1/+12
2015-07-03add --version optionGravatar Christian Hesse1-5/+16
2015-06-19Implement 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> Gravatar Samuel Čavoj1-5/+11
2015-04-21use libav/ffmpeg to get artwork from mp3 filesGravatar Christian Hesse1-2/+67
2015-03-20check for correct return codeGravatar Christian Hesse1-4/+4
2015-01-04update copyright for 2015Gravatar Christian Hesse1-1/+1
2014-10-01print signal nameGravatar Christian Hesse1-3/+3
2014-09-30introduce mpd-notification.hGravatar Christian Hesse1-18/+1
2014-09-30handle SIGINT and SIGTERMGravatar Christian Hesse1-9/+36
2014-08-28handle icon in root directoryGravatar Christian Hesse1-1/+6
2014-08-28update help outputGravatar Christian Hesse1-1/+1
2014-08-28do not use DEBUG macro, but use verbose command line argumentGravatar Christian Hesse1-22/+33
2014-08-27add support for album artwork, closes #1Gravatar Christian Hesse1-4/+72
2014-08-09allow to use long command line argumentsGravatar Christian Hesse1-1/+11
2014-07-02free strings after useGravatar Christian Hesse1-3/+7
2014-05-06use getopt for command line parsingGravatar Christian Hesse1-27/+13
2014-01-02write version to header fileGravatar Christian Hesse1-0/+1
2014-01-02update copyright yearGravatar Christian Hesse1-1/+1
2013-10-30complain if hostname is emptyGravatar Christian Hesse1-0/+4
2013-10-22parse command line options for host and portGravatar Christian Hesse1-0/+27
2013-10-22add mpd host configuration optionsGravatar Christian Hesse1-1/+3
2013-09-12print PID in debug modeGravatar Christian Hesse1-0/+4
2013-08-23display the notification again on SIGUSR1Gravatar Christian Hesse1-10/+32
2013-08-08indent includes0.4.2Gravatar Christian Hesse1-7/+7
2013-07-25introduce config.hGravatar Christian Hesse1-8/+2
2013-07-11use sizeof()Gravatar Christian Hesse1-1/+1
2013-07-07fix compilation with libnotify < 0.7.0Gravatar Christian Hesse1-1/+6
2013-07-04remove trailing whitespaces0.4.1Gravatar Christian Hesse1-1/+1
2013-07-03add note about debug outputGravatar Christian Hesse1-1/+5
2013-04-29whitespaces/tabsGravatar Christian Hesse1-6/+6
2013-04-27set properties only onceGravatar Christian Hesse1-2/+2
2013-04-17remove useless castGravatar Christian Hesse1-1/+1
2013-04-15initial commit0.4.0Gravatar Christian Hesse1-0/+127