You are not logged in.

#1 2013-06-09 14:31:04

maggie
Member
Registered: 2011-02-12
Posts: 255

Use multiple databases with MPD

We can make symlinks in our "music_directory" to include directories that from other mount points in a MPD database. How can we have two different databases entirely? One with music and another with audiobooks? I cant find anything searching so I think it is not possible.

Offline

#2 2013-06-09 14:34:46

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Use multiple databases with MPD

The only thing I can think of is to create a per-user instance of MPD.  So modify the service to be mpd@.service, then have it run a mpd@music.service and mpd@audiobooks.service... though you would potentially have to create users for this, and if you are using pulseaudio, you would have to allow those user's stuff to be able to use the audio stack.`

Offline

#3 2013-06-09 15:31:51

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

Re: Use multiple databases with MPD

Two config files?  Just take care to run only one instance of mpd at a time.  You can execute via `mpd /path/to/config2` for the 2nd one and just `mpd` for the default one.  Seems like a useful feature though.  Considering opening a task upstream?

Offline

Board footer

Powered by FluxBB