10d7281783
- update to 0.21.26: * database - inotify: obey ".mpdignore" files * output - osx: fix crash bug - sles: support floating point samples * archive - bzip2: fix crash on corrupt bzip2 file - bzip2: flush output at end of input file - iso9660: fix unaligned reads - iso9660: support seeking - zzip: fix crash on corrupt ZIP file * decoder - ffmpeg: remove "rtsp://" from the list of supported protocols - ffmpeg: add "hls+http://" to the list of supported protocols - opus: support the gain value from the Opus header - sndfile: fix lost samples at end of file * fix "single" mode bug after resuming playback * the default log_level is "default", not "info" OBS-URL: https://build.opensuse.org/request/show/836223 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpd?expand=0&rev=60 |
||
---|---|---|
.gitattributes | ||
.gitignore | ||
mpd-0.21.26.tar.xz | ||
mpd-docs.patch | ||
mpd-mpdconf_suse.patch | ||
mpd-sndfile.patch | ||
mpd-user.conf | ||
mpd.changes | ||
mpd.spec | ||
README.mpd |
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.