You are not logged in.

#1 2011-12-14 19:36:34

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,731
Website

mpd - enable library for only part of your collection

Is it possible to enable the index library for a part of one's entire collection?  For example:

I want this in the library: /media/data/music/genre
I do NOT want this in the library but I do want to be able to use an mpd client to access it: /media/data/music/assorted

Thoughts are welcomed.

My /etc/mpd.conf:

$ sed -e '/^\#/d' -e '/^$/d' /etc/mpd.conf 
music_directory		"/media/data/music/genre"
playlist_directory	"/var/lib/mpd/playlists"
db_file			"/var/lib/mpd/mpd.db"
log_file		"/var/log/mpd/mpd.log"
pid_file		"/var/run/mpd/mpd.pid"
state_file		"/var/lib/mpd/mpdstate"
user "facade"
gapless_mp3_playback			"yes"
zeroconf_enabled		"yes"
zeroconf_name			"Music Player"
input {
	plugin "curl"
}
audio_output {
	type		"pulse"
	name		"pulse audio"
}
mixer_type			"software"
audio_buffer_size "35000"
buffer_before_play "5%"

Last edited by graysky (2011-12-14 19:40:35)

Offline

#2 2011-12-14 20:59:39

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,914
Website

Re: mpd - enable library for only part of your collection


He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.

Douglas Adams

Offline

#3 2011-12-14 22:17:06

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,731
Website

Re: mpd - enable library for only part of your collection

@Rasi - Thanks for the reply.  I found that option but it causes mpd to ignore the files both from the library AND from the file browser mode.  Perhaps I am using it incorrectly?

echo "*" > /media/data/music/assorted/.mpdignore

When I update my db, indeed, mpd ignores the files in that directory but when I invoke browser mode, they are also ignored there.

Last edited by graysky (2011-12-14 22:17:19)

Offline

Board footer

Powered by FluxBB