You are not logged in.
Pages: 1
Because the complaints about mpd not working never stop and the reasons being always the same, i decided to make a really, REALLY simple setup script.
All this will do is the following:
It makes sure you run it as the user, that owns the music files.
It asks for the path to your music files.
It creates ~/.mpd and ~/.mpd/playlists
It creates ~/.mpdconf with all needed config options (apart from outputs, since mpd should autodetect those)
It copy/pastes all possible mpd options to the created config file, so the user can easily tweak it, if he likes (ugly done by including a 2nd file to be used)
It creates the entry to /etc/hosts.allow
It deletes itself.
Hopefully this might be useful for those new to mpd.
Anyway, here is the script:
http://karif.server-speed.net/~carnager/mpdsetup.tar
Download, extract and run with ./mpdsetup.sh
**edit**
updated it to disable ffmpeg per default, since it keeps crashing mpd, when playlist files are present in music directory.
Last edited by Rasi (2011-08-01 14:16:31)
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
..and there was much rejoicing on the boards
Nice work! All that remains is an entry in the wiki...
Offline
Great script. This would have been useful for me when I first tried to use mpd. It's bound to be useful for others.
Offline
Nice, I'm gonna destroy my non working mpd and use this to set it up.
Edit: Nuked my old non working mpd. Ran the script, awesome. Only grip I had with it is that it deletes itself and the conf file. Other than that, great job.
Last edited by whitethorn (2011-08-01 14:43:55)
Offline
Brilliant! Thanks a lot
never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::
Offline
..and there was much rejoicing on the boards
Nice work! All that remains is an entry in the wiki...
https://wiki.archlinux.org/index.php/Mu … figuration
Last edited by Rasi (2011-11-15 17:58:02)
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
oh my god. you are a legend for this script. it was really difficult for me to set up mpd even following the instructions n00b
Offline
Offline
Excellent script mate , makes it easier and works well.
Certified Android Junkie
Arch 64
Offline
I created another automatic configuration script for mpd, specifically targeted towards using mpd for audiophile bit perfect playback.
The script source is available at github. I made an accompanying article with some explanation at How to turn Music Player Daemon (mpd) into an audiophile music player.
Offline
Thanks Rasi for the great script.
Offline
The link to the tar file is broken, can someone please relink/rehost
Offline
The link to the tar file is broken, can someone please relink/rehost
Arch's wiki page also contains links for two different scripts and they're good, https://wiki.archlinux.org/index.php/Mu … figuration
Offline
Pages: 1