Илья Индиго 661116cd29 Accepting request 838623 from home:13ilya
- Refresh spec-file via spec-cleaner and manual optimizations
  * Removed unnecessary constructions and comments.
  * Add sig-file.
  * Add mpd.firewalld file with 6600 and 8000 tcp ports for firewalld.
  * Add mpd.tmpfiles.d for /run/mpd directory.
  * Enable build documentation and add separate doc package.
  * Remove patch mpd-docs.patch (needless).
- Change patch mpd-mpdconf_suse.patch and rename to mpd-conf.patch.
  * Change and set log_file option to "/var/log/mpd.log".
  * Change and set pid_file and bind_to_address to /run/mpd/* directory.
  * Add additional description for log_level option and set to "warning".
  * Set auto_update and zeroconf_enabled options to "no".
  * Remove prefix "My " in name options alsa and httpd output devices.
  * Change option device in alsa_output to "plug:plugequal" for alsaequal.
  * Add optional option mixer_control in alsa_output with value "Master".
  * Change quality, bitrate and format options in output devices.
- Change mpd-user.conf file: add alsa audio_output and drop id3v1_encoding.
- Update to 0.22
  * Add BuildRequires for cmake, python3-Sphinx and pkgconfig(liburing).
  * Increased the minimum version for meson to 0.49.0.
  * https://raw.githubusercontent.com/MusicPlayerDaemon/MPD/v0.22/NEWS
  * protocol
    * "findadd"/"searchadd"/"searchaddpl" support the "sort" and
    * "window" parameters
    * add command "readpicture" to download embedded pictures
    * command "moveoutput" moves an output between partitions
    * command "delpartition" deletes a partition
    * show partition name in "status" response
  * tags: new tags "Grouping" (for ID3 "TIT1"), "Work" and "Conductor"
  * input
    * curl: support "charset" parameter in URI fragment
    * ffmpeg: allow partial reads
    * io_uring: new plugin for local files on Linux (using liburing)
    * smbclient: close unused SMB/CIFS connections
  * database: upnp: drop support for libupnp versions older than 1.8
  * playlist
    * cue: integrate contents in database
    * flac: support reading CUE sheets from remote FLAC files
  * decoder
    * ffmpeg: support RTSP
    * mad: remove option "gapless", always do gapless
    * sidplay: add option "default_genre"
    * sidplay: map SID name field to "Album" tag
    * sidplay: add support for new song length format with libsidplayfp 2.0
    * vorbis, opus: improve seeking accuracy
  * filter
    * ffmpeg: new plugin based on FFmpeg's libavfilter library
    * hdcd: new plugin based on FFmpeg's "af_hdcd" for HDCD playback
    * volume: convert S16 to S24 to preserve quality and reduce dithering noise
    * dsd: add integer-only DSD to PCM converter
  * output
    * jack: add option "auto_destination_ports"
    * jack: report error details
    * pulse: add option "media_role"
    * solaris: support S8 and S32
  * lower the real-time priority from 50 to 40
  * switch to C++17 GCC 8 or clang 5 (or newer) recommended

OBS-URL: https://build.opensuse.org/request/show/838623
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpd?expand=0&rev=62
2020-09-30 01:46:33 +00:00

mpd config file /etc/mpd.cond should be customised, at least a path to
music directories (music_directory).

To use alsa sound output instead of pulse, activate the corresponding
part of mpd.conf and put comment on pulse part.

For security reasons, MPD runs as restricted user mpd, group
audio. Please consider that music_directory and all directories in the
path to it should be readable and executable either for user mpd or
group audio. IF you ask youself what should "executable" means to
a directory, it is a right to change into it. So a directory could
either belong to mpd user or belong to the audio group or be readable
for all (others). Directories and files beneath it should be accessable
the same way. Some examples for right permissions:

ls -l -d /mnt/mp3

readable by everyone
drwxr-xr-x  226 user    users       16384 Mar 24 23:36 /mnt/mp3

readable by audio group
drwxr-x---  226 user    audio       16384 Mar 24 23:36 /mnt/mp3

readable by mpd user
drwx------  226 mpd    audio       16384 Mar 24 23:36 /mnt/mp3

If you would like to set up some independent directories, declare one
of it as music_directory and link others in it. Permissions for other
directories are to be set accordingly. 

MPD will be bounded to the local address (localhost): If you would
like to control it over network , then change bind_to_address to the
network address. You can set password and the list of activities to
restrict control of MPD over network.

To start MPD at boot time, call as root:

systemctl enable mpd

If filenames or directory names don't display correctly, set the
character set (encoding) for the filesystem in mpd.conf.
Description
No description provided
Readme 348 KiB
Languages
Standard ML 95.3%
Makefile 4.7%