1. 14 Jan, 2009 5 commits
    • Jérôme Quelin's avatar
      allow ~/.mpd/mpd.conf as alternate config file · ae5517b0
      Jérôme Quelin authored
      mpd uses some additional files to work, such as pid_file, state_file,
      db_file, etc. when running mpd as non-root user, it is often that those
      files end in ~/.mpd
      
      in that case, we end up with 2 entries in a user's home, .mpdconf and
      .mpd - which clutters homedirs.
      
      this patch allows ~/.mpd/mpd.conf as an alternative to ~/.mpdconf,
      allowing for a cleaner homedir
      ae5517b0
    • Max Kellermann's avatar
      song_save: don't fail on empty tag values · 642b8615
      Max Kellermann authored
      If a tag value is an empty string, the space after the colon was
      removed by g_strchomp().  Fix this by removing the space check and
      using g_strchug() on the return value.
      642b8615
    • Max Kellermann's avatar
      song_save: return value pointer from matchesAnMpdTagItemKey() · 3c6a85d8
      Max Kellermann authored
      The matchesAnMpdTagItemKey() API becomes more powerful and flexible if
      the return value is the value pointer instead of a boolean.  It also
      removes (invalid and dangerous) assumptions about the string from its
      caller.
      3c6a85d8
    • Max Kellermann's avatar
      7cc9ba45
    • Max Kellermann's avatar
      playlist: safely search the playlist for deleted song · 2c540ee8
      Max Kellermann authored
      When a song file is deleted during database update, all pointers to it
      must be removed from the playlist.  The "for" loop in
      deleteASongFromPlaylist() did not deal with multiple copies of the
      deleted song properly, and left instances of the (to-be-invalidated)
      pointer in.  Fix this by reversing the loop.
      2c540ee8
  2. 13 Jan, 2009 8 commits
  3. 12 Jan, 2009 1 commit
  4. 11 Jan, 2009 4 commits
  5. 10 Jan, 2009 13 commits
  6. 08 Jan, 2009 8 commits
  7. 07 Jan, 2009 1 commit