You are not logged in.
Pages: 1
Isnt there an option to simply update the database as opposed to creating it all over again, if I add a few songs or a directory in my Music folder?
This is what mpd --help shows me
inxs ~ > mpd --help
usage:
mpd [options] <conf file>
mpd [options] (searches for ~/.mpdconf then /etc/mpd.conf)
options:
--help this usage statement
--kill kill the currently running mpd session
--create-db force (re)creation of database and exit
--no-create-db don't create database, even if it doesn't exist
--no-daemon don't detach from console
--stdout print messages to stdout and stderr
--verbose verbose logging
--version prints version information
inxs ~ >
I even tried using the create-db assuming that it will only update if a db already exists...but I found that it creates the whole thing again. What good does --no-create-db do?
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
If you have mpc installed, then you can do "mpc update".
Offline
From here http://www.archlinux.org/news/267/:
updating the db is now done only from the client-side. the mpd --update-db does not exist any more.
Offline
If you have mpc installed, then you can do "mpc update".
Thanks I knew about the update option in the client. Sonata and Gmpc also have that option.
From here http://www.archlinux.org/news/267/:
updating the db is now done only from the client-side. the mpd --update-db does not exist any more.
But I didnt know that they removed update support from mpd itself.
Thanks
Last edited by Inxsible (2008-07-29 01:12:20)
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
the mpd "update" command can receive a relative path as argument, allowing you to say which subdirectory of the db you want to update. It's useful when you add only a few songs. Example:
$ cp -r artist/album /path/to/musicdb/artist
$ mpc update artist/album
The path you give to "mpc update" is relative to the root of the music db you defined in mpd.conf:
$ mpc update /path/to/musicdb/path/to/update-dir # wrong
$ mpc update path/to/update-dir # correct
Offline
Offline
Pages: 1