1. 31 Jan, 2011 1 commit
  2. 25 Sep, 2010 1 commit
    • Thomas Jansen's avatar
      eliminate g_error() usage · 28bcb8bd
      Thomas Jansen authored
      Replaced all occurrences of g_error() with MPD_ERROR() located in a new header
      file 'mpd_error.h'. This macro uses g_critical() to print the error message
      and then exits gracefully in contrast to g_error() which would internally call
      abort() to produce a core dump.
      
      The macro name is distinctive and allows to find all places with dubious error
      handling. The long-term goal is to get rid of MPD_ERROR() altogether. To
      facilitate the eventual removal of this macro it was added in a new header
      file rather than to an existing header file.
      
      This fixes #2995 and #3007.
      28bcb8bd
  3. 27 Feb, 2010 1 commit
  4. 01 Jan, 2010 1 commit
  5. 12 Nov, 2009 1 commit
    • Max Kellermann's avatar
      include config.h in all sources · 5b82ffc2
      Max Kellermann authored
      After we've been hit by Large File Support problems several times in
      the past week (which only occur on 32 bit platforms, which I don't
      have), this is yet another attempt to fix the issue.
      5b82ffc2
  6. 11 Nov, 2009 1 commit
  7. 02 Nov, 2009 1 commit
  8. 27 Oct, 2009 1 commit
  9. 16 Oct, 2009 2 commits
  10. 24 Sep, 2009 4 commits
  11. 19 Aug, 2009 1 commit
    • Igor Kuzmin's avatar
      update: don't re-read unchanged container files · 9d42f4e0
      Igor Kuzmin authored
      MPD checks if every flac (possibly other types as well) file contains
      cuesheet on every update, which produces unneeded I/O. My music
      collection is on NFS share, so it's quite noticeable. IMHO, it
      shouldn't re-read unchanged files, so I wrote simple patch to fix it.
      9d42f4e0
  12. 14 Aug, 2009 2 commits
  13. 28 Jul, 2009 1 commit
  14. 14 Jul, 2009 1 commit
  15. 05 Jul, 2009 1 commit
    • Max Kellermann's avatar
      idle: added "update" event · d4914fc9
      Max Kellermann authored
      Some clients have visual feedback for "database update is running".
      Using the "database" idle event is unreliable, because it is only
      emitted when the database was actually modified.  This patch adds the
      "update" event, which is emitted when the update is started, and again
      when the update is finished, disregarding whether it has been
      modified.
      d4914fc9
  16. 14 Mar, 2009 1 commit
  17. 13 Mar, 2009 1 commit
    • Avuton Olrich's avatar
      all: Update copyright header. · 0aee49bd
      Avuton Olrich authored
      This updates the copyright header to all be the same, which is
      pretty much an update of where to mail request for a copy of the GPL
      and the years of the MPD project. This also puts all committers under
      'The Music Player Project' umbrella. These entries should go
      individually in the AUTHORS file, for consistancy.
      0aee49bd
  18. 10 Mar, 2009 1 commit
    • Jochen Keil's avatar
      Cleaned up update_regular_file() method in update.c · 756b0022
      Jochen Keil authored
      After adding the container_scan() method the update_regular_file() method was quite hard to read.
      Now there's update_container_file() which deals with container files.
      That way normal container files (i.e. without embedded tracks) are handled by the old code like a regular file.
      This will fix some of the odd behaviour observed.
      756b0022
  19. 09 Mar, 2009 3 commits
    • Jochen Keil's avatar
      Fix remove-flac-song-on-every-update · 4d3d091c
      Jochen Keil authored
      Until now every flac file got removed unconditionally (and then re-added)
      whenever the update command was issued. Now there is a check if we need
      to that, so the file will only be removed if there is a embedded cuesheet
      in that file
      4d3d091c
    • Jochen Keil's avatar
      Initial support for embedded cue sheets found in flac files · 706112bb
      Jochen Keil authored
      So far only seekpoints are supported, so no proper tagging yet
      except for track number and track length.
      Tagging should be done by parsing the cue sheet which
      is often embedded as vorbis comment in flac files.
      Furthermore the pathname should be configurable like "%A - %t - %T",
      where %A means Artist, %t track number and %T Title or so.
      706112bb
    • Jochen Keil's avatar
      decoder_plugin: added method container_scan() · ab3d89f4
      Jochen Keil authored
      [mk: fixed whitespace errors; use delete_song() instead of
      songvec_delete()]
      ab3d89f4
  20. 28 Feb, 2009 4 commits
  21. 27 Feb, 2009 1 commit
    • Max Kellermann's avatar
      update: print error when opendir() fails · 53271e8a
      Max Kellermann authored
      MPD used to be silent when it could stat() a directory, but could not
      opendir() it to read its contents.  This caused a lot of support
      headache with users who have wrong file permissions.  Add another
      warning message.
      53271e8a
  22. 25 Feb, 2009 1 commit
  23. 12 Feb, 2009 2 commits
    • Max Kellermann's avatar
      update: free deleted subdirectories · df9245c2
      Max Kellermann authored
      Use delete_directory() for removing sub directories instead of
      dirvec_clear().  This ensures that all memory occupied by
      subdirectories of deleted directories is freed.
      df9245c2
    • Max Kellermann's avatar
      update: recursively purge deleted directories · 16bab601
      Max Kellermann authored
      When a directory is deleted, MPD deleted only the directory from the
      database; it did not bother to walk the full tree to free all memory
      and to remove deleted songs from the playlist.  Replace a
      dirvec_delete() with delete_directory().
      16bab601
  24. 04 Feb, 2009 2 commits
  25. 25 Jan, 2009 1 commit
    • Max Kellermann's avatar
      use g_free() instead of free() · a45922cd
      Max Kellermann authored
      On some platforms, g_free() must be used for memory allocated by
      GLib.  This patch intends to correct a lot of occurrences, but is
      probably not complete.
      a45922cd
  26. 19 Jan, 2009 1 commit
    • Max Kellermann's avatar
      update: delete stickers of deleted songs · 2934585d
      Max Kellermann authored
      When a song is deleted from the database, remove its sticker, too.
      
      What's still missing is some sort of garbage collector after a fresh
      database create (--create-db).
      2934585d
  27. 18 Jan, 2009 1 commit
  28. 08 Jan, 2009 1 commit