Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Idea: Enable/disable a NAS source
#12
The problem I see with this is that each time you select / deselect, MPD will have to rescan everything selected.

Oh, this might help:

https://www.musicpd.org/doc/html/user.ht...-directory

"Mounting is only possible with the simple database plugin and a cache_directory, e.g.:

database {
plugin "simple"
path "~/.mpd/db"
cache_directory "~/.mpd/cache"
}

This requires migrating from the old db_file setting to a database section. The cache directory must exist, and MPD will put one file per mount there, which will be reused when the same storage is used again later."

At the moment Moode uses the old db_file setting in /etc/mpd.conf.

I don't know enough about either mpd or the Moode internals to know whether this is barking up the wrong tree or not.

Phil

Reply


Messages In This Thread
Enable/disable a NAS source - by JST1963 - 08-20-2018, 08:14 PM
RE: Enable/disable a NAS source - by Tim Curtis - 08-20-2018, 09:24 PM
RE: Enable/disable a NAS source - by JST1963 - 07-15-2019, 12:29 PM
RE: Enable/disable a NAS source - by Tim Curtis - 07-15-2019, 12:42 PM
RE: Enable/disable a NAS source - by aknaggbaugh - 08-27-2019, 08:35 AM
RE: Enable/disable a NAS source - by Cyberguy - 08-27-2019, 03:18 PM
RE: Enable/disable a NAS source - by rabbitod - 09-16-2019, 02:26 PM
RE: Enable/disable a NAS source - by Tim Curtis - 09-16-2019, 02:50 PM
RE: Enable/disable a NAS source - by dbobinoz - 07-18-2020, 09:36 AM
RE: Enable/disable a NAS source - by Onionhead - 07-18-2020, 01:21 PM
RE: Enable/disable a NAS source - by CallMeMike - 07-19-2020, 06:58 AM
RE: Enable/disable a NAS source - by philrandal - 07-19-2020, 05:55 PM
RE: Enable/disable a NAS source - by Tim Curtis - 07-19-2020, 06:06 PM

Forum Jump: