1. 23 Feb, 2011 1 commit
  2. 09 Feb, 2011 1 commit
  3. 25 Sep, 2010 1 commit
    • Thomas Jansen's avatar
      output/httpd: bind_to_address support (including IPv6) · 9af9fd14
      Thomas Jansen authored
      Added support for a new optional configuration setting for the httpd output
      named "bind_to_address". Setting it to a specific IP address (v4 or v6) will
      cause the httpd output to bind to that address exclusively. Supporting
      multiple addresses in parallel is future work.
      
      This implements the feature requests #2998 and #2646.
      9af9fd14
  4. 13 Apr, 2010 1 commit
  5. 03 Nov, 2009 1 commit
  6. 29 Oct, 2009 1 commit
  7. 26 Oct, 2009 1 commit
  8. 17 Oct, 2009 1 commit
  9. 28 Sep, 2009 1 commit
  10. 20 Sep, 2009 1 commit
  11. 10 Sep, 2009 1 commit
  12. 30 Aug, 2009 1 commit
  13. 24 Aug, 2009 1 commit
  14. 19 Jul, 2009 1 commit
    • Michal Nazarewicz's avatar
      daemon: added "group" configuration option · d718a8b5
      Michal Nazarewicz authored
      The "group" configuration option is similar to "user" as it
      sets user set what group MPD shall run as.  With "user"
      option, MPD changed GID to the GID of the user, however,
      more control could be desired.
      
      Moreover, the patch changes the way of checking whether no
      setuid(2)/setgid(2) is required -- previously user names
      were compered, now UID and GIDs are compered (ie. the one we
      already have (getuid(2)/getgid(2)) with the one we want to
      change to).
      d718a8b5
  15. 06 Jul, 2009 1 commit
    • Max Kellermann's avatar
      output: use the software mixer plugin · 0275690b
      Max Kellermann authored
      Do all the software volume stuff inside each output thread, not in the
      player thread.  This allows one software mixer per output device, and
      also allows the user to configure the mixer type (hardware or
      software) for each audio output.
      
      This moves the global "mixer_type" setting into the "audio_output"
      section, deprecating the "mixer_enabled" flag.
      0275690b
  16. 28 Apr, 2009 1 commit
  17. 25 Apr, 2009 1 commit
  18. 30 Mar, 2009 1 commit
  19. 29 Mar, 2009 4 commits
  20. 17 Mar, 2009 1 commit
  21. 15 Mar, 2009 1 commit
    • Max Kellermann's avatar
      httpd: new output plugin to replace "shout" · e62580db
      Max Kellermann authored
      Let's get rid of the "shout" plugin, and the awfully complicated
      icecast daemon setup!  MPD can do better if it's doing the HTTP server
      stuff on its own.  This new plugin has several advantages:
      
      - easier to set up - only one daemon, no password settings, no mount
        settings
      - MPD controls the encoder and thus already knows the packet
        boundaries - icecast has to parse them
      - MPD doesn't bother to encode data while nobody is listening
      
      This implementation is very experimental (no header parsing, ignores
      request URI, no icy-metadata, ...).  It should be able to suport
      several encoders in parallel in the future (with different bit rates,
      different codec, ...), to make MPD the perfect streaming server.  Once
      MPD gets multi-player support, we can even mount several different
      radio stations on one server.
      e62580db
  22. 28 Feb, 2009 1 commit
  23. 26 Feb, 2009 1 commit
  24. 01 Jan, 2009 1 commit
  25. 31 Dec, 2008 1 commit
  26. 28 Dec, 2008 2 commits
  27. 24 Dec, 2008 1 commit
  28. 21 Dec, 2008 1 commit
    • Avuton Olrich's avatar
      Huge mpdconf update. · 04561b60
      Avuton Olrich authored
      Over time mpdconf has evolved and has been maintained and contributed to by many different folks at different
      times. Try to give it some unity. Attempt to clear up some language and make things crystal clear. Add more
      examples. Use tabs when it makes sense. Make better borders. Remove obsolete options. Try to put more defaults
      when it makes sense.
      04561b60
  29. 20 Dec, 2008 1 commit
  30. 16 Dec, 2008 1 commit
  31. 08 Dec, 2008 1 commit
    • Avuton Olrich's avatar
      update: default to follow all symlinks · a25b8acd
      Avuton Olrich authored
      MPD 0.13 and older followed all symbolic links.  Although this can be
      a security problem (as it has always been), 0.14 should offer the same
      default behaviour as 0.13.
      a25b8acd
  32. 28 Nov, 2008 1 commit
    • Raphaël Rigo's avatar
      update: added options which control symlink behaviour · 5b089f85
      Raphaël Rigo authored
      The configuration options "follow_outside_symlinks" and
      "follow_inside_symlinks" let the user control whether MPD should
      follow symbolic links in the music directory.
      
      [mk: converted variables to "bool"; moved configuration to
      update_global_init()]
      5b089f85
  33. 31 Oct, 2008 2 commits
  34. 12 Oct, 2008 1 commit
  35. 12 Sep, 2008 1 commit
    • Eric Wollesen's avatar
      shout: introduce pluggable encoder API · 4970c42c
      Eric Wollesen authored
      I've perhaps gone a bit overboard, but here's the current rundown:
      
      Both Ogg and MP3 use the "shout" audio output plugin.  The shout audio
      output plugin itself has two new plugins, one for the Ogg encoder,
      and another for the MP3 (LAME) encoder.
      
      Configuration for an Ogg stream doesn't change.  For an MP3 stream,
      configuration is the same as Ogg, with two exceptions.  First, you must
      specify the optional "encoding" parameter, which should be set to "mp3".
      See mpd.conf(5) for more details.  Second, the "quality" parameter is
      reversed for LAME, such that 1 is high quality for LAME, whereas 10 is
      high quality for Ogg.
      
      I've decomposed the code so that all libshout related operations
      are done in audioOutput_shout.c, all Ogg specific functions are in
      audioOutput_shout_ogg.c, and of course then all LAME specific functions
      are handled in audioOutput_shout_mp3.c.
      
      To develop encoder plugins for the shout audio output plugin, I basically
      just mimicked the plugin system used for audio outputs.  This might be
      overkill, but hopefully if anyone ever wants to support some other sort
      of stream, like maybe AAC, FLAC, or WMA (hey it could happen), they will
      hopefully be all set.
      
      The Ogg encoder is slightly less optimal under this configuration.
      It used to send shout data directly out of its ogg_page structures.  Now,
      in the interest of encapsulation, it copies the data from its ogg_page
      structures into a buffer provided by the shout audio output plugin (see
      audioOutput_shout_ogg.c, line 77.)  I suspect the performance impact
      is negligible.
      
      As for metadata, I'm pretty sure they'll both work.  I wrote up a test
      scaffold that would create a fake tag, and tell the plugin to send it
      out to the stream every few seconds.  It seemed to work fine.  Of course,
      if something does break, I'll be glad to fix it.
      
      Lastly, I've renamed lots of things into snake_case, in keeping with
      normalperson's wishes in that regard.
      
      [mk: moved the MP3 patch after this one.  Splitted this patch into
      several parts; the others were already applied before this one.  Fixed
      a bunch GCC warnings and wrong whitespace modifications.  Made it
      compile with mpd-mk by adapting to its prototypes]
      4970c42c