You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/user.rst
+25-8Lines changed: 25 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -249,9 +249,16 @@ information about the :program:`MPD` configuration file.
249
249
Configuring the music directory
250
250
-------------------------------
251
251
252
-
When you play local files, you should organize them within a directory called the "music directory". This is configured in :program:`MPD` with the music_directory setting.
252
+
When you play local files, you should organize them within a directory
253
+
called the "music directory". This is configured in :program:`MPD`
254
+
with the :confval:`music_directory` setting.
253
255
254
-
By default, :program:`MPD` follows symbolic links in the music directory. This behavior can be switched off: :code:`follow_outside_symlinks` controls whether :program:`MPD` follows links pointing to files outside of the music directory, and :code:`follow_inside_symlinks` lets you disable symlinks to files inside the music directory.
256
+
By default, :program:`MPD` follows symbolic links in the music
follows links pointing to files outside of the music directory, and
260
+
:confval:`follow_inside_symlinks` lets you disable symlinks to files
261
+
inside the music directory.
255
262
256
263
Instead of using local files, you can use storage plugins to access
257
264
files on a remote file server. For example, to use music from the
@@ -788,7 +795,7 @@ address::
788
795
bind_to_address "@mpd"
789
796
790
797
If no port is specified, the default port is 6600. This default can
791
-
be changed with the port setting::
798
+
be changed with the :confval:`port` setting::
792
799
793
800
port "6601"
794
801
@@ -984,7 +991,14 @@ One approach for optimization is running :program:`MPD` on the file server, whic
984
991
host "fileserver.local"
985
992
}
986
993
987
-
The :code:`music_directory` setting tells :program:`MPD` to read files from the given NFS server. It does this by connecting to the server from userspace. This does not actually mount the file server into the kernel's virtual file system, and thus requires no kernel cooperation and no special privileges. It does not even require a kernel with NFS support, only the nfs storage plugin (using the libnfs userspace library). The same can be done with SMB/CIFS using the smbclient storage plugin (using libsmbclient).
994
+
The :confval:`music_directory` setting tells :program:`MPD` to read
995
+
files from the given NFS server. It does this by connecting to the
996
+
server from userspace. This does not actually mount the file server
997
+
into the kernel's virtual file system, and thus requires no kernel
998
+
cooperation and no special privileges. It does not even require a
999
+
kernel with NFS support, only the nfs storage plugin (using the libnfs
1000
+
userspace library). The same can be done with SMB/CIFS using the
1001
+
smbclient storage plugin (using libsmbclient).
988
1002
989
1003
The database setting tells :program:`MPD` to pass all database queries on to the :program:`MPD` instance running on the file server (using the proxy plugin).
990
1004
@@ -1056,7 +1070,7 @@ simply type::
1056
1070
This will start :program:`MPD` as a daemon process (which means it
1057
1071
detaches from your terminal and continues to run in background). To
1058
1072
stop it, send ``SIGTERM`` to the process; if you have configured a
1059
-
``pid_file``, you can use the ``--kill`` option::
1073
+
:confval:`pid_file`, you can use the ``--kill`` option::
1060
1074
1061
1075
mpd --kill
1062
1076
@@ -1192,7 +1206,10 @@ Mounting is only possible with the simple database plugin and a :code:`cache_dir
1192
1206
# cache_directory "~/.mpd/cache"
1193
1207
}
1194
1208
1195
-
This requires migrating from the old :code:`db_file` setting to a database section. The cache directory must exist, and :program:`MPD` will put one file per mount there, which will be reused when the same storage is used again later.
1209
+
This requires migrating from the old :confval:`db_file` setting to a
1210
+
database section. The cache directory must exist, and :program:`MPD`
1211
+
will put one file per mount there, which will be reused when the same
1212
+
storage is used again later.
1196
1213
1197
1214
Metadata
1198
1215
--------
@@ -1225,7 +1242,7 @@ Stored Playlists
1225
1242
Stored playlists are some kind of secondary playlists which can be
1226
1243
created, saved, edited and deleted by the client. They are addressed
1227
1244
by their names. Its contents can be loaded into the queue, to be
1228
-
played back. The :code:`playlist_directory` setting specifies where
1245
+
played back. The :confval:`playlist_directory` setting specifies where
1229
1246
those playlists are stored.
1230
1247
1231
1248
Advanced usage
@@ -1395,7 +1412,7 @@ Database
1395
1412
I can't see my music in the MPD database
1396
1413
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1397
1414
1398
-
* Check your :code:`music_directory` setting.
1415
+
* Check your :confval:`music_directory` setting.
1399
1416
* Does the MPD user have read permission on all music files, and read+execute permission on all music directories (and all of their parent directories)?
1400
1417
* Did you update the database? (mpc update)
1401
1418
* Did you enable all relevant decoder plugins at compile time? :command:`mpd --version` will tell you.
0 commit comments