Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
927d334a
Commit
927d334a
authored
Mar 12, 2024
by
Ivan Mazhukin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix conf file
parent
2fea4b17
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
9 deletions
+11
-9
mpd.conf
.gear/mpd.conf
+8
-7
mpd.spec
.gear/mpd.spec
+2
-1
mpd.sys.conf.in
.gear/mpd.sys.conf.in
+1
-1
No files found.
.gear/mpd.conf
View file @
927d334a
######################## REQUIRED PATHS ###############################
music_directory
"
~/M
usic"
music_directory
"
@localstatedir@/mpd/m
usic"
playlist_directory
"@localstatedir@/mpd/playlists"
log_file
"@logdir@/mpd/mpd.log"
db_file
"@localstatedir@/mpd/mpd.db"
...
...
@@ -11,8 +11,9 @@ state_file "@localstatedir@/mpd/mpdstate"
#######################################################################
######################## DAEMON OPTIONS ###############################
#user "nobody"
bind_to_address
"127.0.0.1"
# user "_mpd"
# group "_mpd"
bind_to_address
"localhost"
#bind_to_address "any"
port
"6600"
# "default", "secure", or "verbose".
...
...
@@ -20,13 +21,13 @@ log_level "default"
#zeroconf_name "Music Player"
audio_output
{
type
"
alsa
"
name
"
alsa
"
type
"
pulse
"
name
"
My Pulse Output
"
}
#samplerate_converter "Fastest Sinc Interpolator"
mixer_type
"alsa"
#
mixer_type "alsa"
#mixer_device "default"
#mixer_control "PCM"
...
...
@@ -57,7 +58,7 @@ mixer_type "alsa"
###################### CHARACTER ENCODINGS ############################
#filesystem_charset "ISO-8859-1"
id3v1_encoding
"CP1251
"
filesystem_charset
"UTF-8
"
######################### OTHER OPTIONS ###############################
#gapless_mp3_playback "yes"
...
...
.gear/mpd.spec
View file @
927d334a
...
...
@@ -234,6 +234,7 @@ chmod 755 %buildroot%_initdir/%name
sed 's/@MPD_USER@/%mpd_user/g' %SOURCE5 > %buildroot%_tmpfilesdir/%name.conf
chmod 644 %buildroot%_tmpfilesdir/%name.conf
install -D -m 0644 %SOURCE4 %buildroot%_sysconfdir/logrotate.d/%name
mkdir -m 775 %buildroot%_localstatedir/%name/music
%pre
%_sbindir/groupadd -r -f %mpd_group &>/dev/null ||:
...
...
@@ -269,7 +270,7 @@ install -D -m 0644 %SOURCE4 %buildroot%_sysconfdir/logrotate.d/%name
%attr(775,root,%mpd_group) %dir %_localstatedir/%name/playlists
%attr(775,root,%mpd_group) %dir %_logdir/%name
%_iconsdir/hicolor/scalable/apps/%name.svg
%attr(775,root,%mpd_group) %dir %_localstatedir/%name/music
%if_enabled doc
%files doc
%_defaultdocdir/%name
...
...
.gear/mpd.sys.conf.in
View file @
927d334a
...
...
@@ -77,7 +77,7 @@ mixer_type "alsa"
###################### CHARACTER ENCODINGS ############################
#filesystem_charset "ISO-8859-1"
id3v1_encoding
"CP1251"
filesystem_charset
"CP1251"
######################### OTHER OPTIONS ###############################
#gapless_mp3_playback "yes"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment