661116cd29
- 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
59 lines
1.4 KiB
Plaintext
59 lines
1.4 KiB
Plaintext
music_directory "~/data/music"
|
|
playlist_directory "~/.mpd/playlists"
|
|
db_file "~/.mpd/database"
|
|
log_file "~/.mpd/log"
|
|
pid_file "~/.mpd/pid"
|
|
state_file "~/.mpd/state"
|
|
sticker_file "~/.mpd/sticker.sql"
|
|
bind_to_address "127.0.0.1"
|
|
port "6600"
|
|
#bind_to_address "~/.mpd/socket"
|
|
#gapless_mp3_playback "yes"
|
|
save_absolute_paths_in_playlists "no"
|
|
metadata_to_use "artist,album,title,track,name,date"
|
|
auto_update "yes"
|
|
#auto_update_depth "3"
|
|
follow_outside_symlinks "yes"
|
|
follow_inside_symlinks "yes"
|
|
zeroconf_enabled "yes"
|
|
zeroconf_name "Music Player"
|
|
#password "password@read,add,control,admin"
|
|
#default_permissions "read,add,control,admin"
|
|
|
|
input {
|
|
plugin "curl"
|
|
}
|
|
|
|
audio_output {
|
|
type "pulse"
|
|
name "PulseAudio"
|
|
}
|
|
|
|
#audio_output {
|
|
# type "alsa"
|
|
# name "ALSA"
|
|
## device "plug:plugequal" # optional
|
|
## mixer_control "Master" # optional
|
|
#}
|
|
|
|
#audio_output {
|
|
# type "jack"
|
|
# name "mpd"
|
|
#}
|
|
|
|
audio_output_format "48000:16:2"
|
|
samplerate_converter "Fastest Sinc Interpolator"
|
|
|
|
#replaygain "album"
|
|
#replaygain_preamp "0"
|
|
#volume_normalization "no"
|
|
#audio_buffer_size "2048"
|
|
#buffer_before_play "10%"
|
|
#connection_timeout "60"
|
|
#max_connections "10"
|
|
#max_playlist_length "16384"
|
|
#max_command_list_size "2048"
|
|
#max_output_buffer_size "8192"
|
|
|
|
filesystem_charset "UTF-8"
|